partitions and fdisk

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default Re: partitions and fdisk

    Alex Kendrick <alex_6136@yahoo.co.uk> wrote:
    > I'm trying to create a new partition on my (one) hard disk. At the moment
    > there are 3, boot, swap, and linux and all my data itself. My partition
    > program is fdisk but I can't get it to create a new partition. To anyone
    > familiar with the program, when i use the 'n' command it just replies that
    > there are no spare sectors avaliable. Which is right, they are all used up.
    > I can't find the command on fdisk to free up some sectors and then use these
    > as my new partition, even when in exit mode.
    There isn't one. fdisk is a partition table editor, not a partition
    resizer.

    Use a partition resizer first, or whatever. Backup software. Something.
    Anything.

    Peter
    Peter T. Breuer Guest

  2. Similar Questions and Discussions

    1. New Partitions
      On 14 Aug 2003 04:06:36 GMT, Kissi5559 wrote: You can set the drive as extented and have both dos and linux partitions. When you install, you...
    2. Windoze 2k Partitions
      Aloha all, I have just installed Mandrake 9.1 in "high" security mode. This is important because I didn't have the problem that I am having now...
    3. where are the partitions?
      > Sorry for the "why"...should have been removed. Unfortunately, M$ in one view has a versatility that none of all Linux can match...languages....
    4. Informix & raw partitions
      On Tue, 15 Jul 2003 08:58:05 -0400, "Seweryn" <pietruszewski@att.com> wrote: Glad to have you aboard . . . Yes.
    5. From Two Partitions to One
      On one of my computer I have Windows 98 with one hard drive and two partitions. I want to upgrade from Windows 98 to Windows XP Home Edition. I...
  3. #2

    Default Re: partitions and fdisk


    "Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message
    news:fk3rib.79s.ln@news.it.uc3m.es...
    > Alex Kendrick <alex_6136@yahoo.co.uk> wrote:
    > > I'm trying to create a new partition on my (one) hard disk. At the
    moment
    > > there are 3, boot, swap, and linux and all my data itself. My partition
    > > program is fdisk but I can't get it to create a new partition. To anyone
    > > familiar with the program, when i use the 'n' command it just replies
    that
    > > there are no spare sectors avaliable. Which is right, they are all used
    up.
    > > I can't find the command on fdisk to free up some sectors and then use
    these
    > > as my new partition, even when in exit mode.
    >
    > There isn't one. fdisk is a partition table editor, not a partition
    > resizer.
    >
    > Use a partition resizer first, or whatever. Backup software. Something.
    > Anything.
    >
    > Peter
    so much for fdisk, by the way, i meant to say 'even when in expert mode' not
    'exit mode' if that was causing any confusion


    Alex Kendrick Guest

  4. #3

    Default Re: partitions and fdisk

    Hello

    Alex Kendrick (<alex_6136@yahoo.co.uk>) wrote:
    > I'm trying to create a new partition on my (one) hard disk. At the
    > moment there are 3, boot, swap, and linux and all my data itself. My
    > partition program is fdisk but I can't get it to create a new
    > partition. To anyone familiar with the program, when i use the 'n'
    > command it just replies that there are no spare sectors avaliable.
    > Which is right, they are all used up. I can't find the command on
    > fdisk to free up some sectors and then use these as my new partition,
    > even when in exit mode.
    >
    > I could only create a new partition in my original linux partition, i
    > mean a partition within a partition. I don't even know if this counts
    > as a feasable solution. The new partition i made dosent appear in the
    > /dev directory. And when I try to mount it, bash tells me this device
    > does not exist. In frustration I've deleted this old partition.
    >
    > If heard of a program called cfdisk but I don't have it. Thanks in
    > advance for your replies. P.S any info on hard drive geometry (sectors
    > cylinders etc would be usefull, as well as the precise definition of
    > megabyte, kilobyte etc, (every school kid knows this but i've
    > forgotten!))
    cfdisk, like fdisk, cannot resize partitions.

    You may want to try parted to resize your partitions. And as Peter said,
    make a backup.

    bets regards
    Andreas Janssen

    --
    Andreas Janssen
    [email]andreas.janssen@bigfoot.com[/email]
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Janssen Guest

  5. #4

    Default Re: partitions and fdisk

    Alex Kendrick on Saturday 30 August 2003 13:53 wrote:
    > I'm trying to create a new partition on my (one) hard disk. At the
    > moment there are 3, boot, swap, and linux and all my data itself. My
    > partition program is fdisk but I can't get it to create a new
    > partition. To anyone familiar with the program, when i use the 'n'
    > command it just replies that there are no spare sectors avaliable.
    > Which is right, they are all used up. I can't find the command on
    > fdisk to free up some sectors and then use these as my new
    > partition, even when in exit mode.
    fdisk told you why you can't create another new partition: "no spare
    sectors available"; that is, there is no unpartitioned space
    available, the disk is fully partitioned, etc.

    fdisk can only "free up" sectors by deleting existing partitions,
    which I don't think you want to do. What you need is a utility to
    "shrink" an existing partition without destroying its contents to
    provide space for more partitions. Parted, partition editor, will do
    that, among other things. Some distros include it. For the others,
    you'll have to download it. (Sorry, I can't post a link to where you
    can download it. Start with a Yahoo search.)

    In addition, you'll have to consider the type of partitions that you
    now have. If they are all Primary types, you can only make ONE more
    Primary partition, the maximum permitted -- 4 Primary partitions. Or
    you can make an Extended partition of that last available Primary,
    and then put as many Logical partitions on it that you like.

    --
    Stefan Patric
    [email]tootek2@yahoo.com[/email]
    Stefan Patric Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139