[opensuse] Help with "blind" os-prober
Hello everybody. I tried a lot of things but I do still not understand why I face this problem. I tried to install on the same system leap and tumbleweed. This failed constantly if installing with encrypted LVM. I then tried to work around this by deactivating all sata controllers but one, I attached only one disk, the one of install. I installed leap (success). I detached the disc, attached the other HDD and installed tumbleweed. (success). Now both are there, attached to sda and sdb of the controller. Both work flawlessly if I choose with F11 to start from one disk or another. But they do not see each other in the os-prober. So I cannot get them to be bound to grub. While both have their file-system accessible to each other and can be mounted. I looked ad /boot/grub/device.map. I checked, yes, both are there. (hd0) /dev/sda (hd1) /dev/sdb you run make devicemap or os-prober: nothing. Does see ONLY the active OS at the time. Does anybody has an idea where I do have to set this in order to make os-prober to understand that there is a second OS on /dev/sdb/sdb1 on the /boot partition? Since the record by default is written also to the MBR of sdb and not only to /boot I do understand even less why it doesn't work. Again, this kind of install is the only one that does not destroy my partition tables (especially XFS of home) when trying to install two suse editionds with encrypted lvm on the same PC (one per disk) In the latter case it gives error 4013 and if it installs even as non lvm, the second installation always destroys for whatever reason the XFS partiton of the existing first disk. I did report the bug, but since with the (admittedly) crude work around I made it up to here I would like to see if it is possible to get grub2 working as it should. If not the boot manager gets not useful because I have to use the F11 all the time. Not really handy. Thanks for all hints. --- Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! http://email.freenet.de/basic/Informationen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Nov 26, 2015 at 2:16 PM, <stakanov@freenet.de> wrote:
you run make devicemap or os-prober: nothing.
Please run START=$(date +'%F %T') os-prober journalctl --since="$START" on both systems and provide full output. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 26/11/2015 12:16, stakanov@freenet.de a écrit :
would like to see if it is possible to get grub2 working as it should. If not the boot manager gets not useful because I have to use the F11 all the time. Not really handy.
why use osprober at all? specially if you have access to the two disks, it should be pretty easy to add the other OS by hand http://ubuntuguide.net/manually-addingremoving-entries-to-grub-2-menu I can't say more, because I do not use lvm nor encryption jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/26/2015 05:16 AM, stakanov@freenet.de wrote:
Hello everybody. I tried a lot of things but I do still not understand why I face this problem. I tried to install on the same system leap and tumbleweed. This failed constantly if installing with encrypted LVM.
I never had a problem with this. If you setup the encrypted LVM during install, then the volume group has the name "System". Perhaps you have two encrypted LVMs using the same volume group name. Except for the first time, I have setup LVMs prior to install, and given them unique VG names, so as to avoid conflict. On my current desktop, I am using VG names of "homesys" and "nwr2sea" for the two volume groups.
you run make devicemap or os-prober: nothing. Does see ONLY the active OS at the time.
I only use os-prober on systems with Windows. Otherwise I prefer to add "configfile" entries to "/etc/grub.d/40_custom". If you want os-prober to see your systems, you must first make them visible with "cryptsetup". And then you must make LVM volumes visible with "vgchange -a". If you have conflicting volume group names, that probably won't work. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
jdd
-
Neil Rickert
-
stakanov@freenet.de