Anyone able to chainload syslinux menu from BURG? I am looking for direct chainloading not via grub4dos (that i have seen around).
Background:
Multiboot usb with BURG as the primary bootloader. I have syslinux menu working with many small utilities. I want BURG to call syslinux so that the utilities become available. Can you please tell me what could be the BURG menu entry?
Regards
Chainloading Syslinux from BURG?
Started by
pokemon1
, Mar 21 2011 08:48 PM
8 replies to this topic
#1
Posted 21 March 2011 - 08:48 PM
#2
Posted 21 March 2011 - 10:59 PM
I'm not really familiar with BURG, but SYSLINUX and EXTLINUX are loaded by a boot sector. So you would need to chain-load either a boot sector with one of those installed, or would need to chain-load a boot sector file which you captured while one of those was installed.Can you please tell me what could be the BURG menu entry?
#3
Posted 22 March 2011 - 12:10 AM
Are you referring to chainloading xxxlinux.bin file? can you please elaborate?
BURG is GRUB2 fork with lots of grub4dos features actively developed by Bean. Here is the link to project page http://code.google.com/p/burg/
Thanks for your reply
BURG is GRUB2 fork with lots of grub4dos features actively developed by Bean. Here is the link to project page http://code.google.com/p/burg/
Thanks for your reply
#4
Posted 22 March 2011 - 10:47 AM
The HDD Syslinux variants I mentioned are not a single binary; they are one part boot sector and one part LDLINUX.SYS. If EXTLINUX is installed to /dev/sda2, you'd save the boot sector with:
dd if=/dev/sda2 of=bootsect.bin bs=512 count=1Then you could install some other boot-loader to /dev/sda2 if you wanted to, because you have a backup of the boot sector. If you chain-load the bootsect.bin file, it will then load the rest of EXTLINUX from LDLINUX.SYS.
#5
Posted 22 March 2011 - 11:55 AM
Thanks Sha0, I will try and report back tonight.
#6
Posted 27 March 2011 - 01:53 AM
Success!!! Thanks a lot Sha0 
For those who are interested in little detail steps - please find below what I did;
1. Install Syslinux in USB MBR (in windows)
code: syslinux.exe -m -a -d /boot/syslinux z:
z: Replace this with your USB drive letter
2. Switch to Linux & backup the bootsector as suggested by Sha0, I used below command
code: sudo dd if=/dev/sdX of=/media/USB /boot/syslinux/syslinux.boot bs=512 count=1
X: Your USB Device
USB: Your USB device mount point
3. Install BURG [or GRUB2 - replace 'burg' with 'grub']
Code: burg-install --force --no-floppy --root-directory=/media/USB /dev/sdX
X: Your USB Device
USB: Your USB device mount point
4. Add below menu entry into burg.cfg to call syslinux menu
menuentry "Chainload Syslinux" {
search --set -f "/boot/syslinux/syslinux.boot"
drivemap -s (hd0) $root
chainloader /boot/syslinux/syslinux.boot
This adds lot of flexibilities in multiboot fun...
Cheers...
For those who are interested in little detail steps - please find below what I did;
1. Install Syslinux in USB MBR (in windows)
code: syslinux.exe -m -a -d /boot/syslinux z:
z: Replace this with your USB drive letter
2. Switch to Linux & backup the bootsector as suggested by Sha0, I used below command
code: sudo dd if=/dev/sdX of=/media/USB /boot/syslinux/syslinux.boot bs=512 count=1
X: Your USB Device
USB: Your USB device mount point
3. Install BURG [or GRUB2 - replace 'burg' with 'grub']
Code: burg-install --force --no-floppy --root-directory=/media/USB /dev/sdX
X: Your USB Device
USB: Your USB device mount point
4. Add below menu entry into burg.cfg to call syslinux menu
menuentry "Chainload Syslinux" {
search --set -f "/boot/syslinux/syslinux.boot"
drivemap -s (hd0) $root
chainloader /boot/syslinux/syslinux.boot
This adds lot of flexibilities in multiboot fun...
Cheers...
#7
Posted 27 March 2011 - 03:43 AM
One may also do it from within windows and save directly syslinux PBR as a file, it seems undocumented in syslinux docs:
http://reboot.pro/50...dpost__p__38935
syslinux.exe -f X: X:\syslin.dat
http://reboot.pro/50...dpost__p__38935
#8
Posted 27 March 2011 - 08:46 AM
Thanks ilko. yes never found this in syslinux doc. I will try this as well. many thanks for the suggestion.
#9
Posted 29 March 2011 - 10:42 AM
Hi ilko, yes syslinux.exe -f X: X:\syslin.dat is succesfully backing up the PBR as syslin.dat and im able to chain syslinux menu using that.
Many thanks.
Many thanks.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







