[lug] fdisk

llornkcor llornkcor at llornkcor.com
Sat Oct 23 22:39:30 MDT 1999


Well I am in a humdinger-
While messing with fips and ms-dos fdisk, the partition table of my linux disk
got mangled. Somehow it still boots.... :o) Does anyone know how I can edit the
partition table and take out the superfluous entries?
fdisk reads it as-

Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             4      1027   8225280    c  Win95 FAT32 (LBA)
/dev/hda2           639      1027   3124642+   5  Extended
/dev/hda5           639       766   1028128+  83  Linux
/dev/hda6           767       894   1028128+  83  Linux
/dev/hda7           895      1009    923706   83  Linux
/dev/hda8          1010      1027    144553+  82  Linux swap

Command (m for help): v
Warning: partition 1 overlaps partition 5.
Warning: partition 1 overlaps partition 6.
Warning: partition 1 overlaps partition 7.
Warning: partition 1 overlaps partition 8.
48186 unallocated sectors

I need to keep hda5,6,7,8, while nothing is on hda1.

LP




More information about the LUG mailing list