← Back to team overview

sslug-teknik team mailing list archive

Re: MBR grub setup (hd0,0)

 

David Bo Jensen wrote:
grub > setup (hd0)
Vil placere stage1 i MBR

grub > setup (hd0,0)
Vil placere stage1 i "boot record" for første "primary partition". Dette er den første sector i "primary partition". Hvor stor er denne sector?
Vil ovennævnte også rette i MBR ? Hvis ikke hvodan startes stage1 så op?


Hvis du installerer grub i en partition skal der være en anden bootloader i MBR.
Se her:
http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-natively.html
3.2 Installing GRUB natively
Citat:
     grub> setup (hd0)

This command will install the GRUB boot loader on the Master Boot Record (MBR) of the first drive. If you want to put GRUB into the boot sector of a partition instead of putting it in the MBR, specify the partition into which you want to install GRUB:

     grub> setup (hd0,0)

If you install GRUB into a partition or a drive other than the first one, you must chain-load GRUB from another boot loader. Refer to the manual for the boot loader to know how to chain-load GRUB.
Citat slut.


--
Med venlig hilsen

Jørgen Heesche
mailto:heesche@xxxxxxxxxxx


Follow ups

References