I have been able to successfully boot various 20.04 ISO's such as kubuntu-20.04-desktop-amd64.iso from my hard drive using GRUB2. However, I have not been able to get the persistent kernel option to do anything.
My basic steps:
- Download kubuntu-20.04-desktop-amd64.iso as /home/me/Downloads/ISO/kubuntu-20.04-desktop-amd64.iso
- Created casper (now named writable) file by running the following:
sudo dd if=/dev/zero of=writable bs=1M count=1024
sudo mkfs.ext4 -L writable -F writable
- Used grub-customizer to create the following entry in my /etc/grub.d/40_custom file, update grub.cfg, etc.
menuentry "ISO-Kubuntu-20.04"{
set root='(hd1,2)'
search --no-floppy --fs-uuid --set=root 89a8c109-4b01-4ff9-88c7-17a371cad718
loopback loop /home/me/Downloads/ISO/kubuntu-20.04-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/me/Downloads/ISO/kubuntu-20.04-desktop-amd64.iso nosplash debug --verbose fsck.mode=skip persistent locale=en_US bootkbd=us console-setup/layoutcode=us noeject --
initrd (loop)/casper/initrd
I have tried this with the writable file in various places including root of the drive and /home/me/Downloads/ISO/, where the ISO's are stored. I have also tried various attempts at using the persistent-path parameter, all to no avail.
Note: I do not have enough reputation points to comment on the similar How to create pesistence storage for ubuntu live boot? post. And, I obviously do not have an answer to post there.
grub-install -V reports grub-install (GRUB) 2.02-2ubuntu8.13 on my system.
I am running Kubuntu 18.04.3 LTS.
Any specific suggestions would be appreciated. And, I am more than happy to post additional information if there are other items that would be helpful.
Thank you.
... persistent persistent-path=18.04.2 ...
. I will try to find an old Ask Ubuntu answer that gives details. see: askubuntu.com/questions/962536/…