You are not logged in.

#1 2014-01-28 16:25:47

fantab
Member
From: 3rd Rock from the Sun
Registered: 2011-06-07
Posts: 152

Grub bug?

I get the following when I run:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg 

Generating grub configuration file ...
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found background: /boot/grub/wallpaper-61.png
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
  No volume groups found
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
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
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
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found Windows 7 (loader) on /dev/sda1
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
Found Fedora release 20 (Heisenbug) on /dev/sdb1
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
/proc/devices: No entry for device-mapper found
done

grub: grub 1:2.02.beta2-1
os-prober: os-prober 1.58-1

My web search got me: https://savannah.gnu.org/bugs/?func=det … em_id=8539
But bug seems quite old....

Not sure what to make of it...  Any ideas what could be going on?
I haven't rebooted yet.

Edit: I rebooted and updated 'grub.cfg' and:

Generating grub configuration file ...
Found background: /boot/grub/wallpaper-61.png
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
  /dev/cdrom: open failed: No medium found
  No volume groups found
Found Windows 7 (loader) on /dev/sda1
Found Fedora release 20 (Heisenbug) on /dev/sdb1
Found Ubuntu Trusty Tahr (development branch) (14.04) on /dev/sdb2
done

Now grub is creating double entries. I guess this is a known issue.
https://bbs.archlinux.org/viewtopic.php?id=176103

And disabling 10_Linux doesn't seem like an option as I have other distros in the picture.

Any ideas how to go about it?


Regards....

Last edited by fantab (2014-01-28 16:42:38)


"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon

Offline

#2 2014-01-28 16:37:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Grub bug?

The only thing that comes to mind is that you possibly have updated recently without rebooting.  So it is trying to use device-mapper (the dm_mod kernel module), but the update has replcaed the old set of modules with the new ones, and it isn't available.

If that isn't it, I have no idea.  I am not much of a grub user (I use it to boot the archiso in a loopback with UEFI), so I don't think I can comment further unless a lot more information is provided.

Offline

#3 2014-01-28 16:45:06

fantab
Member
From: 3rd Rock from the Sun
Registered: 2011-06-07
Posts: 152

Re: Grub bug?

You are on the money WonderWoofy. Thanks.


"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon

Offline

#4 2014-02-28 02:26:38

Nowaker
Member
From: Gdańsk, Poland
Registered: 2011-10-26
Posts: 20
Website

Re: Grub bug?

1. Downgrade to the same kernel version that `uname -a` states you are using. pacman -U /var/cache/pacman/pkg/linux-xxx.pkg.tar.xz
2. Run `grub-mkconfig -o /boot/grub/grub.cfg`
3. Install the newest kernel `pacman -S linux`

Offline

#5 2015-02-08 13:40:49

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: Grub bug?

I have the sam problem but i'm on the same kernel that uname -a shows. Is there a way to fix it? I won't change kernel because i have the one that was used. This thing comes after installing intel-ucode package for update intel ucode. It just stops at the

[firekage@arch_desktop ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found Intel Microcode image
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img

Last edited by firekage (2015-02-08 13:42:07)

Offline

#6 2015-02-08 14:20:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Grub bug?

Please do not necrobump old threads.  Closed.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB