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

Re: /boot/grub missing in Debian 4.0 installation



On 8/17/07, Masatran, R. Deepak <masatran@research.iiit.ac.in> wrote:
> I am moving my computer from Testing to Stable. I installed Stable on a new
> partition, and want to configure GRUB. But /boot/grub is missing! It was a
> routine install, except that I did not select "Desktop environment" in
> TaskSel. Why is /boot/grub missing? And how can I get it created? The
> computer is a two-year-old I386-based laptop. Some other info:
>
>    masatran@masatran:~$ ls /boot
>    config-2.6.18-4-486      initrd.img-2.6.18-4-486.bak  vmlinuz-2.6.18-4-486
>    initrd.img-2.6.18-4-486  System.map-2.6.18-4-486
>
>    masatran@masatran:~$ sudo aptitude search grub
>    p   ggz-grubby          - GGZ Gaming Zone: chat bot with the ability to play games
>    i   grub                - GRand Unified Bootloader
>    p   grub-disk           - GRUB bootable disk image
>    p   grub-doc            - Documentation for GRand Unified Bootloader
>    p   grub-splashimages   - a collection of great GRUB splashimages
>
> --
> Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>

Not sure if this would help (examples might change according to your
configuration):

aptitude install grub  (apt-get instead of aptitude is you don't use aptitude)
grub-install --root-directory=/boot /dev/hda
update-grub

If your /boot corresponds to a different partition than /, then you might:

grub-install --root-directory=/boot /dev/hda
cd /boot
ln -s . boot
grub-install --root-directory=/boot /dev/hda
update-grub

You can consult:

http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-using-grub_002dinstall.html#Installing-GRUB-using-grub_002dinstall

Or:

http://www.gnu.org/software/grub/manual/html_node/index.html

Also if you want grub2 instead of grub-legacy, then if grub-pc is
present, then install it and if not, then install grub2 (under
unstable it's grub-pc)...

-- 
Javier



Reply to: