i want boot ubuntu iso file pure from ramdisk/memdisk so hdd only used for copying or extracting the iso image to ramdisk, so partition is not locked by system cause used by iso file.....i was read to using memdisk but failed with error message kernel must load first
My grub2 Config :
menuentry "Ubuntu Desktop 20.04" --class ubuntu {
insmod ntfs
insmod memdisk
set isoDRV=(hd2,gpt2)
set isoDIR="/ISO-SOFT/OS/LINUX"
set IsoFILE="ubuntu-20.04-desktop-amd64.iso"
## i just try this but fail :(
linux16 memdisk $isoDRV/$isoDIR/$IsoFILE
initrd16 (memdisk)/casper/initrd
}
can this be done as I mean?
toramandnopersistent, and your drive will be released. I know this, because it works with persistent live drives made by mkusb. – sudodus Jun 27 '20 at 15:23linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$IsoFILE toram noprompt noejectbut still locking partition.. i will try with nopersistant can u send me link all parameter can be passed booting from iso file ? – Mortred Jun 27 '20 at 16:21toramdoes not work when booting from an isofile (at least I don't know how to make it work). But it works when booting from a partition with an image (with the file system iso9660) as I described in my previous comment. You can see how it looks and works in a separate drive made persistent live with mkusb, and then implement something similar in your current drive. – sudodus Jun 27 '20 at 16:24toramworking with that procedure. – C.S.Cameron Jun 28 '20 at 03:15toramworking on iso mode as well but still locking partition even i addnopersistantparameter – Mortred Jun 28 '20 at 06:02sudoon its top level, but if it is an ext4 partition, you can create directories, and set permissions, that allow the default user ('ubuntu' in Ubuntu live) to read,write etc in those directories). – sudodus Jun 28 '20 at 07:53