Bug#707653: grub2-common: After Grub 2.00-14 upgrade, system failed to boot (rescue, old grub 1.99 still in mbr)

Gleb Golubitsky sectoid at gnolltech.org
Sun May 12 10:36:51 UTC 2013


Hi all,

This (or maybe another?) bug also affects RAID-based systems. I have my system 
installed on RAID 1 (fakeraid). After upgrading  1.99-27.1 -> 2.00-14 it was 
impossible to boot system. 

Workaround for those who met this: boot from livecd, chroot, downgrade grub to 
1.99-27.1 (from Wheezy repo), manually grub-install & update-grub2.

Details for Debian developers & maintainer (please let me know if u need any 
futher information or help to locate and fix this issue):

---- Attempt to install grub 2.00-14
root at dagon:/var/lib/schroot/mount# grub-install 
/dev/mapper/isw_hbghdbjgf_SYSTEM
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. 
Aborting.

--- Mounted FSes
root at dagon:/var/lib/schroot/mount# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=196894,mode=755)
devpts on /dev/pts type devpts 
(rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1247016k,mode=755)
/dev/dm-3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2494020k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mapper/isw_hbghdbjgf_SYSTEM1 on /boot type ext2 
(rw,relatime,errors=continue)
/dev/mapper/isw_hbghdbjgf_SYSTEM6 on /home type ext4 
(rw,relatime,data=ordered)
/dev/mapper/isw_hbghdbjgf_SYSTEM6 on /var/lib/mysql type ext4 
(rw,relatime,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,nosuid,nodev,noexec,relatime)

--- Attempt to update-grub2
root at dagon:/var/lib/schroot/mount# update-grub2
Generating grub.cfg ...
/usr/sbin/grub-probe: error: unknown filesystem.
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-3.8-1-686-pae
Found initrd image: /boot/initrd.img-3.8-1-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
File descriptor 8 (pipe:[340000]) leaked on lvs invocation. Parent PID 29937: 
/bin/sh
  No volume groups found
grub-probe: error: unknown filesystem.
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/isw_hbghdbjgf_SYSTEM5
done

--- Grub2 versions
ii  grub-common                                                          
2.00-14                            i386         GRand Unified Bootloader 
(common files)
ii  grub-pc                                                              
2.00-14                            i386         GRand Unified Bootloader, 
version 2 (PC/BIOS version)
ii  grub-pc-bin                                                          
2.00-14                            i386         GRand Unified Bootloader, 
version 2 (PC/BIOS binaries)
ii  grub2                                                                
2.00-14                            i386         GRand Unified Bootloader, 
version 2 (dummy package)
ii  grub2-common                                                         
2.00-14                            i386         GRand Unified Bootloader 
(common files for version 2)


-- 
WBR,
Gleb Golubitsky
Gnolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20130512/bcad9a68/attachment.pgp>


More information about the Pkg-grub-devel mailing list