2010-09-15, 12:30
There are several ways to copy a live iso onto an USB stick and have it install from there. You can use Unetbootin, MultibootUSB, etc. or manually using grub4dos, syslinux or Grub2 as initiators. All these work if the iso is unpacked to the ROOT of the USB device
A menu entry would be something like this (in this case syslinux):
For testing purposes however, I would like to have multiple versions on one stick. This would mean that subdirectories have to be used for unpacking an iso. Something like /dharma, /camelot or even /iso/dharma, /iso/camelot
Now, I've managed to run the "Live" menitem using the "live-media-path=" parameter. Like this (grub4dos):
It will produce some minor errors (stdin), but it will execute fine.
The "install" menu item fails unfortunately if execute from any other path other than the Root. It's initiated fine but after a few steps in the installer it complains the CDrom could not be mounted (probably searching in the root somewhere)
Is there a parameter that will have the installer look in the right subdirectory or does something else needs to be altered?
A menu entry would be something like this (in this case syslinux):
Code:
menu label Install XBMCLive
kernel /install/vmlinuz
append initrd=/install/initrd.gz quiet preseed/file=/cdrom/install/preseed.cfg cdrom-detect/try-usb=true priority=critical --
For testing purposes however, I would like to have multiple versions on one stick. This would mean that subdirectories have to be used for unpacking an iso. Something like /dharma, /camelot or even /iso/dharma, /iso/camelot
Now, I've managed to run the "Live" menitem using the "live-media-path=" parameter. Like this (grub4dos):
Code:
title XBMC Live
find --set-root /boot/iso/Dharma/live/initrd.img
kernel /boot/iso/Dharma/live/vmlinuz live-media-path=/boot/iso/Dharma/live/ boot=live xbmc=autostart,tempfs,setvolume splash quiet loglevel=0 persistent quickreboot quickusbmodules notimezone noaccessibility noapparmor noaptcdrom noautologin noxautologin noconsolekeyboard nofastboot nognomepanel nohosts nokpersonalizer nolanguageselector nolocales nonetworking nopowermanagement noprogramcrashes nojockey nosudo noupdatenotifier nouser nopolkitconf noxautoconfig noxscreensaver nopreseed union=aufs
initrd /boot/iso/Dharma/live/initrd.img
It will produce some minor errors (stdin), but it will execute fine.
The "install" menu item fails unfortunately if execute from any other path other than the Root. It's initiated fine but after a few steps in the installer it complains the CDrom could not be mounted (probably searching in the root somewhere)
Is there a parameter that will have the installer look in the right subdirectory or does something else needs to be altered?