You are not logged in.

#1 2014-08-07 04:56:29

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

[solved] os-prober doesn't find my other distro anymore (for grub2)

Yesterday, I added the lts-kernel to my system.
Doing a grub-mkconfig -o /boot/grub/grub.cfg found both arch kernels, but it can't find my backup distro anymore. (That worked before! Haven't changed anything regarding that.)
The kernel of the other distro is on /dev/sda5 which is mounted, readable and accessible.

Output of:

# os-prober
  No volume groups found

The "No volume groups found" message isn't bad, as on my other system, this message appears, too, and the other distro is mentioned after that message.

I know there are many threads about such things here, but nothing helped me. (using grub-customizer, rebooting, updating)

Any ideas?

Last edited by Carl Karl (2014-08-07 15:16:29)

Offline

#2 2014-08-07 05:02:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] os-prober doesn't find my other distro anymore (for grub2)

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-08-07 15:16:14

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: [solved] os-prober doesn't find my other distro anymore (for grub2)

OK, as os-prober doesn't want to work here, I did it the manual way:
I edited /etc/grub.d/40_custom by hand and run grub-mkconfig -o /boot/grub/grub.cfg afterwards.
If it is useful for someone, here is my custom /etc/grub.d/40_custom:

#!/bin/sh
exec tail -n +3 $0
# 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.

menuentry 'Ubuntu, mit Linux 3.8.0-20-generic' {
set root='hd0,msdos5'
linux	/boot/vmlinuz-3.8.0-20-generic root=UUID=090171f7-aff2-45d8-a4eb-2e22280ad7bc rw   quiet
initrd	/boot/initrd.img-3.8.0-20-generic
}

I got the values from the /boot/grub/grub.cfg of my old ubuntu (yeah, kill me! ;-) ) installation.

Offline

Board footer

Powered by FluxBB