Jaunty alternate ISO fails to partition using Guided / use entire disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
RELEASE: Jaunty Jackalope Development ISO
CD/DVD VARIANT: 32bit Ubuntu Alternate cd / 32bit Xubuntu Alternate cd
ISO BUILD: 20090309
SYMPTOMS: attempting to install, disk has three partitions on it:
sdc1, 10GB, ext3, primary partition used for /
sdc2, 10GB, extended partition
sdc5, 2GB, swap, logical partition used for /swap
sdc6, 8GB, ext3, logical partition used for /home
selected Guided partitioning -- Use entire disk, sdc
[!!] Partition disks
Error informing the kernel about modifications to partition /dev/sdc5
-- Device or resource busy. This means Linus won't know about any
changes you made to /dev/sdc5 until you reboot -- so you ;shouldn't
mount it or use it in any way before rebooting.
ERROR!!!
<Go Back>
hit Ignore
This repeats for each partition, then
[!!] Partition disks
The attempt to mount a file system with type swap in SCSI2 (0,1,0),
partition #5 (sdc) at none failed.
You may resume partitioning from the partitioning menu.
Do you want to resume partitioning?
<Go Back> <Yes> <No>
If you abort or continue the installation, it fails to boot into the installation. If you then install again, using the same procedure, including "Guided partitioning -- Use entire disk, sdc", the installation will continue and the resulting installed distribution will work.
STEPS TO REPRODUCE:
1. hard disk with existing partitions
2. attempt installation using alternate cd
3. select Guided partitioning -- use entire disk
I have been able to reproduce this since 20090307
This was on an actual hardware installation, PIII, 866MHz cpu, 512MB ram
Related branches
tags: | added: iso-testing |
New set of logs attached from this point. cjwatson requested I try this first; it would be interesting to know if http:// paste.ubuntu. com/128992/ fixes the problem when applied to /lib/partman/ commit. d/30parted (you can apply it by just editing that file with nano before the partitioner starts)
FAILED TO HELP: 2009-03-09 / 02:48 AM UTC
Next, the following was used:
find the udevd process; kill it (yes, really; just make sure nothing else is happening); run 'UDEV_LOG=err udevd --debug >udev.log 2>&1'; run through partitioning as before; extract udev.log
Strangely enough, the error disappears using this process as follows: names=server
1. boot to the Alternate cd
2. proceed through installation process to "Partition Disks"
3. switch to TTY2 using Ctrl+Alt+F2
4. ran 'ps -A | more'; found one udevd process:
680 Root 11352 S < udevd --daemon --resolve-
5. run 'killall -9 udevd'
6. verified the udevd processes were killed.
7. run 'UDEV_LOG=err udevd --debug >udev.log 2>&1'
8. continue the installation process
9. It did not fail partitioning
I was so surprised, I ran this three times to be sure I did not make a mistake. Logs are from the third run