Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have followed this tutorial: http://blog.jakgibb.com/2013/01/03/creating-a-multiboot-usb-stick-using-syslinux/

I want to boot linux live ISOs directly from USB drive using syslinux instead of method provied here: http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/

Here is my syslinux.cfg:

default vesamenu.c32
prompt 0
timeout 300
menu title Geek USB
menu background /bg.png
MENU TABMSG  Created by Salman
MENU WIDTH 72
MENU MARGIN 10
MENU VSHIFT 3
MENU HSHIFT 6
MENU ROWS 15
MENU TABMSGROW 20
MENU TIMEOUTROW 22
menu color title 1;36;44 #66A0FF #00000000 none
menu color hotsel 30;47 #C00000 #DDDDDDDD
menu color sel 30;47 #000000 #FFFFFFFF
menu color border 30;44 #D00000 #00000000 std
menu color scrollbar 30;44 #DDDDDDDD #00000000 none

label HardDisk
    menu label Continue to Boot from ^First HD (default)
    KERNEL chain.c32
    APPEND hd1
    MENU DEFAULT

label MY
    menu label ^MY
    loopback loop /ubuntu-12.04.3-desktop-i386.iso
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/ubuntu-12.04.3-desktop-i386.iso noeject noprompt splash --
    initrd (loop)/casper/initrd.lz

label MIX
    menu label ^MIX
    insmod loopback
    insmod iso9660
    set isofile="/ubuntu-12.04.3-desktop-i386.iso"
    loopback loop $isofile
    kernel (loop)/casper/vmlinuz
    append boot=casper initrd=(loop)/casper/initrd.lz splash --

label MIX2
    menu label ^MIX2
    set isofile="/ubuntu-12.04.3-desktop-i386.iso"
    loopback loop $isofile
    kernel (loop)/casper/vmlinuz
    append boot=casper live-media-path=(loop)/casper/ file=(loop)/preseed/ubuntu.seed initrd=(loop)/casper/initrd.lz splash --

label MIX3
    menu label ^MIX3
    loopback loop /ubuntu-12.04.3-desktop-i386.iso
    kernel (loop)/casper/vmlinuz
    append boot=casper live-media-path=(loop)/casper/ file=(loop)/preseed/ubuntu.seed initrd=(loop)/casper/initrd.lz splash --

My USB is booting and syslinux is working and boot menu (syslinux.cfg) is displaying fine but menus are not working, don't know why? No menu is booting ubuntu-12.04.3-desktop-i386.iso. The worst part is that no error is coming when I select a menu and hit enter, screen blinks and return to main menu.

What is wrong with my code?

share|improve this question
add comment

1 Answer

IMHO the problem seem to be that

loopback loop $isofile
kernel (loop)/casper/vmlinuz

this part is GRUB2 command , and there is no way syslinux to understand the command . You should check for the appropriate sislinux/isolinux command . As far as I know syslinux uses memdisk same way as GRUB2 uses loopback . http://www.syslinux.org/wiki/index.php/MEMDISK

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.