>
> > (especially after learning how to boot the alternate iso via grub
> > loopback, an apparently little known trick, requiring manual replacement
> of
> > /dev/sr0 with a softlink to the iso, but not until the first failure to
> > find the cdrom).
>
> Would you please elaborate on this? I can imagine some things you might
> mean, but please tell us a bit of what you know, it sounds like an
> interesting idea.
>

menuentry 'lubuntu trusty-alternate-i386.iso, mount iso manually' {
     echo 'lubuntu trusty-alternate-i386.iso, mount iso manually'
            set i=/trusty-alternate-i386.iso
        search --no-floppy --fs-uuid --set=root
0a0b9aac-fdd8-4d69-bc07-f4d66fbb6f28
            loopback loop                           $i
     linux (loop)/install/vmlinuz iso-scan/filename=$i
file=/cdrom/preseed/lubuntu.seed panic=30 --
     echo "(loop)/install/initrd.gz"
    initrd (loop)/install/initrd.gz
#p=a1
#mkdir           /$p
#mount  /dev/sd$p /$p
#mv      /dev/sr0 /dev/sr0-     #do this after it fails to mount the cdrom
#ln -s $i /dev/sr0
}

include a menuentry such as above in your grub.conf, eg via
/etc/grub.d/40_custom.  adjust the set command to the absolute pathname of
your iso within the filesystem that contains it (ie if it's not in your
root filesystem, remove the mountpoint prefix).  replace the search uuid
with the uuid for the filesystem that contains your iso.  if your iso isn't
an lubuntu alternate iso, adjust the preseed to match your iso, maintaining
/cdrom in front of the pathname of the .seed file in the iso.

boot it.  once it fails to find the cdrom, press ctl-alt-F2, press enter,
and enter the commands prefixed by # above.  choose the value for $p to
match the partition that contains your iso.  in place of $i enter the
actual pathname of your iso (starting with $p).  use tab completion to be
sure.  after thus replacing /dev/sr0, press ctl-alt-F1, and iirc just a
couple hits of the enter key will be all you need to get it using the iso
instead of your cdrom.

for completeness i may as well mention that if the desktop iso works for
you, loopback booting a desktop iso requires a boot= entry instead of a
file= entry, and does not require any manual softlink chicanery to fully
boot from the iso:

menuentry                 "lubuntu-l10.04desktop-i386.iso" {
     echo                 "lubuntu-l10.04desktop-i386.iso"
set i=/home/greg/Downloads/lubuntu-10.04-desktop-i386.iso
                        search --no-floppy --fs-uuid --set=root
0c7237fd-45d8-49f4-8666-9159982138ab
   loopback loop                                   $i
     linux (loop)/casper/vmlinuz iso-scan/filename=$i boot=casper panic=30
--
     echo "(loop)/casper/initrd.lz"
    initrd (loop)/casper/initrd.lz
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20140226/04c376b9/attachment.html>