Skip to contentSkip to conversation

GRUB FAQ

DISCUSSION Bruce Dubbs 3 participants 3 messages Jan 30, 2010

lore
Share & tools
lore
#0 lore raw

I'm working on updating the GRUB FAQ. So far I've got the following questions. Does anyone have any corrections or additional questions?

After I define the questions, I'll work on the answers. :)

-- Bruce

1.  I have questions about GRUB!
2.  Why did you need to rewrite GRUB?
3.  How does GNU GRUB differ from GRUB Legacy?
4.  Where is the documentation?
5.  Can GRUB boot my operating system from large hard disks?
6.  How are partitions specified?  It seems to be
    very different from the notation in my operating system.
7.  How can I boot Windows (or DOS) from a non-first disk?
8.  Can I install GRUB to a partition boot sector?
9.  How do I uninstall GRUB from my hard disk drive?

10. I installed GRUB, but it just hangs up. What now?

#1 lore raw
Quoted 2 lines · Bruce Dubbs

I'm working on updating the GRUB FAQ.  So far I've got the following questions.  Does anyone have any corrections or additional questions?

Ones that are missing would be:

* Do I have to install grub on my hardrive?

Because it should be noted that with some bootloaders it is not quite easy or even possible at all to load the OS from a disk/partition different from the one where the loader is installed but GRUB can easily run form a rescue CD or an USB stick (or perhaps PXE - can it already?). This is something that may not be obvious to people coming from such simplistic bootloaders and it is one of the major advantages of GRUB.

This brings the networking issues:

* Can grub be loaded over the network (such as over PXE) ?

It most likely can as there is a kernel for pxelinux for loading any
floppy image and emulating a floppy so it should work like this at the very least.

* Can grub load the system from the network?

I think it is somewhat possible with some additional PXE module not part of grub mainline but I have never tried for myself.

These questions seem to be somewhat x86-pc-centric.

The ones concerning support for different platforms would be:

* What platforms does grub support?

* How do I install/run grub on my computer?

This is non-obvious. Installing on different platforms varies wildly.

For example, Apple's EFI is somewhat supported as it somewhat conforms to the EFI standard but I could not get a conclusive answer how to run grub on Apple x86 hardware. When I find a way that works on one computer it would fail on another.

Thanks

Michal

#2 lore raw
Quoted 1 line · Michal Suchanek

* Do I have to install grub on my hardrive?

[...]

Quoted 1 line

This brings the networking issues:

A different understanding of the same wording leads to a yet another question:

Can I install grub on a disk image ?

Actually, a friend of mine is trying to achieve it, and found no simple way... The use case is being able to continue generating flash card images from script. Something along the lines of debootstrap + tweaks to folders (incl. replacing config files etc) + wraping the result in a disk image and installing a bootloader (grub 1 before, and now trying with grub 2).

I didn't even try to search, so maybe he just didn't find the right bit of information - which I think means it should be made more visible, as in a FAQ.

Signature · 1 line
Vincent Pelletier