FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 01-09-2010, 07:55 PM
Carlos Davila
Default grub directory missing (but grub still runs!)

As I mentioned in an earlier post, using the synaptic package manager, I got:

Removing xcircuit ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up linux-image-2.6.26-2-686 (2.6.26-19lenny2) ...
Running depmod.
Running mkinitramfs-kpkg.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.26-19 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.26-19 was configured last, according to dpkg)
Running postinst hook script update-grub.
Searching for GRUB installation directory ...
No GRUB directory found.
To create a template run 'mkdir /boot/grub' first.
To install grub, install it manually or try the 'grub-install' command.
### Warning, grub-install is used to change your MBR. ###

User postinst hook script [update-grub] exited with value 1
dpkg: error processing linux-image-2.6.26-2-686 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:

and despite the fact that the grub directory was missing, grub still
loaded and worked as expected at startup, giving me access to Lenny
and WinXP Pro.

So I did:

mkdir /boot/grub
apt-get install grub

and this has resolved the error with the post-installation script.
However when grub runs, I still see the old "menu.lst" from my
previous (dual-boot) version of grub, not the new "menu.lst" that
appears in the newly created /boot/grub directory, which has no
reference to a dual boot system. I was also not able to find any other
copies of menu.lst.

Would appreciate any suggestions on what is going on here.


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 02:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org