Prev: LC_NUMERIC vs locale ?
Next: ssh closed by peer
From: Tom H on 30 Nov 2009 11:10 Johannes Graumann <johannes_graumann(a)web.de> wrote: >> A recent update of both my home machines running sid pulled in an update of >> grub2. Now both machines are stuck with the grub menu showing up fine, but >> no matter which kernel I choose, I always end up with this error: >> "error: you need to load the kernel first" >> Does anyone here have an idea what might be going wrong and how to fix it? Michael Wagner <michaeldebian(a)web.de> wrote: > at the moment 'grub-pc' is broken in sid. When you have a separate /boot > partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at > the BTS for bug #558042. There is also the workaround for the problem. grub-pc is broken when you have a separate /boot partition for any distribution see for example: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/442631 Both the "set root=..." and the "search ..." lines point to / rather than to /boot. You can create a correct menuentry in 40_custom and re-run grub-mkconfig. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Tom H on 2 Dec 2009 18:10 >> >>at the moment 'grub-pc' is broken in sid. When you have a separate /boot >> >>partition, the package generates a wrong '/boot/grub/grub.cfg'. Look at >> >>the BTS for bug #558042. There is also the workaround for the problem. >> I ran across the same problem, but I am running mdraid RAID 1, which >> complicates matters, and root (/) is on an LVM2 volume. > do you get grub? and where is /boot (I'm assuming it's on RAID but not > lvm)? > Based on what others have written, editting the grub entries from the > grub command line should do the trick. Point grub at the right device > and partitions and it should just work. If you are getting to the grub cli, you need to insmod the raid/lvm modules depending on whether you use raid/lvm for /boot before running the root-linux-initrd-boot sequence. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
|
Pages: 1 Prev: LC_NUMERIC vs locale ? Next: ssh closed by peer |