aguslr / multibootusb

A collection of GRUB files and scripts that will allow you to create a pendrive capable of booting different ISO files
https://mbusb.aguslr.com
GNU General Public License v3.0
574 stars 153 forks source link

Fix Ubuntu Server Live ISO script #219

Closed luigicalligaris closed 6 years ago

luigicalligaris commented 6 years ago

On Ubuntu Server 18.04 the initrd image file in /casper has no extension, the script was instead assuming a ".gz" one. I checked if that was the case for Ubuntu 16.04, but in that distro there is no /casper at all. The fix should work from 18.04 onwards.

aguslr commented 6 years ago

Hello @luigicalligaris!

This seems to be a recent change to the Live ISO in version 18.04.1, since version 18.04 did have the extension. Other non-Live 18.04.1 ISOs do have the extension so it's quite strange.

I think we could use:

initrd  (loop)/casper/initrd*

Instead of just:

initrd  (loop)/casper/initrd

This way, previous versions of the ISO will still work with the same configuration file. What do you think?

luigicalligaris commented 6 years ago

I was not aware that the wildcard would work. I think it would work for now.