cfdisk better than fdisk??

cfdisk better than fdisk??

Post by GOPAL Ganapathiraju Sree Rama » Wed, 26 Jul 1995 04:00:00

i find that cfdisk (curses based fdisk on Linux) is much better
than Linux fdisk. (.... might be there is some bug in Linux fdisk.
just guessing..)

my problem was like this. i had 3 primary partitions and one
extended partition with 2logicals on it) i wanted use one of
the logical partions for Linux. but i could not either change
the partition ID, nor could mount the logical partition.
while the fdisk shows the partion ID as 5 (extended) correctly,
when i try to see the logical partition, it says, i have to
deleted a partition and add a new extended partion. even the
xpert option was not showing the logical partions. i posted
requests on the net for help, but i did not get.

i then tried cfdisk. and i am done in one moment. now i could
add the partion to Linux, and mount the file system by a coupld
of entries in fstab, mtab.

just thought it might be useful for some of you.

G.Sree Ramana Gopal
Ph.D.Student, Civil Engg, UofT
682 Shaw Street Toronto, M6G 3L7


1. fdisk and cfdisk giving incorrect partition size information

Hi all,

For a long time, only about 8GB of the 30GB IDE hard disk in my RH 7.2
machine was being used in several partitions, with 22GB of free space
hanging off an extened partition. I attempted to create a new logical
partition, using cfdisk, out of the free space.

After the partition information was 'written', cfdisk gave me an error
of the sort "Can't re-read new partion table. Please reboot.." After
rebooting and mounting the new partition (hda7), here's the output of

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1               505605    456124     23377  96% /
/dev/hda3              1004052     18620    934428   2% /home
none                    127228         0    127228   0% /dev/shm
/dev/hda2              4032124   1905176   1922120  50% /usr
/dev/hda5               505605     58967    420534  13% /var
/dev/hda7                38859        13     36840   1% /da

Here is the output of print table cmd of fdisk /dev/hda:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        65    522081   83  Linux
/dev/hda2            66       575   4096575   83  Linux
/dev/hda3           576       702   1020127+  83  Linux
/dev/hda4           703      3647  23655712+   5  Extended
/dev/hda5           703       767    522081   83  Linux
/dev/hda6           768       832    522081   82  Linux swap
/dev/hda7           833      3647  22611456   83  Linux

cfdisk gives the same information.

Can anyone tell me what's going on here? Why the different partition
sizes being reported?


2. HELP : xdm problem

3. fdisk vs cfdisk: strange error

4. X Windows frozen

5. New SCSI drive partition information different for fdisk and cfdisk????

6. GCC and IBM libs?

7. cfdisk vs fdisk. Which is safer ?

8. LinuxPPC 200

9. Updating fdisk or cfdisk?

10. cfdisk tells nonsense, fdisk lies?

11. Red Hat 5.0 fdisk/cfdisk failure on jaz disk

12. Q: fdisk and cfdisk

13. Fdisk or Cfdisk