Load grub4dos from CDShell
#1
Posted 25 November 2010 - 03:11 AM
please provide me process.
Thanks in advance.
sorry for my bad english
#2
Posted 25 November 2010 - 06:54 AM
chain \grldr
(of course you need grldr in root)
BUT:
http://www.cdshell.o...dref.html#chain
Quote
chain <filename> <address> [start]
The chain command is used to chain-load a boot sector or other such boot image file. One of the more common uses of this command is to load a Windows CD-ROM boot sector image file to make a bootable Windows installation disk. This command is not for booting images that require hardware emulation (eg. floppy or hard disk images).
The filename parameter specifies the boot image file to chain-load. The image file size is limited to 64kb.
It probably won't work,
Then you can try:
chain \grldr.mbr
(of course you need BOTH grldr.mbr grldr in root)
OR try chainloading a standard 2K/XP no.emulation boot record (Arnes Boot Record or Microsoft Corporation.img) 2048 bytes in size.
chain \XPBOOT.BIN
The XPBOOT.BIN needs to be hexedited, as an example, from (see here for reference):
http://flyakite.msfn.org/xpprosp1.htm
from:
SETUPLDR.BINBOOTFIX.BINI386
to something like:
SETUPLDR.BINBOOTFIX.BING4D1
and grldr put in \G4D1\, renamed to BOOTFIX.BIN
Compare with:
http://www.911cd.net...showtopic=19124
http://www.boot-land...showtopic=12292
jaclaz
This post has been edited by jaclaz: 25 November 2010 - 06:54 AM
#3
Posted 26 November 2010 - 01:43 AM
Very very thanks to given the solution. As per your information my assumption is mentioned in below. correct me if i did wrong assumption:
1. I will create XPBOOT.BIN file from XP CD.
2. In cdshell script, i will write to call for grub4dos menu.
i.e. chain \XPBOOT.BIN
3. Open the XPBOOT.BIN with hexeditor and find the I386 and replace with G4D1(i think only one time we have to replace)
4. Create a folder called G4D1 in the root.
5. Copy the grldr file and place into G4D1 folder.
6. Now go to G4D1 folder and select the grldr file and rename to BOOTFIX.BIN
7. Finally we have to place the grldr.mbr and grldr into root.
That's it.
Please correct me my assumption
This post has been edited by janandababu: 26 November 2010 - 01:52 AM
#4
Posted 26 November 2010 - 06:22 AM
You have everything right, only in point #7 you do not need grldr.mbr in root (as it is not called by anything.
jaclaz
#5
Posted 08 March 2011 - 10:36 AM
As jaclaz said in this one http://www.msfn.org/...s-from-cdshell/ :
jaclaz, on 24 April 2009 - 02:37 AM, said:
BTW, just for the record, grub4dos is CaSe SeNsItIvE on CDFS.
jaclaz
we must hexedit the grldr if our cd/dvd/iso is UPPERED !
Open grldr with your preferred hexeditor, find menu.lst and replace with MENU.LST . You can change the path too, if you need it .
And i can confirm this one :
jaclaz, on 26 November 2010 - 06:22 AM, said:
jaclaz
Once again jaclaz thank you for your endless support and help ! God bless you !
This post has been edited by cmos: 08 March 2011 - 10:37 AM
#6
Posted 08 March 2011 - 12:53 PM
cmos, on 08 March 2011 - 10:36 AM, said:
AFAIK NOT needed anymore.
Embedded menu.lst in grub4dos 0.4.4 10-16-2009 "current release":
http://reboot.pro/14/
http://nufans.net/gr...urrent_release/
Quote
default 0
timeout 1
title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
errorcheck off
configfile /menu.lst
configfile /boot/grub/menu.lst
configfile /grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title commandline
commandline
title reboot
reboot
title halt
halt
BUT newer versions (experimental) like latest here:
http://code.google.c.../downloads/list
Quote
default 0
timeout 1
title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
errorcheck off
configfile /menu.lst || configfile /MENU.LST
configfile /boot/grub/menu.lst || configfile /BOOT/GRUB/MENU.LST
configfile /grub/menu.lst || configfile /GRUB/MENU.LST
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title commandline
commandline
title reboot
reboot
title halt
halt
And you can avoid the hexediting, there is a tool for it, grubmenu.exe
http://reboot.pro/12591/
inside good ol' grubutils:
http://nufans.net/gr...-2007-07-24.zip
jaclaz
#7
Posted 15 April 2011 - 12:29 AM
Thanks & Regards,
Anand



Help
Back to top









