[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

info grub missing on testing / unstable - FYI



grub is somewhat particular and in order to use it successfully, you
better know about its preferences.
All this comes natively in info grub on (m)any distros, here are the core
concepts:

1. How to create a grub boot floppy:


# cd /usr/share/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
153+1 records in
153+1 records out
#


2. How to install grub (grub discourages the harddisk install as adopted
by debian, b.t.w.):

[Boot from that floppy and]

First, set the GRUB's root device(4) to the boot directory, like this:

grub> root (hd0,0)

If you are not sure which partition actually holds these files, use the
command find [..] like this:

grub> find /boot/grub/stage1

This will search for the file name `/boot/grub/stage1' [use '/grub/stage1'
in case of a separate boot partition] and show the devices which contain
the file.

Once you've set the root device correctly, run the command setup [..]:

grub> setup (hd0)

This command will install GRUB on the MBR in the first drive. 
If you want to install GRUB into the boot sector of a partition instead of
the MBR, specify a partition into which you want to install GRUB:

grub> setup (hd0,0)




http://www.gnu.org/software/grub/manual/html_mono/grub.html
gives you all of grub's goodies !


There is a very nice Debian-splash screen available as background for
the grub menu:
http://debian.newswriter.org/




Reply to: