Gentoo Archives: gentoo-user

From: "Robert G. Siebeck" <r.g.siebeck@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] fdisk errors after repartitioning
Date: Thu, 14 Jul 2005 22:33:43
Message-Id: c28d6805071415261e2d3c64@mail.gmail.com
1 Hi,
2
3 I recently repartitioned my harddisk. Before my HD had 4 partitions,
4 all primary ones: boot, swap, Linux (Reiserfs) and Windows (FAT32).
5 I shrinked the reiserfs-partition and then deleted it. I deleted swap,
6 too. Then I created an extended partition. Within this extended
7 partition I created a new logical partition which had the same start
8 and end cylinders as the resized Reiserfs partition. Further I created
9 a new swap partition within the extended partition and created a
10 (primary) partition for FreeBSD on the place freed by resizing the
11 Reiser-partition.
12 Actually everything seems to work, I'm not missing any files and all
13 systems (Linux, FreeBSD and Windows) work fine.
14 The only thing which seems strange is an error thrown by fdisk:
15
16
17 # fdisk /dev/hda
18
19 The number of cylinders for this disk is set to 116280.
20 There is nothing wrong with that, but this is larger than 1024,
21 and could in certain setups cause problems with:
22 1) software that runs at boot time (e.g., old versions of LILO)
23 2) booting and partitioning software from other OSs
24 (e.g., DOS FDISK, OS/2 FDISK)
25
26 Command (m for help): p
27
28 Disk /dev/hda: 60.0 GB, 60011642880 bytes
29 16 heads, 63 sectors/track, 116280 cylinders
30 Units = cylinders of 1008 * 512 = 516096 bytes
31
32 Device Boot Start End Blocks Id System
33 /dev/hda1 1 130 65488+ 83 Linux
34 Partition 1 does not end on cylinder boundary.
35 /dev/hda2 131 79717 40111848 5 Extended
36 Partition 2 does not end on cylinder boundary.
37 /dev/hda3 * 79718 95960 8186314+ a5 FreeBSD
38 Partition 3 does not end on cylinder boundary.
39 /dev/hda4 95964 116279 10239264 c W95 FAT32 (LBA)
40 Partition 4 does not end on cylinder boundary.
41 /dev/hda5 2212 79717 39063024 83 Linux
42 /dev/hda6 131 2211 1048792+ 82 Linux swap / Solaris
43
44
45 cfdisk doesn't even start but stops with the following message:
46
47 FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap
48 Press any key to exit cfdisk
49
50
51 Do you have any ideas how I could get rid of these messages?
52 Thanks in advance!
53
54 Regards,
55
56 Robert.
57
58 --
59 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] fdisk errors after repartitioning Richard Fish <bigfish@××××××××××.org>