public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] fdisk errors after repartitioning
@ 2005-07-14 22:26 Robert G. Siebeck
  2005-07-14 22:52 ` Richard Fish
       [not found] ` <200507151348.41719.benno.schulenberg@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Robert G. Siebeck @ 2005-07-14 22:26 UTC (permalink / raw
  To: gentoo-user

Hi,

I recently repartitioned my harddisk. Before my HD had 4 partitions,
all primary ones: boot, swap, Linux (Reiserfs) and Windows (FAT32).
I shrinked the reiserfs-partition and then deleted it. I deleted swap,
too. Then I created an extended partition. Within this extended
partition I created a new logical partition which had the same start
and end cylinders as the resized Reiserfs partition. Further I created
a new swap partition within the extended partition and created a
(primary) partition for FreeBSD on the place freed by resizing the
Reiser-partition.
Actually everything seems to work, I'm not missing any files and all
systems (Linux, FreeBSD and Windows) work fine.
The only thing which seems strange is an error thrown by fdisk:


# fdisk /dev/hda

The number of cylinders for this disk is set to 116280.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 60.0 GB, 60011642880 bytes
16 heads, 63 sectors/track, 116280 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         130       65488+  83  Linux
Partition 1 does not end on cylinder boundary.
/dev/hda2             131       79717    40111848    5  Extended
Partition 2 does not end on cylinder boundary.
/dev/hda3   *       79718       95960     8186314+  a5  FreeBSD
Partition 3 does not end on cylinder boundary.
/dev/hda4           95964      116279    10239264    c  W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
/dev/hda5            2212       79717    39063024   83  Linux
/dev/hda6             131        2211     1048792+  82  Linux swap / Solaris


cfdisk doesn't even start but stops with the following message:

FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap
Press any key to exit cfdisk


Do you have any ideas how I could get rid of these messages?
Thanks in advance!

Regards,

Robert.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-15 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 22:26 [gentoo-user] fdisk errors after repartitioning Robert G. Siebeck
2005-07-14 22:52 ` Richard Fish
     [not found] ` <200507151348.41719.benno.schulenberg@gmail.com>
2005-07-15 23:49   ` Robert G. Siebeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox