pop-os / iso

Pop!_OS ISO production
Other
499 stars 65 forks source link

[RFE] Support iso-scan/filename for booting ISO image from HDD #260

Closed space88man closed 4 years ago

space88man commented 4 years ago

Distribution (run cat /etc/os-release): Latest Pop_OS! downloaded ISO pop-os_20.04_amd64_intel_13.iso

Related Application and/or Package Version (run apt policy $PACKAGE NAME): N/A/

Issue/Bug Description: The initramfs and casper on the ISO does not support the iso-scan/filename= kernel cmdline argument. This means that you can't boot from ISO-on-HDD using the

iso-scan/filename=XXXXXXXX.iso

trick.

Steps to reproduce (if you know):

  1. Copy the ISO to a HDD with GRUB2 installed
  2. Create a menu entry with
loopback loop /pop-os_20.04_amd64_intel_13.iso
linux (loop)/casper/vmlinuz.efi iso-scan/filename=/pop-os_20.04_amd64_intel_13.iso boot=casper live-media-path=/casper_pop-os_20.04_amd64_intel_debug_25 ...
initrd (loop)/casper/initrd.gz
  1. Try booting this menu entry

Expected behavior: Pop_OS! will booth from the ISO-on-HDD

Other Notes:

  1. This works with the Ubuntu Desktop ISO
  2. This does NOT work with Neon (I think for the same reason, no casper support for iso-scan/filename=)
space88man commented 4 years ago

Duplicate of #243