Bug#566735: grub-pc: Unable to boot from LVM, "error: no such disk".
David L. Anselmi
anselmi at anselmi.us
Thu Oct 21 00:49:35 UTC 2010
Package: grub-pc
Version: 1.98+20100804-4
Severity: normal
I've retested and this bug still exists so I'll reopen. Here's the new
behavior. On boot it says:
error: no such disk
Entering rescue mode
grub rescue>
(i.e., only one error line rather than two). lsmod shows:
Name Ref Count Dependencies
lvm 1
part_msdos 1
ext2 1 fshelp
fshelp 2
biosdisk 1
minicmd 1
and ls:
(hd0) (hd0,msdos2) (hd0,msdos1) (fd0)
So I think I have a correct config and the right modules, but something doesn't
work.
>From the grub prompt is there anything else I can do to troubleshoot? root
seems not to be usable, even if I set it to vg0-root.
I don't think there is anything unusual about this disk. The first partition is
NTFS, the second is LVM. I have a 32 bit box with a single LVM partition and
grub2 works fine. I have a 64 bit box with more complicated partitions and
grub2 works fine.
I suppose the LVM partition might be pretty old--could it be not quite right for
grub2? I don't get any errors when looking at the pvs/vgs/lvs.
How else can I help?
Thanks!
Dave
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vg0-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/vg0-home /home ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-tmp /tmp ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-usr /usr ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-var /var ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-audio /srv/audio ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-debian /srv/debian ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-SAMSUNG_SP1614N_S016J10Y429365
*********************** END /boot/grub/device.map
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii grub-common 1.98+20100804-4 GRand Unified Bootloader, version
ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.45-1 The Linux Kernel Device Mapper use
ii ucf 3.0025 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
-- debconf information:
grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline:
grub-pc/install_devices_empty: false
grub-pc/install_devices_failed: false
grub-pc/chainload_from_menu.lst: true
grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/disk/by-id/ata-SAMSUNG_SP1614N_S016J10Y429365
grub-pc/postrm_purge_boot_grub: false
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/partition_description:
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline_default: quiet
grub-pc/mixed_legacy_and_grub2: true
More information about the Pkg-grub-devel
mailing list