GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
346 stars 11 forks source link

Installation fails with `ubi-partman failed with exit code 141` when ubiquity is connected to the internet #542

Closed Doom4535 closed 4 years ago

Doom4535 commented 4 years ago

Problem

Grub fails to install when the installer is able to download updates during the installation (both with and without full disk encryption). The ubiquity installer appears to ignore users selection to not install updates if a working internet connection is available.

I have/had the same problem as @chrisjohgorman in https://github.com/GalliumOS/galliumos-distro/issues/363#issuecomment-447939321, the way I eventually worked around it was to do the initial installation completely offline (do not connect to your network, even if you tell it to not install updates). I initially thought my problem was related to the disk encryption in #363; but as I was able to replicate it without fde, I assume that it is something different involving the installer.

Hardware

My system is a: Dell 7310 Chromebook with MrChromeBox's Full Firmware [UEFI] and the image used was the latest stable at the time: galliumos-3.0-broadwell.iso. This system had been previously running the latest v2.4 without issue.

Synopsis

The best that I can gather is that there are likely two problems: 1.) The installer (ubiquity) ignores the user input to not download updates during installation (if selected) and downloads updates 2.) There is something broken with the way the updated version handles the installation (presumable with grub).

Longer version:

I had this problem with both full disk encryption selected and no disk encryption selected. I also tried to follow a couple full disk encryption guides ( https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 and http://www.chinnodog.com/ubuntu/ubuntu-fde-boot/ ), first slightly modified to do what I wanted, and then later explicitly to ensure I wasn't breaking anything. I eventually gave up, and tried without any disk encryption, and the same error appeared.

I then decided to do one last ditch attempt with no internet (as in I didn't add my network credentials) and used the installers FDE option, and it magically worked. It later ran an unattended upgrade (not prompted by me?) when I rebooted after adding the network connection. Current kernel version is: 4.16.18-galliumos.

reynhout commented 4 years ago

Thanks for the write up and research!

We'll use this ticket for tracking, and we also have a discussion thread on Reddit: https://www.reddit.com/r/GalliumOS/comments/eb27yr/galliumos_30_iso_installer_failing_when_wifi/

Summary is: Ubuntu has released new package updates which conflict with the GRUB pkgs in the GalliumOS ISO. If allowed to install these new updates, the installer will abort due to an impossible dependency resolution.

Fix is to either:

Doom4535 commented 4 years ago

@reynhout Ok, awesome, thank you for the fast follow up. I apologize for not having my logs files (but it sounds like you have a handle on it already). Let me know if you need them, and I will rerun the installation to a flash drive (so I don't overwrite my laptop) and I can update the issue to include them.

reynhout commented 4 years ago

@Doom4535 Thanks. I think we have all the logs required, so it's just a matter of testing the mildly hackish fix that will probably work (pkg overrides) or the more time-consuming fix that will definitely work (new ISOs). :)

Doom4535 commented 4 years ago

Does anyone know if the new 3.1 release fixes this issue?

reynhout commented 4 years ago

@Doom4535 It should fix the issue, yes. I'm holding back on the announcement until we get a few more platforms tested. I've tested Haswell and Braswell and Broadwell. So far so good. :)

reynhout commented 4 years ago

Resolved in GalliumOS 3.1 ISOs

air commented 1 year ago

I just reproduced this exact issue on my Dell 7310 Chromebook with GalliumOS 3.1 :( Thankfully the workaround still works - don't connect to internet, don't select 'update on install'.

ZacTyAdams commented 8 months ago

This is still an issue in late 2023, there isn't a way to disable "Download updates wile installing GallimOS" either.

chrisjohgorman commented 8 months ago

I'm not sure Gallium OS is still being developed. I would recommend looking at Arch Linux for a Chromebook these days. I have a Banon Chromebook on which I installed Arch and it is working well. All the hardware works, but for the builtin microphone.

Take care,

Chris

On Tue, Nov 7, 2023 at 5:11 PM ZacTyAdams @.***> wrote:

This is still an issue in late 2023, there isn't a way to disable "Download updates wile installing GallimOS" either.

— Reply to this email directly, view it on GitHub https://github.com/GalliumOS/galliumos-distro/issues/542#issuecomment-1800271036, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG76X464A4DC3ZQM4G7YWXDYDKWXLAVCNFSM4J3BWHVKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQGAZDOMJQGM3A . You are receiving this because you were mentioned.Message ID: @.***>

ZacTyAdams commented 8 months ago

Well thank you for the info, I’ll definitely check it out.

On Nov 7, 2023, at 5:30 PM, Chris Gorman @.***> wrote:

I'm not sure Gallium OS is still being developed. I would recommend looking at Arch Linux for a Chromebook these days. I have a Banon Chromebook on which I installed Arch and it is working well. All the hardware works, but for the builtin microphone.

Take care,

Chris

On Tue, Nov 7, 2023 at 5:11 PM ZacTyAdams @.***> wrote:

This is still an issue in late 2023, there isn't a way to disable "Download updates wile installing GallimOS" either.

— Reply to this email directly, view it on GitHub https://github.com/GalliumOS/galliumos-distro/issues/542#issuecomment-1800271036, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG76X464A4DC3ZQM4G7YWXDYDKWXLAVCNFSM4J3BWHVKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQGAZDOMJQGM3A . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/GalliumOS/galliumos-distro/issues/542#issuecomment-1800415155, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT5Z4J23J4FSH7THPPOP4LYDLAAJAVCNFSM4J3BWHVKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQGA2DCNJRGU2Q. You are receiving this because you commented.

highflowerG commented 1 month ago

I can confirm the problem is still there with 'endeavour to install GalliumOS 3.1 (Braswell) on my Acer Chromebook 14 (CB3-431, EDGAR) after flashing the full ROM of MrChromebox'. Grub2 crashes even with 'no updates selected'. The only way to avoid them is not to connect to internet.