Art Edwards a écrit :
I'm trying to install grub on a 2.6.6 machine. It apears to install
cleanly during apt-get. However, there is no /boot/grub directory and no
grub.conf in /etc
Any insight would be appreciated.
Art Edwards
Install grub and grub-doc
# apt-get install grub grub-doc
Install the new boot loader in your system
# grub-install /dev/hda
At the end of the process, the directory grub will be created in /boot
Usually, you have to install Grub in the directory where you have your
kernels!
So if your kernels are not in /boot directory, you have to specify it to
grub like this:
# grub-install --root-directory=KERNEL-IMAGE /dev/hda
This will overwrite any boot loader in /dev/hda
Before reboot your machine, create a menu.lst file in /boot/grub
Here is an example of a base configuration file:
# GNU GRUB configuration files
# Global Parametres to GNU GRUB
default 1
timeout 10
password --md5 $1$u.jeI0$KMSOekVazlZsdYU1LH0sx/
# Operating Systems List
# Windows
title Windows XP Pro
rootnoverify (hd0,2)
chaineloader +1
# GNU/Linux Debian
title GNU/Linux Debian 2.6.4
kernel (hd0,5)/vmlinuz-current root=/dev/hda5 resume=/dev/hda1 noresume
splash=silent vga=791
initrd (hd0,5)/initrd.splash
And if you want to remove/uninstall Grub loader:
# apt-get remove --purge grub grub-doc
See you !
;)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]