Hi folks, can someone here help me edit already made Xboot usb stick and add more .iso(LiveCD) files? Its using syslinux as bootloader with fallback to grub.
I tried doing this myself by manually editing linux.cfg, just by copying the already made text for Puppy Linux and Peppermint 5 - and then just change the name to the .iso I wanted to add - and it worked for some but not all.
Newest LTS Lubuntu 14.04.04 - I used Peppermint 5 string - Lubuntu started counting sectors then at 726 it went on to the LiveCD boot menu were you can choose to "Try without installing" - choosing this option ends up in initramfs> and something about it can't find bootable media.
If I(at the LiveCD menu) press F6 then edit the boot string and remove quiet splash and instead add live-media=/dev/sdb1 then it boot into Lubuntu.
So do anyone have a solution that I can add to linux.cfg that will make Lubuntu figure out that its running from usb and not CD and so I don't always have to wait for the sector count and having to add the live-media=/dev/sdb1 to the boot string?
Also I like to add Elementary OS to my usb stick - anyone have the string for that to put in linux.cfg?
Also I like to add GhostBSD to my usb stick - anyone know how to do that, and if it will work with syslinux or it has to be added to grub instead(then how to do that?).
Pelase don't tell me to google it - I already did but did not find answers to my questions - mostly I just find how to add iso files to Xboot(already did that) and not how to edit linux.cfg with the correct strings. Or I find info that I should rename isolinux.cfg to syslinux.cfg and move it to root - tried that(now my usb had no menu).
Hope someone can help:)
With kind regards and hope for quick response
JBJ
syslinux.cfg:
MENU title XBOOT DVD
INCLUDE /boot/syslinux/theme.cfg
TIMEOUT 100
### MENU START
LABEL -
MENU LABEL Boot from Hard Disk
MANU START
MENU DEFAULT
COM32 chain.c32
APPEND hd1 1 swap
### MENU END
### MENU START
LABEL -
MENU LABEL Rescue CD
KERNEL /boot/syslinux/vesamenu.c32
APPEND /boot/syslinux/eccbbgeej.cfg
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL Linux
KERNEL /boot/syslinux/vesamenu.c32
APPEND /boot/syslinux/linux.cfg
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL Utility
KERNEL /boot/syslinux/vesamenu.c32
APPEND /boot/syslinux/utility.cfg
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL Help!
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/help.iso || find --set-root /images/help.iso;map --heads=0 --sectors-per-track=0 /images/help.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/help.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END
linux.cfg:
MENU TITLE Linux
INCLUDE /boot/syslinux/theme.cfg
INCLUDE /boot/syslinux/mainmenu.cfg
### MENU START
LABEL -
MENU LABEL Puppy Linux
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/precise.iso || find --set-root /images/precise.iso;map --heads=0 --sectors-per-track=0 /images/precise.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/precise.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL peppermint5
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/peppermint.iso || find --set-root /images/peppermint.iso;map --heads=0 --sectors-per-track=0 /images/peppermint.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/peppermint.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL systemback-live-eng
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/systembackliveeng.iso || find --set-root /images/systembackliveeng.iso;map --heads=0 --sectors-per-track=0 /images/systembackliveeng.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/systembackliveeng.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END
### MENU START
LABEL -
MENU LABEL LxQtPup-14.12.01-s-nopae
LINUX /boot/syslinux/grub.exe
APPEND --config-file="ls /images/lxqtpup.iso || find --set-root /images/lxqtpup.iso;map --heads=0 --sectors-per-track=0 /images/lxqtpup.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/lxqtpup.iso (0xff);map --hook;chainloader (0xff)"
TEXT HELP
ENDTEXT
### MENU END
Grub4Dos> linux.lst:
color magenta/white white/magenta black/white black/white
### MENU END
title MAIN MENU
configfile /menu.lst
### MENU END
### MENU START
title Puppy Linux\n
ls /images/precise.iso || find --set-root /images/precise.iso
map --heads=0 --sectors-per-track=0 /images/precise.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/precise.iso (0xff)
map --hook
chainloader (0xff)
### MENU END
### MENU START
title peppermint5\n
ls /images/peppermint.iso || find --set-root /images/peppermint.iso
map --heads=0 --sectors-per-track=0 /images/peppermint.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/peppermint.iso (0xff)
map --hook
chainloader (0xff)
### MENU END
### MENU START
title systemback-live-eng\n
ls /images/systembackliveeng.iso || find --set-root /images/systembackliveeng.iso
map --heads=0 --sectors-per-track=0 /images/systembackliveeng.iso (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/systembackliveeng.iso (0xff)
map --hook
chainloader (0xff)
### MENU END
Edited by Insomniacno1, 28 February 2016 - 09:15 AM.