Package: grub-pc Version: 1.98+20100804-4 Severity: important
My system has 3 disks. 1 Intel SSD 80G 2 x SATA normal disks 1TB each. Intention is to have the system boot of the SSD but use the normal disks for /home (mirrored) It works fine until I mirror /home There are two LVM volumes: timdeb/root (this is on the SSD) timdeb/home (this is just on one disk) I then mirror the disks by issuing: # lvconvert -m1 /dev/timdeb/home Confirm mirror using: # lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices home timdeb mwi-ao 100.00g home_mlog 100.00 home_mimage_0(0),home_mimage_1(0) [home_mimage_0] timdeb iwi-ao 100.00g /dev/sdb1(0) [home_mimage_1] timdeb iwi-ao 100.00g /dev/sdc1(0) [home_mlog] timdeb lwi-ao 4.00m /dev/sda1(4608) root timdeb -wi-ao 18.00g /dev/sda1(0) # update-grub Generating grub.cfg ... /usr/sbin/grub-probe: error: no such disk. Doesn't work. If I then unmirror the disk: #### r...@timdeb:~# lvconvert -m0 /dev/timdeb/home r...@timdeb:~# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices home timdeb -wi-ao 100.00g /dev/sdb1(0) root timdeb -wi-ao 18.00g /dev/sda1(0) #### Then update grub works fine #### r...@timdeb:~# update-grub Generating grub.cfg ... Found background image: moreblue-orbit-grub.png Found linux image: /boot/vmlinuz-2.6.32-5-amd64 Found initrd image: /boot/initrd.img-2.6.32-5-amd64 done r...@timdeb:~# #### Then it all works fine. If the disks are mirrored, then system will not boot. It drops to grub rescue mode. Fix is to use a rescue CD and un-mirror the disks. Then system boots straight away. There is something about have a mirrored lvm disk which upsets grub. -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/timdeb-root / reiserfs rw,nodiratime,relatime,data=writeback 0 0 /dev/mapper/timdeb-home /home reiserfs rw,nodiratime,relatime,data=writeback 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO01700518080JGN (hd1) /dev/disk/by-id/ata-ST31000528AS_9VP8EHGA (hd2) /dev/disk/by-id/ata-ST31000528AS_9VP8EQ7B *********************** END /boot/grub/device.map *********************** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### insmod lvm if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { insmod vbe insmod vga insmod video_bochs insmod video_cirrus } insmod lvm insmod part_msdos insmod part_msdos insmod part_msdos insmod reiserfs set root='(timdeb-root)' search --no-floppy --fs-uuid --set 5cb49c5f-3bd8-41f3-99f3-8a5e99086ea2 if loadfont /usr/share/grub/unicode.pf2 ; then set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod lvm insmod part_msdos insmod part_msdos insmod part_msdos insmod reiserfs set root='(timdeb-root)' search --no-floppy --fs-uuid --set 5cb49c5f-3bd8-41f3-99f3-8a5e99086ea2 set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext set timeout=1 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod lvm insmod part_msdos insmod part_msdos insmod part_msdos insmod reiserfs set root='(timdeb-root)' search --no-floppy --fs-uuid --set 5cb49c5f-3bd8-41f3-99f3-8a5e99086ea2 insmod png if background_image /usr/share/images/desktop-base/moreblue-orbit-grub.png ; then set color_normal=black/black set color_highlight=magenta/black else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os { insmod lvm insmod part_msdos insmod part_msdos insmod part_msdos insmod reiserfs set root='(timdeb-root)' search --no-floppy --fs-uuid --set 5cb49c5f-3bd8-41f3-99f3-8a5e99086ea2 echo 'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/timdeb-root ro panic=5 quiet rootflags=data=writeback quiet echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-amd64 } menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os { insmod lvm insmod part_msdos insmod part_msdos insmod part_msdos insmod reiserfs set root='(timdeb-root)' search --no-floppy --fs-uuid --set 5cb49c5f-3bd8-41f3-99f3-8a5e99086ea2 echo 'Loading Linux 2.6.32-5-amd64 ...' linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/mapper/timdeb-root ro single panic=5 quiet rootflags=data=writeback echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-2.6.32-5-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### *********************** END /boot/grub/grub.cfg -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores) Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/dash Versions of packages grub-pc depends on: ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy ii grub-common 1.98+20100804-5 GRand Unified Bootloader, version ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib ii libdevmapper1.02.1 2:1.02.48-3 The Linux Kernel Device Mapper use ii ucf 3.0025+nmu1 Update Configuration File: preserv grub-pc recommends no packages. Versions of packages grub-pc suggests: ii desktop-base 5.0.6 common files for the Debian Deskto -- debconf information: grub2/kfreebsd_cmdline: grub2/device_map_regenerated: * grub2/linux_cmdline: panic=5 quiet rootflags=data=writeback * grub-pc/install_devices_empty: true grub-pc/install_devices_failed: false grub-pc/chainload_from_menu.lst: true grub-pc/kopt_extracted: false * grub-pc/install_devices: 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org