thias / glim

GRUB Live ISO Multiboot
638 stars 141 forks source link

Recent ubuntu desktop isos require extra boot args #121

Open slowpeek opened 9 months ago

slowpeek commented 9 months ago

Since 21.10 ubuntu live-server iso uses multi-layered squashes (compare contents of /casper/ before and after 21.10). It doesnt affect anything because the images can boot without any kernel args. Ubuntu desktop uses the same multi-layered scheme since 23.04 but without explicit layerfs-path=minimal.standard.live.squashfs kernel arg it does not boot as supposed.

Ubuntu flavours are likely to move towards the new installer as well, but not there yet (aside for Budgie) as of release 23.10.

Btw with 23.04 they've introduced desktop-legacy images which are based on the old installer.

thias commented 9 months ago

I'm super confused with all this :sweat_smile: Recent desktop? But live-server? Doesn't affect anything.... so nothing to do? What does "do not boot as supposed" actually mean... working partially?

I'm asking because I can boot both 22.04.3 and 23.10.1 desktop-amd64 just fine once shrunk to below 4GB. Am I missing something?

slowpeek commented 9 months ago

There are three kinds of ubuntu images able to boot from loop:

22.04.3 is out of question because it was 23.04 the turning point

[1]

Screenshot_20231020_233910

slowpeek commented 9 months ago

Okay, I've found my discussion on the matter in the maillist: https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2023-June/019562.html

Looking into initrd of 23.10 now I see they've added conf/conf.d/default-layer.conf with the same content as on live-server:

LAYERFS_PATH=minimal.standard.live.squashfs

That's why 23.10 desktop, as you see it now, can boot without layerfs-path=minimal.standard.live.squashfs. But 23.04 lacks that and it never gonna be fixed. So GLIM cant correctly boot 23.04 desktop.

thias commented 9 months ago

Well, since 23.04 isn't an LTS release and 23.10 is out... is this a problem that needs to be addressed? I see a few different solutions:

  1. Do nothing (my personal choice :smile:)
  2. Switch to using the loopback conf for all Ubuntu
  3. Introduce some regexp conditional
slowpeek commented 9 months ago

I'm just "reporting a bug" here! It is up to you