Installation fails, gparted crashes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gparted (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gparted
Hi.
I'm trying to install Ubuntu 10.10 64bit, but installer fails every time. On a related note, I also tried installing Debian 6 and its installer also gets stuck in Scanning disks... every time. So, I tried to run gparted manually off the livecd but it crashed too. I think installer uses gparted too, but I'm only guessing here.
Hardware isn't anything too exotic, some basic Asus motherboard, AMD Phenom2 X6, Samsung spinpoint F3 1TB hd.
Here's the console output off from the livecd:
ubuntu@ubuntu:~$ sudo gparted
=======
libparted : 2.3
=======
Backtrace has 15 calls on stack:
15: /lib/libparted.
14: /lib/libparted.
13: /lib/libparted.
12: /lib/libparted.
11: /lib/libparted.
10: /lib/libparted.
9: /lib/libparted.
8: /lib/libparted.
7: /usr/sbin/
6: /usr/sbin/
5: /usr/sbin/
4: /usr/lib/
3: /lib/libglib-
2: /lib/libpthread
1: /lib/libc.
Assertion (head_size <= 63) at ../../.
ubuntu@ubuntu:~$
What to do :x
From your description, it would appear that the disk device has an invalid MSDOS partition table.
A work-around to this problem is to:
1) Copy any data you have on this disk device to another disk device
2) Erase the invalid MSDOS partition table. The Master Boot Record exists on the first sector of the disk device and also contains the partition table. To erase the MBR (and all data on the disk device), use a command such as:
sudo dd if=/dev/zero of=/path- to-disk- device bs=512 count=1
Where: /path-to- disk-device is something like /dev/sde
CAUTION: Be sure to type in the above command correctly since it will completely erase the partition table!!!
3) Write a new MSDOS partition table to the disk device using gparted, parted, fdisk, or another partition editor.
4) Proceed to create partitions on the disk device and restore your data.
Hope that helps. :-)
This bug has also been reported previously:
[Bug 545911] Re: Cannot use gparted