Hey guys, I can see you've given up on this one?
Too bad
))
OK, just in case you should be considering in the future using GRUB2 and SYSLINUX in combination, here is how I do it.
First, let me explain WHY this can by needed.
In my example I created a multiboot USB stick, containing SysRescueCD, Knoppix, Ubuntu and a couple of other useful LiveCD images to boot.
Now with Ubuntu there was no problem booting its ISO with GRUB2, which has that amazing new functionality. It also worked with SysRescueCD after I extracted the ISO into a folder.
But with Knoppix it just don't work this way!!! ...However, Knoppix has the option, after you boot from its LiveCD to install it onto a USB stick WITHOUT disturbing the data there (given you have enough space left on the device). You just call a shell script `flash-knoppix` and it does all the thing.
But the script installs SYSLINUX into the USB stick BOOT SECTOR...
So, here is the dilemma: I need GRUB2 to boot ISO images, yet I need SYSLINUX to boot Knoppix.
SOLUTION -- how we can use multiple bootloaders on one disk:
after the SYSLINUX loader is installed into the USB-stick's MBR, we just copy the BOOT SECTOR with good old DD command:
Code:
sudo dd if=/dev/sdc of=/media/$my-mounted-USB-stick/boot/syslinux.boot bs=512 count=1
after which I reinstall GRUB2:
Code:
grub2-setup --force --directory=/media/MULTIBOOT/boot/grub2 /dev/sdc
Here `/media/MULTIBOOT` is where my USB-stick is mounted, and `boot/grub2` is where GRUB2 installation files reside on the stick. There we also have a `grub.cfg` file, where we add a menuentry for the SYSLINUX loader for Knoppix:
Code:
menuentry "My SYSLINUX bootable OS" {
set root=(hd0,1)
chainloader=/boot/syslinux.boot
}
(Note the slight changes in the config file format)
You see, I'm using that backup SYSLINUX bootsector `syslinux.boot`, created with DD, as a chainloader used by GRUB2. Which works just fine after the real boot sector is overwritten by GRUB2.
I think, SYSLINUX can't do this "chainloading"? Well if it can, you can do the same backing up GRUB2 boot sector etc.
Oh, and if you're seriously interested in HOW TO create a multiboot USB-stick with a SINGLE partition on it, just read
here.
Note, too, that this approach widens multiboot possibilities significantly.
At present, in addition to this multiboot USB, I have 6 OS's on my GPT partitioned HDD, including FREEBSD, all of them booting with GRUB2.
Hope this helps??
Think I'll export this into a little HOW-TO...
PS: This solution has been around for quite some time now. I borrowed it from one FreeBSD guy, who wanted to multiboot it with other OS's is some nearly "impossible" combination.