Comment 4 for bug 1287436

Revision history for this message
Mastakilla (masta-killa) wrote :

I have similar issue on Ubuntu 12.04 when running an "apt-get dist-upgrade"...

At some point iI get an output very similar to the reproduced:

root@dcmilphlum173:~# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.2.0-80-generic
Found initrd image: /boot/initrd.img-3.2.0-80-generic
Found linux image: /boot/vmlinuz-2.6.32-73-generic
Found initrd image: /boot/initrd.img-2.6.32-73-generic
Found memtest86+ image: /memtest86+.bin
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
grub-probe: error: unknown filesystem.
grub-probe: error: unknown filesystem.
done

The below 4 errors do not occur without the 2 snapshots that I created before running "apt-get dist-upgrade".

root@dcmilphlum173:~# lvs
  LV VG Attr LSize Origin Snap% Move Log Copy% Convert
  datavol vgapp -wi-ao 678.00g
  homevol vgos -wi-ao 1.86g
  rootsnapvol vgos swi-a- 3.00g rootvol 61.85
  rootvol vgos owi-ao 13.97g
  swapvol vgos -wi-ao 7.45g
  tmpvol vgos -wi-ao 1.86g
  varsnapvol vgos swi-a- 2.00g varvol 51.57
  varvol vgos owi-ao 7.45g

Could this be related to the above issue?
I see that the issue from this thread was solved in grub2 (2.02~beta2-9), but the latest version available to precise is the one I have (see below)

root@dcmilphlum173:~# dpkg -l |grep grub
ii grub-common 1.99-21ubuntu3.19 GRand Unified Bootloader (common files)
ii grub-gfxpayload-lists 0.6 GRUB gfxpayload blacklist
ii grub-pc 1.99-21ubuntu3.19 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 1.99-21ubuntu3.19 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 1.99-21ubuntu3.19 GRand Unified Bootloader (common files for version 2)

I currently haven't seen any crash or boot failure because of these issues yet, but still I'd like to solve or get around this issue...