Jump to content











Photo
- - - - -

GRLDR in windows 7 or vista


  • Please log in to reply
11 replies to this topic

#1 mbzadegan

mbzadegan

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

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
  • 7101 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

    Member

  • Members
  • 38 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
  • 7101 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

    Member

  • Members
  • 38 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
  • 7101 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

    Frequent Member

  • Advanced user
  • 105 posts
  • Location:IFN
  •  
    Canada

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
  • 236 posts

Posted 04 January 2010 - 12:20 PM

What's in your menu.lst?

#10 JimmyD

JimmyD
  • Members
  • 2 posts
  •  
    Scotland

Posted 13 September 2013 - 05:45 AM

hi after years getting by (mostly with repair jobs) counting on my raw intelect and good ability to theorise without reading guides fully and learning in gerneral

 

Id better offer my 2 cents before going any firther, keen as i am. Would Hirens own customiser tool be a last gasp option? i presume its linked to grub (as per what hbcd boot and menus created with). All of it cibsidered hirens is a good one for beginnners especiaally thise who want to add theoir own tools and customize their oownmenus without having time or motivation to learn the subjext to the full sos to be able to create whatever inagibation conjours up from scratch....ld sugegsting using the hirens boot grub editor be a noobish suggestion? theres a gui tool for windows  in their cd menu ran in (ud never guess) windows, "hbcd customiser" that must be grub related. All things concidered its a good bot cd for beginners whod like to customise their own list pf tools and menus who dont have time nor motivation to do it the real way

 

 

 

I am now SO keen to feed my starving, abused mind by learning everything i have compiled into a list, what i am focusing on now is this exact topic. So im aware "GLDR" is a file and i giessing an abbreviation of grub boot loader? 

 

So surely grub is open source, why would a multimmillion closed source giant like MS use an open source tool such as grub, that youd expect to see eg on my puuppy live CD root folder? is MS paying anyone even a mil or 2 of their near infanite bank balance, or does the fact its open source mean even Microsoft can use it for free, to load software they are making astronomical (compared to say, my average balance)profits from with their banks\shares\value etc etc bursting at the seams?

Im so, so interested in this subject tho, that question just popped to mind and am very vurios about, BUT , what i mainly want to do is learn from scratch, the fundimentals of boot loaders as is recognised universally by standard BIOS based systems. I always thought it was a slither of a partition "boot parttion" that existed where the BIOS looked for what batch of operations to run on said disk, where i used to think it was as simple as a little parttion and a main boot file or files , main one spealt similar to Bootlgr or NDTLR? this was easy to edit for multiple xp installs and experiments nut also very simple to understand how it actually worked.

 

Now it seems there are differant answers to my main question of fundimental understanding how the bare bones BIOS looks and finds info and how then its used to boot 1 or multi OS's

 

My theory would be that there is a universal 1st step that has never changed that nowadays with regards to what seems like various ways to boot , is now commonly redirected to rxecute a programme eg grub to then deal

 

Am i on right track? most important to me is to understand the workings and THEN learn of the dofferant loaders, pros and cobs of them all and how to programme them, avoiding any GUIs for those whod rather quickly get the boot vonfig sorted out for their bigger purpose or whatever

 

any advice would be great, this thread so far has been very educational, its been years since i took intereat in learning rather than finding out just enough info for me to overcome whatever problem

 

u see, im lucky to have a gifted intellect when it comes tto computing in general, first battering out BASIC games\conundrums on my spectrum aas a fuve year old but my arrogance in knowing my poteential was a downfall and connsidering what im capapble of at only a fraction of what my true potential is known to atleast be, its come to point of do or die if im going to grab hold of said potential and nurtue it daily at same time making life allot easier understanding the building blocks of whatever OS rather than current knwledge adequate to rate myself as an over educated pc\systems tech guy, woth the odd issue never a problem to overcome, worst case scenariolearning what i need to know to overcome said issue as opposed to learning the theory behind it -  much prefer to be in full control of what im doing so i know whats going on when carrying out system repaotrs - spome describe third party tools as a cheat, i see them more a shot in the dark with fancy UI giving false impression of accuracy, not REALLY knowing exactly whats been done. For those not interested in how todays binary super machines work then sure, many 3rd party tools are great and would recommend a select few (too many robot chefs currupt the code) to any cistomers who like to clean up now and then. 

 

soryy to go on so much here, its my forst post and official intent voiced, im excited at whats to come!


Edited by JimmyD, 13 September 2013 - 05:52 AM.


#11 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 13 September 2013 - 08:40 AM

Are you somehow assuming/believing that the known WAREZ release you mention is actually made and distributed by Microsoft? :unsure:

Interesting twist. :dubbio:

 

With all due respect, your post has some common traits with Vogon Poetry:

http://en.wikipedia....ki/Vogon#Poetry

 

If you could:

  1. start a new thread (as opposed to reviving an existing old one)
  2. ask an actual question or express an actual statement, possibly using simple sentences

 

I am sure someone will be able to assist you with your issue/request/whatever it is.

 

I can vaguely understand that:

  1. you are interested in grub4dos (and NOT GRUB and NOT GRUB2) as you mention grldr
  2. you are looling for info on it and how to use it

Such info can be found on it's guide, which is here:

http://diddy.boot-la...os/Grub4dos.htm

 

Please consider how that guide covers a relatively earlier version than current, so that the above is considered as an introductory guide, as more recent versions of grub4dos offer additional features and commands.

 

You will need to go anyway through that guide, then get latest recommended version of grub4dos (which is always the LAST one tagged as "Featured") here:

https://code.google..../downloads/list

https://code.google....-03.7z&can=2&q=

and start experimenting, don't forget to read also the grub4dos readme.txt as it will contain info additional or more detailed than what is in the above guide.

 

 

:cheers:

Wonko



#12 JimmyD

JimmyD
  • Members
  • 2 posts
  •  
    Scotland

Posted 13 September 2013 - 12:40 PM

Are you somehow assuming/believing that the known WAREZ release you mention is actually made and distributed by Microsoft? :unsure:

Interesting twist. :dubbio:

 

With all due respect, your post has some common traits with Vogon Poetry:

http://en.wikipedia....ki/Vogon#Poetry

 

If you could:

  1. start a new thread (as opposed to reviving an existing old one)
  2. ask an actual question or express an actual statement, possibly using simple sentences

 

I am sure someone will be able to assist you with your issue/request/whatever it is.

 

I can vaguely understand that:

  1. you are interested in grub4dos (and NOT GRUB and NOT GRUB2) as you mention grldr
  2. you are looling for info on it and how to use it

Such info can be found on it's guide, which is here:

http://diddy.boot-la...os/Grub4dos.htm

 

Please consider how that guide covers a relatively earlier version than current, so that the above is considered as an introductory guide, as more recent versions of grub4dos offer additional features and commands.

 

You will need to go anyway through that guide, then get latest recommended version of grub4dos (which is always the LAST one tagged as "Featured") here:

https://code.google..../downloads/list

https://code.google....-03.7z&can=2&q=

and start experimenting, don't forget to read also the grub4dos readme.txt as it will contain info additional or more detailed than what is in the above guide.

 

 

:cheers:

Wonko

hahahaha (actual Lol) I don't know whats more funny, seeing my original post or your reply which not only emphasizes some of the toe curling stuff I said being an unintended joke, but being compared to the Vogans - really made me laugh before clicking on wilki (which in itself re-enforces the funny)  as I watched Hitchhikers guide for first time in YEARS last week on netflix so the Vogan trait is fresh in my mind!

 

Yes I was drunk, :drunk:    no doubt made clear im pretty rusty and have allot of catching up to do while apparently at same time suggesting im some sort of gifted intellectual :geek:  

 

you somehow assuming/believing that the known WAREZ release you mention is actually made and distributed by Microsoft?  :unsure:

Interesting twist.  :dubbio:

No not atall mate, :eek:  i presumed GRUB was open source hence rant about how its possible that MS can use it to Load {£millions in profit from} software!

 

I cant stress enough that although i know enough to get by (mostly with general home computing repairs and networking) Ive been somewhat in Hermit crab mode for the past 10 years when it comes to online socializing :alone:  and learning, getting just enough info, by way of searching, to help solve whatever problem im having bother with

 

Basically what I want to learn first and foremost about is how the standard spec BIOS deals with loading an operating system, then how that can be extended to various different boot loaders, I always thought it was a simple case of i think, 2, files located on a very small  boot (physical) partition at startt of drive,  including boot.ini, which i at least know can easily be edited to show\hide boot menu items\options and what the selections should point to, experienced said method once years ago using to choose between 2 versions of xp  (the likes of /root/windows etc)

 

Im keen to learn the very fdundemental basic concept of this, THEN want to learn all about different loaders, how to use and pros\cons etc

 

So as per admin suggestion, im best posting a question specific post, thought id make a sober attempt to convince you im worthy of my first impression to still be atleasty pending and not final based on initial :yammer: ramblings  :white_flag:  

 

cheers for reading, hope none of you suffered any hemorrhaging ;)


Edited by JimmyD, 13 September 2013 - 12:46 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users