Jump to content











Photo
- - - - -

GRLDR in windows 7 or vista


  • Please log in to reply
8 replies to this topic

#1 mbzadegan

mbzadegan

    Member

  • Members
  • 80 posts
  •  
    Germany

Posted 11 November 2009 - 07:40 PM

Hi
How i can set grab4dos in boot manager of my 7 or vista windows with grldr ?
( how i could it such as xp with inserting grldr on boot.ini ?? )

#2 shamurshamur

shamurshamur

    Frequent Member

  • Developer
  • 322 posts
  •  
    India

Posted 12 November 2009 - 12:12 AM

Booting GRUB for DOS via the Windows NT/2000/XP/2003 boot manager

Add the following line at the end of boot.ini (this file is hidden):

C:\grldr="Start GRUB4DOS"

Then copy grldr to C:\, and create the GRUB4DOS configuration file at C:\menu.lst.

Next time you start windows, there is a new option "Start GRUB4DOS" which can be used to start GRUB for DOS.

Booting GRUB for DOS via the Windows Vista boot manager

Use bcdedit to configure the startup menu:

bcdedit /create /d "Start GRUB4DOS" /application bootsector
bcdedit /set {id} device boot
bcdedit /set {id} path \grldr.mbr
bcdedit /displayorder {id} /addlast

Then copy grldr.mbr to C:\, grldr and menu.lst to the root directory of any FAT16/FAT32/NTFS/EXT2 partition.

for more read here:
http://grub4dos.sour...al#Installation

#3 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 12 November 2009 - 08:15 AM

Hi
How i can set grab4dos in boot manager of my 7 or vista windows with grldr ?
( how i could it such as xp with inserting grldr on boot.ini ?? )


You read the §@ç#ing guide? :drunk:
http://www.boot-land...?showtopic=5187
http://diddy.boot-la...os/Grub4dos.htm
http://diddy.boot-la...all_windows.htm
http://diddy.boot-la...ws.htm#windows3

jaclaz

#4 slothman

slothman

    Newbie

  • Members
  • 20 posts
  •  
    United States

Posted 24 November 2009 - 07:16 AM

Unfortunately all the above guides I have seen have incorrect information with regards to multiboot with win7. The easiest way is by these 4 steps:

bcdedit /create /d "Start Grub4dos" /application bootsector

bcdedit /set {id} device partition=c:

bcdedit /set {id} path \grldr.mbr

bcdedit /displayorder {id} /addlast

After which the minimum you need to copy would be grldr and grldr.mbr to the root of the drive. Menu.lst would be a good idea too.

That ntldr and boot.ini trick referred to in your first thread might work, I'll try it real quick right now....
OK I tried it. It does not seem to work.

I still find it hard to believe this is the only way to multiboot with win7, there have got to be more ways...
And booting from bios rom/cdrom/network/etc don't really count. I'm talking from the hard drive.

#5 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 24 November 2009 - 09:11 AM

Unfortunately all the above guides I have seen have incorrect information with regards to multiboot with win7. The easiest way is by these 4 steps:


Unfortunately the method depicted in the guides have been used since months without problems.

BTW you won't normally add grldr.mbr to the BCD BOOT.INI, but rather "directly" grldr.

I cannot swear on the BCEDIT for Vista/2008/7, but I can for the BOOT.INI

That ntldr and boot.ini trick referred to in your first thread might work, I'll try it real quick right now....
OK I tried it. It does not seem to work.

There must be something "peculiar" in your setup. :w00t:

I still find it hard to believe this is the only way to multiboot with win7, there have got to be more ways...
And booting from bios rom/cdrom/network/etc don't really count. I'm talking from the hard drive.

You can always install grldr.mbr, or bootsect /NT52 and use the old NTLDR+BOOT.INI (rest assured it works :dubbio:)

jaclaz

Edit: corrected, see below.

#6 slothman

slothman

    Newbie

  • Members
  • 20 posts
  •  
    United States

Posted 24 November 2009 - 04:36 PM

Unfortunately the method depicted in the guides have been used since months without problems.

BTW you won't normally add grldr.mbr to the BCD, but rather "directly" grldr.


Well I can tell you that adding grldr to the bcd does not work, I have tried many times and am always greeted by the perpetually fun 0xc000000f error. For some odd reason, bcd will only boot it if you use grldr.mbr

I cannot swear on the BCEDIT for Vista/2008/7, but I can for the BOOT.INI

There must be something "peculiar" in your setup. :thumbup:


Nope, not a thing "peculiar" about it, completely wiped the first 50MB of the drive and installed win7 home premium x86.

You can always install grldr.mbr, or bootsect /NT52 and use the old NTLDR+BOOT.INI (rest assured it works :))

jaclaz


*edit* I think you mean bootlace.com or grubinst

Yea those 2 would probably work, I don't even need to test those either :)

Btw I found the solution to multiboot through bcd through a search which led me to another forum where some people were trying to boot openbsd from the bcd. The previously mentioned methods were not working for them either until they changed one line in the bcdedit stanza. That one line is:
bcdedit /set {id} device partition=c:

For some reason win7 needs to know the exact partition drive letter. Hmmm actually now that you mention it for some reason I remember in grldr there are 2 partitions on my hdd. For some reason win7 makes a small first management partition, that's why this is getting thrown off. Regardless this method is the easiest method to implement on win7 because the management partition is not easily accessible from inside of win7.

The link to the method that worked for me is here:
OpenBSD BCD stuff

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 24 November 2009 - 05:32 PM

I take back the "grldr" :):

In 2K/XP/2003 BOOT.INI both grldr and grldr.mbr could be chainloaded, but with recent versions seemingly only grldr can.
In Vista/2008/7 BCD only grldr.mbr works.

*edit* I think you mean bootlace.com or grubinst

Yes, and No, we are saying the same thing in two different manners :thumbup: bootlace.com or grubinst are among the tools that allow (among other things) to install grldr.mbr to the MBR.

That one line is:
bcdedit /set {id} device partition=c:

....

For some reason win7 needs to know the exact partition drive letter. Hmmm actually now that you mention it for some reason I remember in grldr there are 2 partitions on my hdd. For some reason win7 makes a small first management partition, that's why this is getting thrown off. Regardless this method is the easiest method to implement on win7 because the management partition is not easily accessible from inside of win7.

Yep, if you have the "first management partition", good to know should other members have this problem :thumbup:.


:)

jaclaz

#8 mbzadegan

mbzadegan

    Member

  • Members
  • 80 posts
  •  
    Germany

Posted 04 January 2010 - 05:19 AM

i used GRUB4DOS toolbox for windows 0.1 , and when i point TASKS to ADD GRUB4DOS to BOOTMGR BOOT MENU this task really add to my bootmgr and when i booted my PC , my last sellection is GRUB4DOS .

BUT , when i select it , my screen will black for 2 second and after it return the boot manager menu ( without any fail message ) !!!!!!
Can any one help me ??? :)

#9 dog

dog

    Frequent Member

  • Expert
  • 223 posts

Posted 04 January 2010 - 12:20 PM

What's in your menu.lst?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users