3

I am trying to boot from an Kubuntu ISO directly from my hard drive. I have found several instructions like here or from this ubuntu guide. Well, everything seems quite clear except from the Linux parameters.

A typical example of a menuentry in /etc/grub.d/40_custom is this:

menuentry "Ubuntu 12.04.2 ISO" {
        set isofile="/home/<username>/Downloads/ubuntu-12.04.2-desktop-amd64.iso"
        # or set isofile="/<username>/Downloads/ubuntu-12.04.2-desktop-amd64.iso"
        # if you use a single partition for your $HOME
        loopback loop (hd0,5)$isofile
        linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject
        initrd (loop)/casper/initrd.lz
}

which passes parameters noprompt noeject. I have seen other examples where other combinations are used like quiet splash. I found some explanation about the latter parameters in here but for the former I could not find any. I have found a combination of all in here also where it also mentions toram(?) as parameter.

I know that these are probably Linux kernel parameters and there a lot to be presented here but I couldn't find a definition neither in here. So, could someone explain what the rest of the parameters might do and when to use them or if there are some other typical useful parameters for my case (isoboot that is).

Eypros
  • 521
  • I often have to mount ISO and look at whatever defaults are used. see /boot/grub/grub.cfg' (UEFI) or BIOS/isolinux/txt.cfg` I find getting path correct as a major issue. I prefer to use a separate partition. see: https://askubuntu.com/questions/845192/can-i-create-a-dedicated-partition-for-gparted-and-launch-from-grub & https://askubuntu.com/questions/1025656/how-do-i-boot-an-iso-file-from-my-drive-using-grub2-on-uefi-machines & https://ubuntuforums.org/showthread.php?t=2257100 – oldfred Jan 08 '19 at 21:30
  • Read man bootparam, or the online version – waltinator Jan 08 '19 at 21:08

1 Answers1

3

Those additional options (toram) are related to casper, which is a ramfs wrapper I believe. http://manpages.ubuntu.com/manpages/focal/man7/casper.7.html

toram attempts to place the ISO in its entirety into memory. It's almost always better to do this. You can even remove the USB drive after it's booted.

Other options are kernel parameters and boot parameters, all crammed into those 2 lines.

Isaac
  • 31
  • noprompt is also from casper "Do not prompt to eject the CD on reboot.". I'm not sure what noeject is. Possibly an older name/alias for the same thing... Someone asked about iso-scan/filename before https://askubuntu.com/questions/644400/is-there-documentation-for-iso-scan-filename – the gods from engineering Jan 24 '24 at 20:22