You are not logged in.
Hello,
I am having issues with adding Windows 10 option to my grub menu on boot.
I followed this tutorial which involves mounting a the System volume partition and then regenerating the grub config: https://linux.afnom.net/post-install/os-prober.html
I checked it with "os-prober" and the windows partition is successfully found:
❯ sudo os-prober
/dev/nvme0n1p1:Windows 10:Windows:chainRegenerating also passed without errors but after rebooting I could not see a menu entry for windows...
Here is the output of lsblk --fs:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
mmcblk0
└─mmcblk0p1 ntfs 687E8FEA7E8FAEFE
nvme1n1
└─nvme1n1p1 ext4 1.0 a264c5a0-23e3-4127-97ba-db852d76d3c5 356.9G 17% /
nvme0n1
├─nvme0n1p1 ntfs System Reserved EC4E21194E20DE58
└─nvme0n1p2 ntfs E0662330662306BE I am running both windows and linux on BIOS, they are installed on differen drives while linux was installed first. By default, system boots to linux.
Any help would be gladly appreciated
Last edited by othersamo_ (2022-04-02 13:55:18)
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
You followed an unsupported guide for dual booting Windows 10 with Manjaro ... so why are you asking here? If you are running Manjaro, then this is definitely the wrong place. If you are using arch linux you should follow our wiki, or otherwise pose your question to the author of the tutorial you are following.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You followed an unsupported guide for dual booting Windows 10 with Manjaro ... so why are you asking here? If you are running Manjaro, then this is definitely the wrong place. If you are using arch linux you should follow our wiki, or otherwise pose your question to the author of the tutorial you are following.
I am running arch linux, If I did not, I would not ask there.
I also checked the official wiki, I am told to add the following to the /boot/grub/grub.cfg:
if [ "${grub_platform}" == "pc" ]; then
menuentry "Microsoft Windows Vista/7/8/8.1/10 BIOS/MBR" {
insmod part_msdos
insmod ntfs
insmod ntldr
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 XXXXXXXXXXXXXXXX
ntldr /bootmgr
}
fiDoes it matter where is it put? my grub configuration file is listed here: https://pastebin.com/E4eDymxT
I am also a bit worried because at the beginning it is explicitly told not to modify that file...
Thank you
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
It's told to not modify the file because it has been generated with grub-mkconfig, as long as you don't rerun mkconfig you can edit that file however you want. However if you wanted to use that make sure to replace the placeholders with actual information from your real system.
FWIW regarding the original issue did you run grub-mkconfig blindly or actually read it's output? os-probing with mkconfig will be disabled unless you enable it in your /etc/default/grub and it will tell you so during config generation on your terminal.
Last edited by V1del (2022-03-31 21:11:24)
Offline
Eventually I managed to solve it but enabling OS-PROBER in config of grub, running os-prober and then running grub-mkconfig. Thank you for assistance!
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline