View previous topic :: View next topic |
Author |
Message |
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Wed Dec 26, 2018 11:11 am Post subject: OS-Prober doesn't find Windows |
|
|
Hello,
I use occasionally my dual boot Windows on my notebook, but neither grub nor os-prober doesn't find it.
Also not with the mounted ntfs Windows, /boot and /boot/esp partition.
Any idea how to fix? _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Thu Dec 27, 2018 6:21 pm Post subject: |
|
|
Do you get the same errors noted in this post?
https://forums.gentoo.org/viewtopic-p-8294692.html#8294692
I do, except my error messages are in English. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Sat Dec 29, 2018 2:48 pm Post subject: |
|
|
As I noted in the linked article above, the Dec 1 update to grub2 along with editing /etc/lvm/lvm.conf to include the line:
solved my grub2 problems for now. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Sat Dec 29, 2018 5:10 pm Post subject: |
|
|
Hello,
Thanks for the hint! I use grub 2.02-r2, do you mean I should try the r3?
In meanwhile I fixed mit Windows MBR with the Windows Rescue Disk and I can boot Windows at least with a 40_custom entry in Grub, but OS-Prober still refuses to find Windows. I do not have the lvme socket error, but can remember, previously, when my OS Prober worked, I had this error too. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Sat Dec 29, 2018 8:15 pm Post subject: |
|
|
My new grub2 is grub-2.02-r1 with os-prober-1.76-r1
I don't have a Windows partition, but my alternate Gentoo boot partition was found.
But, I continued to have a problem on a laptop with the os-prober action.
Part of the problem on a laptop was an incomplete migration from old grub to grub2. For the os-prober to work correctly, the executables need to NOT be named grub2-whatever. To make that happen, I had to remove the multislot use flag from grub which I originally had in /etc/portage/package.use and then run emerge -uDN grub to change the installed program files. After that, grub2 with os-prober works magnificently. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Sat Dec 29, 2018 8:54 pm Post subject: |
|
|
figueroa wrote: |
Part of the problem on a laptop was an incomplete migration from old grub to grub2. For the os-prober to work correctly, the executables need to NOT be named grub2-whatever. To make that happen, I had to remove the multislot use flag from grub which I originally had in /etc/portage/package.use and then run emerge -uDN grub to change the installed program files. After that, grub2 with os-prober works magnificently. |
I compiled grub with -multislot
Code: |
sys-boot/grub
Verfügbare Versionen:
(0) 0.97-r16 0.97-r18
(2) 2.02-r1(2/2.02-r1)^st (~)2.02-r2(2/2.02-r2)^st{tbz2} ~2.02-r3(2/2.02-r3)^st **9999(2/9999)^st
{custom-cflags debug device-mapper doc efiemu +fonts libzfs mount multislot ncurses netboot nls sdl static test +themes truetype GRUB_PLATFORMS="coreboot efi-32 efi-64 emu ieee1275 loongson multiboot pc qemu qemu-mips uboot xen xen-32" KERNEL="linux"}
Installierte Versionen: 2.02-r2(2/2.02-r2)^st{tbz2}(20:30:02 14.08.2018)(fonts mount nls sdl themes truetype -debug -device-mapper -doc -efiemu -libzfs -multislot -static -test GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips -uboot -xen -xen-32")
Startseite: https://www.gnu.org/software/grub/
Beschreibung: GNU GRUB boot loader
|
I also did a grub-install /dev/sda again. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Sat Jan 05, 2019 4:53 am Post subject: |
|
|
EDITED:
Jaglover, this is helpful. I didn't know about the tail end of that wiki article. I've choked down grub2 with its automagical scripts, but I don't like the degree of automation that much. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 317
|
Posted: Thu Jan 10, 2019 1:19 pm Post subject: |
|
|
Jaglover wrote: | While Grub2 with all its bells and whistles is a great instrument for binary distros I see no point using its automagical scripts with Gentoo. Isn't it just so much easier to write these few lines by yourself and never run the messy unpredictable mkconfig again?
https://wiki.gentoo.org/wiki/GRUB2_Quick_Start#Manual_configuration
And if you keep your kernel name unchanged, like my current kernel image is always bzImage, then you do not need to edit it ever again. |
Are you not afraid that a kernel upgrade breaks something? I mostly keep 3 kernels from a major release to be on the safe side. _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2960 Location: Edge of marsh USA
|
Posted: Thu Jan 10, 2019 6:03 pm Post subject: |
|
|
Kernel upgrades don't take place automatically. As long as one observes some discipline in naming kernels and maintaining grub, problems are avoided. It's tough for new users. There is much to learn and decide.
I, also keep two or more kernels, naming them variously kernel-4.9.140-gentoo and so on, keeping a symbolic link to the intended active kernel from /boot/vmlinuz _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|