15

I am in the process of installing Ubuntu GNOME 16.04 from a USB ISO onto my laptop that I want to dual boot with Windows 10. I got to the step for creating a partition and was allocating about 50 GB; however, ubi-partman crashed with the 141 exit code. I clicked try again, but there hasn't been any progress for an hour and it seems to be stuck in that same error notification.

What can I do at this point?

komodo
  • 151

4 Answers4

6

Ubi-partman failed with exit code 141 from usb install

I run into similar ubi-partman crash 141 exit code. Though I could not find any easy solution. Though, my platform is desktop Dell OptiPlex 7040, SSD TOSHIBA NVMe THNSN5512GPU7 (18 RAM, CPU i7-6700); I wanted to install Kubuntu 18.04 LTS, and after successfully booting from USB flash I stopped on ubi-partman crash 141 exit code in installation process (you cannot go to partition/disk settings).

I tried disable Fastboot on Windows 10 (yes I wanted dual boot) but just this did not work.

(see for example:) https://help.uaudio.com/hc/en-us/articles/213195423-How-To-Disable-Fast-Startup-in-Windows-10

I also noticed in BIOS settings, there is RAID ON. I actually do not know what it means, but if I changed it to ASCI:

enter image description here

https://support.thinkcritical.com/kb/articles/switch-windows-10-from-raid-ide-to-ahci

Error 141 disapeared and I was able to install Kubuntu. (so SATA was set to AHCI and Fastboot on Windows was disabled)

It is worth to backup Windows, though I did not do it, because system was clean. Switch operation is not without risk - I read it is possible you will not be able to boot your Windows - though I had no problem.

Before my solution you can go through this general help UEFI install.

https://ubuntuforums.org/showthread.php?t=2147295

weatherman
  • 305
  • 1
  • 3
  • 12
4

Allocate an ext4 partition using your free space in your live session gParted before starting the installation process. This solved the same issue for me.

fangda
  • 141
  • 3
2

I had a similar problem and tried for hours to get past that point in the installer, but couldn't until I decided to wipe the drive. To save your windows product key, you may use produkey within windows. Then you can later reinstall windows from official install media if you wish. Hopefully you already backed up your data at the start of this process. If not, do it now! This process will erase all data currently on the drive.

Then, from your Ubuntu USB ISO:

  1. open GParted
  2. choose Device > create partition table, choose msdos type
  3. retry the Ubuntu installer, and it should now proceed past the error
0

I had the exit code 10, then launched the live Ubuntu 18.04 with the nodmraid option.

After that I had ubi-partman exit code 141, ubi-timezone exit code 1 and the installer would freeze most of the time.

I created a swap partition with 4GB and the installer gave no more errors. I still ran the installer with the nodmraid option.