this quick and dirty guide assumses you are using debian and you've installed grub using apt-get already and seperated at least the boot partition like described
in this thread
Code:
cp -pr /usr/lib/grub/i386-pc/ /boot/grub/
grub --no-floppy
find /grub/stage1
root (hd2,5)
setup (hd0)
quit
I found the stage1 file on hd2,5 that's how the hd2,5 arives here. And of course I'd like to install the bootloader in the MBR of the 1st disk thus hd0.
now you should create a /boot/grub/menu.lst
Code:
color light-gray/blue yellow/brown
default 0
fallback 0
password --md5 your_md5_hashed_pw_here
timeout 5
title Debian 3.0r1 (Debian Kernel)
root (hd2,5)
kernel (hd2,5)/vmlinuz-2.4.18-bf2.4 root=/dev/hdd5
This is just my preference here with colors and all. My root partition is hdd5 as you can see in
in this thread.
So what's left yet?
Well you should set some more restrictive permissions on the directory /boot of course :-)
chmod o-rx /boot -R
any comments, questions, suggestions so far ?