Boot Grud4dos from SARDU
#1
Posted 14 June 2010 - 03:15 AM
I have created a menu entry and a folder called GRUB4DOS, then copied grub.exe, menu.lst, and grub4dos.cfg into folder.( I created grub4dos.cfg based on bt4.cfg)
When tested, Grub4dos starts to load and hangs instead of loading menu.
1. Is it possible to do this?
2. If so, am I on the right track?
3. Would this be a solution for people to add there own favorite bootable apps, without you having to specifically add each one to SARDU for them?
Thanks.
#2
Posted 14 June 2010 - 06:39 AM
Hi
Just came across this topic and hopefully your sorted now but just in case what you ask is something I wanted to do and managed to suss out recently. Mine works the other way round though, I boot to SARDU (nicer menu ) the just added a few menu lines so I can I switch to my grub4dos toolkit AND back again. It's very simple. Here are the steps I took, you may need to change the order of things.
1. RUN SARDU and choose all your tools! (MAKE USB! NOT ISO<==X)
2. In this menu \syslinux.cfg now on the root of the USB you need to add an entry to your grub for DOS section (keep reading because you can reverse in a second for your needs)
so in mine I have...
#
LABEL -
MENU LABEL Menu Dexter's Powersau v.1.01
MENU INDENT 1
TEXT HELP
This entry will bring you to Dexters Toolkit
ENDTEXT
BOOT /boot/grub/grldr
#
Now notice in red that all it points to is GRLDR as soon as I select this it loads G4Dos and then whatever menu.lst is on usb root loads and I can load anything from there!
Now for your request..
3. Now here is the entry in G4Dos that switches BACK to SARDU via isolinux.....
title Return to SARDU\n This entry will bring you back to the ISOLINUX/SYSLINUX menu (SARDU!)
chainloader /boot/isolinux/isolinux.bin || chainloader +1
So there you have it, that simple, just reverse this and you should be switching between the too with no problem.
Just so you know, I noticed UBCD5 had some options in its menus to switch between g4d & syslinux so pinched the technique from there lol.
I also tried SARDU as one big ISO boot from usb but lots of things went wrong hence the need to switch, like you find too!
NB. If you didnt have UBCD5 in your iso then the path to your GRLDR will differ (where ever you keep it) but it's the same file regardless so I cant see why it wont work.
Again the path to isolinux.bin came the UBCD5 iso created in sardu. However I should have thought pointing to any isolinux.bin file. But dont quote me on that lol. If in doubt doubt just update SARDU USB to include under utility @UBCD@
Goodluck !
#3
Posted 14 June 2010 - 07:51 AM
Hi Davide Costa, I have been trying to boot Grub4dos from sardu, so that I can add a folder to my SARDU install (on a USB-HDD) and add extra iso files.
I have created a menu entry and a folder called GRUB4DOS, then copied grub.exe, menu.lst, and grub4dos.cfg into folder.( I created grub4dos.cfg based on bt4.cfg)
When tested, Grub4dos starts to load and hangs instead of loading menu.
1. Is it possible to do this?
2. If so, am I on the right track?
3. Would this be a solution for people to add there own favorite bootable apps, without you having to specifically add each one to SARDU for them?
Thanks.
Copy grub.exe and menu.lst into extra folder
Add this code in syslinux menu (extra.cfg)
#boot from GRUB label Boot from GRUB menu label Boot from ^GRUB MENU INDENT 1 kernel /extra/grub.exe APPEND --config-file=/extra/menu.lst
To go back to syslinux from GRUB add this code in menu.lst
#Back to Syslinux title Back to Syslinux find --set-root --ignore-floppies /isolinux.bin chainloader --force /isolinux.bin boot
#4
Posted 15 June 2010 - 10:40 AM
#5
Posted 30 October 2010 - 02:57 PM
#6
Posted 30 October 2010 - 02:59 PM
#7
Posted 30 October 2010 - 03:22 PM
i deactivate, and reactivate
nothing ?
#8
Posted 30 October 2010 - 04:10 PM
#9
Posted 30 October 2010 - 05:20 PM
I use sardu 2b5
#10
Posted 30 October 2010 - 06:07 PM
If yes you can edit the file adding your entries of configuration. SARDU, when the file is largest add the menu into main menu.
If there isn't the file extra.cfg try to delete the folder and reactivate the extra folder from menu File.
#11
Posted 01 November 2010 - 10:06 AM
All is ok now
my menu.lst (extra menu)
title Winteranals ERD Commander firadisk 1
map --mem /extra/Firadisk.ima (fd0)
map --mem /extra/WintERD2007.iso (hd32)
map --hook
chainloader (hd32)
#Back to Syslinux
title Back to Syslinux
find --set-root --ignore-floppies /isolinux.bin
chainloader --force /isolinux.bin
boot
Now I boot ErdCommander direct from iso
but the second menu (back to syslinux) don't work
#12
Posted 01 November 2010 - 12:11 PM
#boot Menu Isolinux title <== Return to Isolinux chainloader /isolinux.bin || chainloader +1
btw menu.lst with extra folder doesn't depend on sardu
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users