Is there a way to specify the device on which the live-media will be found?
I have the kernel and initrd in my EFI System Partition. The live-media filesystem is in an NTFS partition on the same (USB) drive. grub2 does not have NTFS support built in. When booting with Secure-Boot ON, grub2 will not load modules, so its "search" command is not able to find the NTFS partition, and it is unable to load the kernel and initrd from that partition.
I have tried
- linux kernel live-media-path=path-to-casper-directory
- linux (hd1,msdos1)/kernel live-media-path=(hd1,msdos5)/path-to-casper-directory
- linux (hd1,msdos1)/kernel live-media=/dev/sdb5 live-media-path=/path-to-casper-directory
set root=hd1,msdos5 linux (hd1,msdos1)/kernel live-media-path=/path-to-casper-directory
Most of those boot, but fail to copy the live-media filesystem to ram:
Begin copying live-media to ram...
Not enough memory (4GB > 187GB) to copy live-media to ram
(this is an approximation of the messages in /var/log/casper.log)
I've seen mention of the "live-media=" kernel option to specify the live-media device, but I've also seen mention of that option not working. I've tried looking through initramfs-tools/scripts/casper for some clue as to the proper format/protocol for specifying "live-media=" -- I failed.