Bug#544731: "error: no such disk" renders system unbootable
Felix Zielcke
fzielcke at z-51.de
Wed Sep 2 17:21:31 UTC 2009
Am Mittwoch, den 02.09.2009, 18:59 +0200 schrieb Albin Tonnerre:
> Package: grub-pc
> Version: 1.97~beta1-1
> Severity: grave
> Justification: renders package unusable
>
> Hello,
> After installing grub-pc, the system (using /boot and / on LVM) fails to boot
> with the following error:
>
> Entering rescue mode...
> error: no such disk
>
> This is not particularly related to grub 1.97, as I've been experiencing this
> for some time now. Lilo is able to boot the system correctly. If there's
> anything I can do to help you fix this, please let me know.
>
> Regards,
> Albin
>
>
> -- Package-specific info:
>
> *********************** BEGIN /proc/mounts
> /dev/mapper/lvm-system / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
> /dev/mapper/home /home ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0) /dev/sda
> (lvm-system) /dev/mapper/lvm-system
> *********************** END /boot/grub/device.map
You don't need to have LVs in device.map. device.map doestn't get used
for LVM.
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by /usr/sbin/grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> set default=0
> insmod ext2
> set root=(lvm-system)
Uhm this is weird. There should be a `insmod lvm' too.
Then the lvm module isn't probable included in core.img
What do the following commands output?
grub-probe -t device /
grub-probe -t abstraction /dev/mapper/lvm-system
--
Felix Zielcke
Proud Debian Maintainer
More information about the Pkg-grub-devel
mailing list