Re: partitions and fdisk

From: Andreas Janssen (andreas.janssen_at_bigfoot.com)
Date: 08/30/03


Date: Sat, 30 Aug 2003 23:29:55 +0200

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
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


Relevant Pages

  • Re: Linux Partition Table Tutorials
    ... The partition table is contained in bytes 446-509 of the first sector on ... but Linux PT info was not covered. ... utilities to write zeros didn't work. ... MS's Orig win98FE FDISK version *does* have issues seeing Drives larger ...
    (comp.os.linux.misc)
  • Re: CD images, ISO
    ... > Then the first thing you need to look at is the output of 'fdisk ... they are located on a medium other than the boot partition. ... different computer than has the linux installation and have found NO WAY ... I did try mount. ...
    (comp.os.linux.powerpc)
  • Re: The Linux FAT issue on SD Cards.. maintainer support please
    ... > find the cylinder information as 448 where as my driver ioctl returns ... > made by fdisk command. ... If the partition starts at sector 57 and is 28743 sectors long, ...
    (Linux-Kernel)
  • Re: Making a new files system.
    ... > workstation as a VM on my Linux server. ... You did not create a partition what does ... If there is no hda12 you will need to use fdisk or some other disk ...
    (RedHat)
  • Re: large RAID volume partition strategy
    ... because my case 2 I could make three 2Tb fdisk slices ... which bsdlabel can then partition? ... least for bsdlabel, I think fdisk is stuck in 512-byte sectors) to 4 TB, ...
    (freebsd-stable)