Jump to content











- - - - -

Anyone care to explain the name "GRUB4DOS"?


  • Please log in to reply
2 replies to this topic

#1 Guest_AnonVendetta_*

Guest_AnonVendetta_*
  • Guests

Posted 22 November 2016 - 07:17 AM

So.....what's the meaning behind the name? GRUB/GRUB2 started in the Linux community, DOS with Microsoft. Why create something that is seemingly the unholy union of 2 exact opposites (and enemies, by some accounts)? I assume it is based on original GRUB rather than GRUB2. Is it GRUB "for" DOS, as the 4 implies? So basically, GRUB repurposed to work in a DOS environment, with a focus on Windows?

 

Why is it not UEFI compatible? With things moving more toward UEFI and GPT, what is G4D's significance (or relative lack of usefulness in anything other than legacy BIOS/MBR)?

 

What makes G4D better than something like Syslinux or GRUB2? Scripting? Is it more flexible? Can boot a wider variety of stuff (mostly OSes or tools/utilities)?



#2 nguyentu

nguyentu

    Frequent Member

  • Advanced user
  • 102 posts
  •  
    Vietnam

Posted 22 November 2016 - 11:41 AM

I also want to know the answer
I only know Grub4Dos be built on GNU GRUB Legacy, which supports reading NTFS

Edited by nguyentu, 22 November 2016 - 11:41 AM.


#3 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 22 November 2016 - 11:45 AM

Grub4dos, meaning grub for dos, comes in two flavours:

1) grldr <- an executable that can be chainloaded directly from BIOS through a bootsector, like *all* bootloaders/bootmanagers and from some special code in the MBR (+hidden sectors), like *most* bootloaders/bootmanagers but - unlike most other bootloaders/bootmanagers - also chainloaded from NTLDR and BOOTMGR and usable also as no-emulation bootsector on CD's and DVD's .

2) grub.exe <- an executable that can be run from Dos command line, unlike most if not all bootloaders/bootmanagers (BTW grub.exe is also a Linux executable and can be loaded from kexec and lilo)

 

I guess it is enough to understand the basic reasons for the name.

 

Read the "Introduction" here for a few more details (in the long years since this grub4dos has been considerably extended with - among many other things - an extremely useful script language and very powerful internal commands, such as write and dd):
http://xpt.sourcefor...fo/ar01s03.html

 

It is intended - just like GRUB (the real thing, now senselessly renamed GRUB Legacy) for BIOS, that's it.

 

It is entirely possible that - before or later - it will be extended to make use of UEFI besides BIOS, though nowadays there is no real *need* for this.

 

The new thing for UEFI, the GRUB2 (now senselessly renamed GRUB) is completely different from (it is a rewrite) the original GRUB, it took YEARS to be developed to something actually - somehow - working, whilst the GRUB (the real one) was left in a 0.97 version (and had all in all a very limited usability/flexibility).

The guys who rewrote it clearly had/have different ideas from the ones that wrote the original one and introduced (besides UEFI support) a number of (largely unneeded) complications, managing to make it more complex, both in the structure and in the way it is managed.

To put the above in context, read this (2009) article by dedoimedo on GRUB2:
http://www.dedoimedo...ers/grub-2.html

and the corresponding one for GRUB:
http://www.dedoimedo...uters/grub.html

 

and consider how grub4dos became largely popular around that time ....

 

@whateverisyournametoday

And yes, grub4dos is MUCH more "flexible" than any other bootloader/bootmanager.

 

:duff:

Wonko


  • sbaeder likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users