janandababu Posted November 25, 2010 Share Posted November 25, 2010 In my cdshell script i have to call grldr. Because it is having the separate menu with grub4dos.please provide me process.Thanks in advance.sorry for my bad english Link to comment Share on other sites More sharing options...
jaclaz Posted November 25, 2010 Share Posted November 25, 2010 (edited) Try simply:chain \grldr(of course you need grldr in root)BUT:http://www.cdshell.org/doc/cmdref.html#chainchain <filename> 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.BINThe XPBOOT.BIN needs to be hexedited, as an example, from (see here for reference):http://flyakite.msfn.org/xpprosp1.htmfrom:SETUPLDR.BINBOOTFIX.BINI386to something like:SETUPLDR.BINBOOTFIX.BING4D1and grldr put in \G4D1\, renamed to BOOTFIX.BINCompare with:http://www.911cd.net/forums//index.php?showtopic=19124http://www.boot-land.net/forums/index.php?showtopic=12292jaclaz Edited November 25, 2010 by jaclaz Link to comment Share on other sites More sharing options...
janandababu Posted November 26, 2010 Author Share Posted November 26, 2010 (edited) Hi jaclaz, 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.BIN3. 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.BIN7. Finally we have to place the grldr.mbr and grldr into root. That's it.Please correct me my assumption Edited November 26, 2010 by janandababu Link to comment Share on other sites More sharing options...
jaclaz Posted November 26, 2010 Share Posted November 26, 2010 Those were only various suggestions, meant as a base for you to experiment..You have everything right, only in point #7 you do not need grldr.mbr in root (as it is not called by anything.jaclaz Link to comment Share on other sites More sharing options...
cmos Posted March 8, 2011 Share Posted March 8, 2011 (edited) Maybe for janandababu is late, but if someone else need it ......As jaclaz said in this one :...BTW, just for the record, grub4dos is CaSe SeNsItIvE on CDFS.jaclazwe 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 :... you do not need grldr.mbr in root (as it is not called by anything.jaclazOnce again jaclaz thank you for your endless support and help ! God bless you ! Edited March 8, 2011 by cmos Link to comment Share on other sites More sharing options...
jaclaz Posted March 8, 2011 Share Posted March 8, 2011 Open grldr with your preferred hexeditor, find menu.lst and replace with MENU.LST . You can change the path too, if you need it .AFAIK NOT needed anymore.Embedded menu.lst in grub4dos 0.4.4 10-16-2009 "current release":http://reboot.pro/14/http://nufans.net/grub4dos/current_release/configfiledefault 0timeout 1title 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 commandlinetitle commandline commandlinetitle reboot reboottitle halt haltBUT newer versions (experimental) like latest here:http://code.google.com/p/grub4dos-chenall/downloads/listconfigfiledefault 0timeout 1title 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 commandlinetitle commandline commandlinetitle reboot reboottitle halt haltAnd you can avoid the hexediting, there is a tool for it, grubmenu.exe :http://reboot.pro/12591/inside good ol' grubutils:http://nufans.net/grub4dos/grubutil/grubutil-1.1-bin-w32-2007-07-24.zipjaclaz Link to comment Share on other sites More sharing options...
janandababu Posted April 15, 2011 Author Share Posted April 15, 2011 It is working fine as expected after long time.Thanks & Regards,Anand Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now