[email protected] wrote:
"david" == david <[email protected]> writes:
david> I have a custom kernel installed to run VMWare. I've now
david> switched to virtual box and want to get rid of the custom
david> kernel.
david> # dpkg -r linux-image-2.6.31.6-custom
reboot with a different kernel first. Removing the modules for the
kernel you're currently running can be dangerous.
That made good sense, so I did it, and no nasty messages happened.
then I got this swag of errors. I've been googling madly but no joy.
/dev/sdb1 (root drive) and /dev/sdc1 (unmounted backup) both have boot
directories. It leaves me somewhat nervous about re-booting. Any
suggestions?
thanks
da...@david:/usr/src$ sudo dpkg -r linux-image-2.6.31.6-custom
(Reading database ... 178528 files and directories currently installed.)
Removing linux-image-2.6.31.6-custom ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-19-generic
Found initrd image: /boot/initrd.img-2.6.31-19-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdb1. Check your
device.map.
Found memtest86+ image: /boot/memtest86+.bin
Found Ubuntu 9.10 (9.10) on /dev/sdc1
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
grub-probe: error: Cannot find a GRUB drive for /dev/sdc1. Check your
device.map.
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html