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  « < 6 7 8  
Start new topic
Replies (70 - 77)
post Feb 18 2010, 12:08 PM
Post #71
ireneuszp
Frequent Member   ***
Group: Advanced user

  Joined: 29-September 06
Posts: 151
Thank(s): 39


Poland


grldr editer

download link:
http://www.megaupload.com/?d=9J84TRCI
or
http://docs.google.com/uc?id=0B6rhKRgmLefC...nload&hl=en

wink.gif


--------------------
g4d -> http://code.google.com/p/grub4dos-ireneuszp/
http://rapidshare.com/users/t52tjp

root@linux:~$ apt-get remove windows
+Quote Post
post Feb 18 2010, 12:23 PM
Post #72
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 1,438
Thank(s): 155


Italy


@ireneuszp
Have any of these files a homepage?

Or we just have to click on a link and get a file?

As an example, last one, contains a single .exe GRLDR.EXE.

Are people supposed to just double click on it?

Or can you post also a link to where it came from, or, a short description/howto?

This way less experienced people might be able to actually use it.

Again, for the last link:
GRLDR Editer is an editor for the embedded menu in grldr.
Start it, you will see two buttons with question marks (it is probably a Chinese originated app).
The top one is "Open".
The bottom one is "Save".
Click on the "Open" button, and choose a copy of grldr.
You will see the embedded menu in it.
Modify it as you wish.
Click on the "Save" button.


cheers.gif

Wonko


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

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post
post Feb 18 2010, 04:03 PM
Post #73
maanu
Silver Member   ****
Group: Advanced user

  Joined: 31-October 08
Posts: 868
Thank(s): 137


Pakistan


the best Grldr editor is fbinst Tool . the one linked in above post has a bug , it changes the date of grldr to a specific old one . by the way it is from the author of fbinst tool too .

1 user(s) said "Thank you!" to maanu for this fantastic post:
ireneuszp
+Quote Post
post Apr 12 2010, 05:51 AM
Post #74
mlt
  
Group: Members

  Joined: 10-April 10
Posts: 1
Thank(s): 0


United States


It would be nice if grldr tried (hd0) in search for menu.lst as a last resort.

I followed alternative method 2 installing Grub4dos into my flash drive by renaming it to ntldr. I was surprised when I saw default menu instead of my menu.lst upon reboot. Flash was formatted as a single NTFS partition starting as sector 0 without MBR as it appeared to be.I was lazy to reformat it since it already had a lot of stuff. So I slightly modified grldr with editor for default menu to include root(hd0) as a first line instead of 'errorcheck off'. Default menu can be found at the very end of the grldr 0.4.4 Use overwrite mode of editor instead of default insert one. This workaround works fine for me though with some flickering in the beginning.
+Quote Post
post Apr 13 2010, 07:10 PM
Post #75
www
Newbie   *
Group: Members

  Joined: 7-April 10
Posts: 11
Thank(s): 0


Austria


Thank you to the creators and documenters of this very nice tool. I found it useful for setting up an XP/Fedora linux dual boot. For loading linux I did something that seemed easier and more maintainable to me than the documented process. When I installed Linux I asked that the boot information be written to the /boot partition and not the MBR. I was then able to boot linux using the chainloader as follows:

timeout 10

title Windows at (hd0,0)
root (hd0,0)
chainloader +1

title Linux at (hd0,2)
root (hd0,2)
chainloader +1

This way I can let XP own the MBR and not have to know what files linux needs or change them if the kernel gets updated. I don't know how many linuces this would work for, but it seems simpler for Fedora and if others agree, might be worth adding to the documentation. I could even make some suggested changes to the docs for submission to whoever is responsible if wanted. I'll check back in a few days and see if that is desired.

Keith I. (logged in generically)
+Quote Post
post May 10 2010, 07:43 AM
Post #76
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 1,438
Thank(s): 155


Italy


QUOTE (www @ Apr 13 2010, 08:10 PM) *
This way I can let XP own the MBR and not have to know what files linux needs or change them if the kernel gets updated. I don't know how many linuces this would work for, but it seems simpler for Fedora and if others agree, might be worth adding to the documentation. I could even make some suggested changes to the docs for submission to whoever is responsible if wanted. I'll check back in a few days and see if that is desired.


Well, NO.
You have two separate partitions, each with it's own bootsector (or PBR) code, which you alternatively load through "something".
There are only three places where you can normally have boot code:
  1. the MBR
  2. the PBR (or boot record) of first partition (hd0,1)
  3. the PBR (or boot record) of second partition (hd0,2)


From what you report, the PBR on (hd0,1) is the XP PBR (invoking NTLDR) and the PBR on (hd0,2) is the "whatever" Linux installed (typically a GRUB - not grub4dos bootsector).

The "something" can then be residing ONLY in the MBR.

The default XP MBR can ONLY directly boot - without any choice possible - the PBR of the partition marked active in the partition table (also inside the MBR), no more, no less.

So, what you reported is either (no offence intended smile.gif) inaccurate or missing some steps/details.

The only "possible" explanation I can see right now is that you have three partitions and have grub or grub4dos in the third one. unsure.gif

Please try detailing the steps you took, which version of grub4dos you used (if any) or what version of GRUB (coming form Fedora) you are using, how you did the partitioning, etc., etc. smile.gif
FYI the normal booting process of a linux distro (most use GRUB) is:
BIOS->GRUB MBR->menu.lst->whatever
BIOS->Standard MBR->GRUB PBR of active partition->menu.lst->whatever
(things are slightly different if GRUB2 is used, but substantially the same)

The normal booting process of a XP is:
BIOS->Standard XP MBR->Standard XP PBR of active partition->NTLDR->BOOT.INI->whatever

cheers.gif
Wonko


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

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post
post May 23 2010, 03:45 AM
Post #77
Lama
Member   **
Group: Members

  Joined: 24-January 10
Posts: 63
Thank(s): 1


United States


Hi! Quick question!

I installed 3 OSes on my system.
01. OSX
02. 7
03. XP
04. (X.IMG tongue.gif )

Now, once I'm done with installations, I want to save OS changed MBR to file and then boot it from Grub4Dos. Bootice allowed me to save huh.gif Can I boot those MBRs with this?

CODE
title find and load MBR01.SAV
fallback 1
find --set-root --ignore-floppies --ignore-cd /MBR01.SAV
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /MBR01.SAV
chainloader /MBR01.SAV
savedefault --wait=2
+Quote Post
post May 23 2010, 09:00 AM
Post #78
Wonko the Sane
Gold Member   *****
Group: Advanced user

  Joined: 8-January 10 From: The Outside of the Asylum

Posts: 1,438
Thank(s): 155


Italy


@Lama
Why don't you simply try it? unsure.gif

Usually this kind of things either:
  • work
  • do not work


From a pure syntax standpoint, you can use hook instead of rehook, and you may save some time by not re-searching for the file and directly establishing root on (hd0,0).

I am not at all sure that the () that you get is mappable to a whole (hd0). dubbio.gif

cheers.gif
Wonko


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

Light Blue Ribbon Campaign for Freedom of Skin

But ... then, why?
+Quote Post

8 Pages V  « < 6 7 8
Reply to this topic
2 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