Fellas, need help. Trying to install Ubuntu 12.04 on laptop to dual boot alongside Win7. I have UEFI and GPT partitioning scheme. It has optional Legacy boot mode though. I can boot from Ubuntu USB/CD in both Legacy and UEFI modes. But when I reach partition selection step, it gives me error "ubi-partman failed with exit code 141". I searched forums for this but those who encountered this error said it was resolved when they detached one of two HDs in their system. But I have only one hard disk attached and I am sure Ubuntu's GRUB supports GPT. But looks like it is not able to read GPT partitions on my HD. Any help regarding this will be appreciated.
Your parted output suggests you've got a partition table problem, or at least an issue that libparted (which is used both by the text-mode parted program and the Ubuntu partitioner) is interpreting as a partition table problem. The "Invalid or incomplete multibyte or wide character" message suggests that parted is having problems interpreting the partition name, which is officially a UTF16-encoded name. Unfortunately, the last time I checked, parted didn't do proper UTF-16 encoding or decoding of partition names; instead, it tried to interpret them as a sort of modified ASCII -- or in practice, a modified UTF-8. This could lead to problems if a real UTF-16 partition name used non-ASCII characters, since they might then look like gibberish when interpreted as a modified UTF-8. Since libparted is very sensitive to errors and offers little in the way of corrective tools, the result is an error, as both parted and the Ubuntu installer demonstrate.
If I'm right (and I'm far from certain that I am), you should be able to correct the problem as follows:
- Boot into the Ubuntu (or any other Linux) rescue disk.
- If necessary, download and install GPT fdisk (gdisk). It's available as the
gdiskpackage in Ubuntu.
sudo gdisk /dev/sdato launch
gdiskon your problem disk.
vto verify the disk's data structures. If gdisk reports any problems, it could be that parted was reacting to some problem other than the partition name, and that may need to be dealt with instead of (or at least before) proceeding with the below steps.
pto view your partition table. Look for any non-ASCII characters in the "Name" column.
cto change the name of any partition that has a strange name. You'll be asked for a partition number and a new name. Repeat this for as many partitions as necessary (up to all of them).
pto review your partition table to be sure everything looks sane.
- If everything looks good, type
wto save your changes and exit from
If my suspicion is correct, you should now be able to proceed with Ubuntu installation. If I'm correct, this is a libparted bug, which should be reported to Ubuntu and/or to the libparted developers. Recording the names of all your partitions for inclusion in your bug report is worth doing.
Use Wubi Ubuntu iso to install Ubuntu to dual boot with Windows. I had done so and it worked fine. You can also uninstall it from Windows itself.
I have a Sony Vaie SeriesE, 14". I ve had some kind of similar problems than anhiruddabhide.
So far, I have taken the hard disk with the Win 7 out and add a new one on which I installed Ubuntu. No problem. Of course, it is not a solution that would have made aniruddhabhide happy.
Now the funny thing is that Ubuntu was UNABLE to start when the EFI option was set up in the BIOS. So I turned it to Legacy.
Legacy works for me real good. Nevertheless, nearly each time, the computer does not boot "No system found". After CTRL+ALT+SUPP, computer reboots and the Grub kicks in. I have to say it is not GRUB nor UBUNTU's fault, but some wicked stuff in the SOny BIOS which is far from satisfying (hardly any option available).
I'll try two things and keep you posted:
Reinstall the Ubuntu partition on a bigger hard disk contianing a copy of the SONY's VAIO original hard disk.
Install a slim rack DVDreplacement in order to put a second hard disk instead of the DVD player installed by VAIO. That way I'll have two hard disks, which is way better for backups and combining systems (Windows + Ubuntu for instance).
Ubuntu doesn't recommend using wubi any longer.
Some ASUS models use Aptio firmware from American Megatrends. It appears the BIOS is case sensitive. It looks for the filename EFI/BOOT/bootx64.efi, but Ubuntu provides EFI/BOOT/BOOTX64.EFI. See https://bugs.launchpad.net/linux/+bug/1261465.