[Bug 32529] Re: Installer corrupting partition table
Phillip Susi
psusi at ubuntu.com
Thu Dec 13 19:11:55 UTC 2012
This bug is extremely old and I find it hard to believe that it would
still be happening without many people reporting it, so I am going to
venture a guess that it was fixed a long time ago. Is anyone still able
to reproduce this?
** Changed in: parted (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/32529
Title:
Installer corrupting partition table
Status in “parted” package in Ubuntu:
Incomplete
Bug description:
Installer for Ubuntu Dapper flight 4 corrupted my partition table by
changing the starting cylinder of my windows partition. I am not
really sure if this bug should be against the installer or against
parted.
Here is the output of fdisk -l before installing dapper:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 1938 976720+ 83 Linux
/dev/hda2 52801 155056 51536520 5 Extended
/dev/hda3 * 1939 52801 25634920+ c W95 FAT32 (LBA)
/dev/hda5 52802 62491 4883728+ 83 Linux
/dev/hda6 62492 72181 4883728+ 83 Linux
/dev/hda7 72182 74126 979933+ 82 Linux swap / Solaris
/dev/hda8 74126 155056 40789003+ 83 Linux
Partition table entries are not in disk order
And here it is after running the dapper installer:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 1938 976720+ 83 Linux
/dev/hda2 52801 155056 51536520 5 Extended
/dev/hda3 * 1945 52801 25631707+ c W95 FAT32 (LBA)
/dev/hda5 52802 62491 4883728+ 83 Linux
/dev/hda6 62492 72181 4883728+ 83 Linux
/dev/hda7 72182 74126 979933+ 82 Linux swap / Solaris
/dev/hda8 74126 155056 40789003+ 83 Linux
Partition table entries are not in disk order
I can provide 512 byte images of the bootsector before and after if
required.
Current usage of the partitions is:
1 /boot with grub on it
3 windows
5 Mandrake - now overwritten with Ubuntu dapper flight 4
6 Ubuntu Breezy
7 swap
8 /mnt/data
When I first ran the Ubuntu dapper installer, I chose manual partitioning. I was presented with a menu offering partitions 1, 5, 6, 7, 8. I was surprised not to see #3 listed, but carried on. I told the installer not to mount 1, 6, 8, and to format 5 and use it as root. Looked like this:
1 K ext2
5 F reiserfs /
6 K reiserfs
7 F swap
8 K reiserfs
Strangely, When choosing OK, I got a warning saying: "This ext2 file
system has a rather strange layout! Parted can't resize this (yet)."
This was a little worrying, since I didn't ask to resize anything, I
said not to mount #1.
Anyway, I chose to continue and got this message:
"Test of ext2 partition #1 had uncorrected errors. Go back to correct?" and I chose not to go back.
After all that, #1 was not re-sized, but #3, my windows partition was.
By moving the start cylinder (something I understand parted can't do
yet).
I admit that the partition entries are unordered due to previously
deleting windows and splitting the space into two, but I don't think
that's an excuse for this. It may be the cause of the confusion
though.
P.S. the original partition table was (IIRC) last edited by cfdisk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/32529/+subscriptions
More information about the foundations-bugs
mailing list