reassign 352654 grub
tags 352654 + patch
severity 352654 serious
thanks
On Monday 13 February 2006 21:12, Frans Pop wrote:
> > ALERT! does not exist. Dropping to a shell!
>
> This is the real problem. It should have the name of the root device in
> that message.
>
> What is the output of 'cat /proc/cmdline' from the shell that you end
> up in?
Never mind that question. I've been able to reproduce the problem and the
cause turns out to be a script error in grub.
You should be able to boot your system by editing the kernel line for grub
(you can do that from the grub menu) and change
root=
to
root=/dev/mapper/<VG-name>-<LV-name>
If you do not know what the correct path is, boot the installer in rescue
mode and check the device for / in /target/etc/fstab.
The following patch for update-grub will fix this problem.
convert_kernel26 ()
{
# skip /dev/mapper/ from conversion
if ! echo "$1" | grep -q "^/dev/mapper/"; then
echo "$1" | sed 's%^\(/dev/[^/]*\)/\(.*\)%\1!\2%'
+ else
+ echo "$1"
fi
}
Attachment:
pgpWLxn0B71fv.pgp
Description: PGP signature