Hello dear guest!

Boot Land is a community driven pc software site established since 2006 and focused on recovery/backup boot disks, research of Microsoft Windows 2000/XP/2003/Vista/7 install/deployment/lease/antivirus/antispam tools, customizing Microsoft Windows PE administration systems and even learning how to recover computer data from disaster situations!

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register


 Grub4dos Guide/Tutorial
post Jul 14 2008, 08:01 PM
Post #1
diddy
Member   **
Group: Tutorial Writer

  Joined: 3-July 08
Posts: 78
Thank(s): 43


After harassing Jaclaz and ilko countless times over the past few weeks I have finally, with their help, completed a grub4dos guide. Many thanks to Jaclaz and ilko for their input, suggestions and support thumbsup.gif .

Feel free to post any errors or feedback good or bad. The guide is available here a downloadable version is also available.

diddy

Updated - 18th July 2008
Guide updated to version 1.1 following feedback from tinybit - see below.

Updated - 19th February 2009
Guide updated to version 1.2

Updated - 22nd April 2009
Guide updated to version 1.3

Updated - 17th May 2009
Guide updated to version 1.4


--------------------


11 user(s) said "Thank you!" to diddy for this fantastic post:
AccesS, amalux, Blue Life, dr_wael, EverWin, GeekToMe, kniled, maanu, rasker, rawral, tinybit
+Quote Post
8 Pages V  < 1 2 3 4 > »   
Start new topic
Replies (10 - 19)
post Sep 22 2008, 10:05 AM
Post #11
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,226
Thank(s): 561


Italy


With all due respect to our U.S. friends, the language is called English, and rather obviously the fact that you have to specify "U.S. English" or "American English", means that it is NOT the "real thing".
http://www.bartleby.com/68/36/3436.html
QUOTE
-ise, -ize (suffix)


is an extremely prolific word-forming suffix, and many conservatives balk at what appears to be unnecessary invention and overuse of the device to coin such originally nonce words as concretize, computerize, pauperize, and the like. Americans make more use of -ize; Britons use more of -ise, but there are many American spellings with -ise as well.


Both suffixes are commonly accepted, but the -ise one does look more "British".

By the way, there is even people that use the term "amlish" for the "american way" of using English wink.gif:
http://www.accomodata.co.uk/amlish.htm

Of course all the "English" we commonly write and talk has had some influences from American English, and it is very difficult to distinguish American terms that have become common use in English from "wrong" ones, but when we are talking about spelling, I guess that British English should always prevail.

Personally I find that calling a dinner jacket "tuxedo" (American) or "smoking" (Italian) is a crime against logics and semantics:
http://en.wikipedia.org/wiki/Black_tie
roll1.gif

jaclaz


--------------------

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post
post Sep 22 2008, 10:28 AM
Post #12
Xtremee
Member   **
Group: Advanced user

  Joined: 8-August 06
Posts: 46
Thank(s): 2


@ ilko & Galapo & jaclaz

Thanks for the info I really don't know that.

afro.gif blush.gif wub.gif
+Quote Post
post Nov 13 2008, 06:57 AM
Post #13
Climbing
Newbie   *
Group: Members

  Joined: 15-November 07
Posts: 24
Thank(s): 5


China


I suggest to add some contents to the guide as below:

1. grldr.mbr can also be used to load grldr under Windows NT. for example:

edit boot.ini just like below:
CODE
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn /PAE /3GB
c:\boot\grldr.mbr="Grub4DOS by grldr.mbr"
c:\grldr="Grub4DOS by grldr"


2. grldr can also be loaded by PXE as PXE boot file. after boot through PXE, it will use (pd) as the TFTP Server device.
map --mem (pd)/someimg.img (fd0)
map --hook
...

3. about PXE, you can use pxelinux to switch to grub4dos just as syslinux does, but you can keep the pxe stack and let grub4dos can access the (pd) device.

pxelinux.cfg:
CODE
LABEL grub4dos.pxe
MENU LABEL GRUB4DOS with PXE
kernel /grub.exe
append keeppxe


ALSO in (pd)/menu.lst/default you can do this:
CODE
title Return to PXELinux
pxe keep
chainloader --force --raw (pd)/pxelinux.0

title Load grub.exe with PXE support
pxe keep
terminal console
kernel (pd)/grub.exe

title Load grldr with PXE support
pxe keep
terminal console
chainloader --force --raw (pd)/grldr


At last, please forgive my poor English.
2 user(s) said "Thank you!" to Climbing for this fantastic post:
ilko, river~~
+Quote Post
post Nov 13 2008, 01:34 PM
Post #14
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,226
Thank(s): 561


Italy


@Climbing

Thanks for the update smile.gif, I am sure that diddy will include them in next "revision" of the guide.

But two questions, one maybe worth something, the second pretty much noobish:
1) What are the advantages (if any) or drawbacks (if any) in using grldr.mbr instead of grldr in BOOT.INI? unsure.gif
I mean, if I am not mistaken, the "job" of grldr.mbr is simply that of starting grldr, so I cannot see the usefulness of this "added step".

2) About PXE booting I have a number of perplexities - mainly because I did some experiments with PXE booting only a long time ago and I am not at all "familiar" with the process.
Could you post (or PM me if you prefer) a single "from beginning to actual boot" example (I mean a real world example, with actual settings used and known to work), including the settings of the TFTP server, some details of the OS/image booted through PXE and the like?
Even if you do not trust your English (in which I can see no problems, BTW wink.gif) it would be useful, as I could try and "fill the blanks" and "pass" it to diddy so that he can edit it in "real English" and add to the guide a complete set of instructions.
I see bits and pieces of the process, here and there, on the board and on the grub4dos readme_grub4dos.txt but I am failing to catch the thing in its entirety.

cheers.gif

jaclaz


--------------------

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post
post Nov 14 2008, 03:38 AM
Post #15
Climbing
Newbie   *
Group: Members

  Joined: 15-November 07
Posts: 24
Thank(s): 5


China


@jaclaz

Thanks. (BTW: The word "noobish" is hard to understand. I googled it for a long time. Finally got it.)

My answers to your questions:

1) about using grldr.mbr to load grub4dos. I think grldr.mbr just like a boot sector of grldr as well as bootsect.dos to IO.SYS(MS-DOS). and in some situation, user want grldr has customized name such as mygrldr, foo.ldr ... etc. then he can use grubinst to edit grldr.mbr to do this:
CODE
grubinst  -b=mygrldr -o grldr.mbr


also, you can use :
CODE
grubinst -e -b=mygrldr grldr
ren grldr mygrldr
copy mygrldr c:\
echo c:\mygrldr="grub4dos" >> c:\boot.ini

similar way to customized the grldr name.

grldr.mbr needn't have to put in drives root directory. Also, some one want to load grub4dos under NT and Vista in the same way. then using grldr.mbr is the only way.

2) I think you want me give the steps to setup a PXE server and use grldr as the boot file. ok, following:

PXE server = DHCP Server + TFTP Server.

How to setup DHCP Server and TFTP Server, there are many documents on the internet, just google it.

DHCP Server settings for PXE:
Option:066(boot server) = IP address of the TFTP Server.
Option:067(boot file) = grldr

TFTP Server settings for PXE:
suppose the TFTPServer root is: c:\tftproot, pxemenu.lst is the PXE boot menu for grub4dos.
CODE
copy grldr c:\tftproot
copy grub.exe c:\tftproot
md c:\tftproot\menu.lst
copy pxemenu.lst c:\tftproot\menu.lst\default
copy memdisk.gz c:\tftproot
copy pxelinux.0 c:\tftproot


then setup PXE Server done!

You can simply use TFTPD32(who include DHCP and TFTP Server in one program) in windows (NT) to setup a PXE Server for simple use or test.

you can downloads files above at: http://nufans.net/upload/pxe/tftpd32


TFTD32 Settings:


DHCP Server Settings of TFTD32:


When you setuped the PXE Server, you can try boot the computer from PXE(in a LAN with the PXE Server).

Hope this can help.

Climbing
2 user(s) said "Thank you!" to Climbing for this fantastic post:
ilko, river~~
+Quote Post
post Dec 2 2008, 01:23 PM
Post #16
Twilight Cruiser
Newbie   *
Group: Members

  Joined: 27-November 08
Posts: 10
Thank(s): 0


Germany


Hi diddy,

great piece of work!
Hard to get through because it's so comprehensive, but a great help in understanding and handling GRUB4DOS (which is a real great boot manager tool)! worship.gif

Greetings
Norbert
+Quote Post
post Jan 1 2009, 08:14 PM
Post #17
JonF
Gold Member   *****
Group: .script developer

  Joined: 7-January 07 From: Boston, MA

Posts: 1,150
Thank(s): 217


United States


Minor error at http://diddy.boot-land.net/grub4dos/files/map.htm, at the end of the first paragraph after the bulleted list: "Either of the following programs can be used to defragment a file that is contiguous" should be "Either of the following programs can be used to defragment a file that is not contiguous".
1 user(s) said "Thank you!" to JonF for this fantastic post:
Nuno Brito
+Quote Post
post Jan 3 2009, 08:06 PM
Post #18
mr_
Frequent Member   ***
Group: Members

  Joined: 19-June 08
Posts: 357
Thank(s): 9


Germany


The tips from here http://www.boot-land.net/forums/index.php?showtopic=6614 could be potentially added to this guide if a pxe part will be introduced.
+Quote Post
post Jan 3 2009, 09:29 PM
Post #19
Icecube
Silver Member   ****
Group: Advanced user

  Joined: 7-September 08
Posts: 577
Thank(s): 146


Belgium


The Installing Grub4dos part doesn't mention, booting grub4dos via (legacy) grub for the linux folks rolleyes.gif .

Load via Grub
Copy grub.exe to /boot/.
Add the following section in your /boot/grub/menu.lst file.
CODE
title Grub4dos
root (hd1,0)
kernel /boot/grub.exe

Change the root (hd1,0) command to the right drive and partition for your PC.


--------------------
Use Parted Magic for handling all partitioning task. Download Parted Magic 4.10.
Parted Magic and grub4dos iso emulation

Ultimate Boot CD V5 forum for features and suggestions. Download Ultimate Boot CD v5.0 RC2 with grub4dos support.

The Syslinux Project: Stable releases: download link. Last test builds: download link.
ISO booting capable MEMDISK
+Quote Post
post Jan 15 2009, 06:05 PM
Post #20
rasker
Newbie   *
Group: Members

  Joined: 20-June 08 From: London, UK

Posts: 20
Thank(s): 0


United Kingdom


Really a great guide. Well done! Perhaps it should form the basis of the official documentation.

Cheers
R
+Quote Post

8 Pages V  < 1 2 3 4 > » 
Reply to this topic
3 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts grub4dos multiboot (dir+files) (link updated) MU
My 8GB configuration files and dir directories for downloading
6 KAOZ23 913 Today, 06:25 AM
Last post by: KAOZ23
No new Pinned: grub4dos, .iso images and (hd32) or (0xFF) mapping
Post here ONLY reports of working setups!
62 was_jaclaz 165,268 14th June 2010 - 03:23 PM
Last post by: Chaos_Cubed
No New Posts GRUB4DOS + WinVBlock
12 Sha0 511 10th June 2010 - 03:30 PM
Last post by: Sha0
No New Posts GRUB4DOS Maintainer
2 Sha0 313 6th June 2010 - 09:50 AM
Last post by: Wonko the Sane
No New Posts Grub4Dos Theme Boot
How to boot custom Grub theme
1 Jordan Deater 391 4th June 2010 - 06:35 PM
Last post by: Wonko the Sane