I'm using a Maverick x64 LiveCD trying to change some partitions on a
failed Clonezilla restore of a disk with Windows Vista on the primary
partition and three partitions on an extended partition. Don't know if
this is the same bug or not but when I try to delete the swap partition
in the extended partition I get the following error (googled for
MSDOS_MAGIC and found this bug). I was able to delete the ext4 partition
sda7 just before it without a problem and the ntfs partition following
it also (all three in the extended partition).

I need to get my system built back up soon and will likely start from
scratch again with a Windows then Ubuntu install to get dual boot. And
since I don't seem to be able to restore this configuration doubt that I
will be able to help with a further repro. Error message from GUI after
failed attempt to delete swap:

Error erasing: helper exited with exit code 1: In part_del_partition: 
device_file=/dev/sda, offset=292844208128
Entering MS-DOS parser (offset=0, size=500107862016)
MSDOS_MAGIC found
looking at part 0 (offset 1048576, size 168036401152, type 0x07)
new part entry
looking at part 1 (offset 168038497280, size 332069340160, type 0x05)
Entering MS-DOS extended parser (offset=168038497280, size=332069340160)
readfrom = 168038497280
MSDOS_MAGIC found
readfrom = 168042470400
MSDOS_MAGIC found
Exiting MS-DOS extended parser
looking at part 2 (offset 0, size 0, type 0x00)
new part entry
looking at part 3 (offset 0, size 0, type 0x00)
new part entry
Exiting MS-DOS parser
MSDOS partition table detected
got it
got disk
got partition - part->type=1
committed to disk
Error doing BLKPG ioctl with BLKPG_DEL_PARTITION for partition 6 on /dev/sda: 
Device or resource busy

-- 
palimpsest cannot delete partition/MSDOS_MAGIC found
https://bugs.launchpad.net/bugs/518087
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to