How do I refill /boot/grub?
Lionel Porcheron
lionel.porcheron at ubuntu.com
Fri Dec 18 22:51:55 UTC 2009
Hi Michael,
Michael Hipp a écrit :
> To make a long story short ...
>
> - Something wonky with /boot/grub directory on /dev/md0 device
> - Boot live cd, create /dev/md0 with /dev/sdc1 and /dev/sdd1 in raid1
> - Do e2fsck -f -p /dev/md0
> - Says something about clearing unused inode in menu.lst
> - Now /boot/grub directory is *empty* except for 'grubenv' file (no
> images, no stage1, etc.)
>
> Needless to say, system unbootable.
>
> How do I "refill" the /boot/grub directory?
You can:
cp -a /usr/lib/grub/*-pc/* /boot/grub
update-grub
Your system should be bootable again.
Lionel
More information about the ubuntu-server
mailing list