grub2 loopback-image

68 views
Skip to first unread message

nil

unread,
Nov 10, 2010, 2:32:41 PM11/10/10
to Webconverger Users
I want to use Webconverger as a loopback-grub2-Image on an multiboot-
USB-stick. Can someone tell me the correct syntax?

menuentry "Webconverger" {
loopback loop /boot/iso/webconverger.iso
linux (loop)/...
initrd (loop)/...
}


An working example is GRML 10.04:

menuentry "Grml 2010.04" {
loopback loop /boot/iso/grml_2010.04.iso
linux (loop)/boot/grml/linux26 findiso=/boot/iso/grml_2010.04.iso
apm=power-off lang=de ssh=toor vga=791 boot=live bootid=grml201004
nomce noeject noprompt --
initrd (loop)/boot/grml/initrd.gz
}

Kai Hendry

unread,
Nov 10, 2010, 5:42:22 PM11/10/10
to webc-...@googlegroups.com
I really avoid grub2 because of its monstrous bloat and complexity.

Use syslinux, or something sane with a low SLOC.

cbtk...@gmail.com

unread,
Jan 31, 2012, 8:00:48 AM1/31/12
to webc-...@googlegroups.com
Please post the menuentry if u have the solution. i am trying for the same.
Thanks in advance

Regards
Karthikeyan Ramaswamy

jlrbe...@sbcglobal.net

unread,
Feb 23, 2013, 5:50:08 PM2/23/13
to webc-...@googlegroups.com, cbtk...@gmail.com


I know that this is quite an old thread but after considerable web searching, I think I came across a solution.

1.  Open a terminal window.

2.  Enter:  cd /etc/grub.d

3.  Enter:  sudo nano 35_boot-isos

4.  Launch your favorite web browser and navigate to:  http://blog.snow-crash.org/2010/11/cool-things-with-grub2-and-syslinux---booting-floppy-and-iso-images.html

5.  Copy the script code from that web site and paste it into your open nano terminal window

6.  CTRL-X and save your new file

7.  Enter:  sudo chmod +x 35_boot-isos

8.  Enter:  sudo apt-get install syslinux (might already be installed)

9.  Enter:  sudo cp /usr/lib/syslinux/memdisk /boot/

10. Copy your bootable iso files to /boot/images/  (create the directory if it does not already exist.)

11.  Enter (into a terminal window):  sudo update-grub

12.  Reboot and you will find your bootable isos as menu items.

13.  If you want them (it) to appear first in menu (default), change the 35 to 06.

Hope this helps someone else. 

All credit and glory to formorer @ http://blog.snow-crash.org/ and of course Kai Hendry of all his work and sharing of the Webconverger!
Reply all
Reply to author
Forward
0 new messages