You are not logged in.
Pages: 1
OS prober does not helps. This is output of fdisk -l:
Device Start End Sectors Size Type
/dev/sda1 2048 1646321663 1646319616 785G Microsoft basic data
/dev/sda2 1646323712 1646356479 32768 16M Microsoft reserved
/dev/sda3 1646356480 1748723711 102367232 48.8G Microsoft basic data
/dev/sda4 1748723712 1765500927 16777216 8G Linux swap
/dev/sda5 1765500928 1828415487 62914560 30G Linux filesystem
/dev/sda6 1828415488 1953525134 125109647 59.7G Linux filesystem
Device Start End Sectors Size Type
/dev/sdb1 2048 923647 921600 450M BIOS boot
/dev/sdb2 923648 1128447 204800 100M EFI System
/dev/sdb3 1128448 1161215 32768 16M Microsoft reserved
/dev/sdb4 1161216 250068991 248907776 118.7G Microsoft basic data
I have installed Arch linux on sda and Windows 10 on sdb. I tried to manually add path to my grub.cfg file like this:
menuentry 'Windows 10' {
set root='(hd1,msdos1)'
chainloader +1
}
Then I run
# grub-mkconfig -o /boot/grub/grub.cfg
But after opening this in grub I recive only "No such partition" error.
How should this entry looks like in my case?
Offline
If your system is BIOS, try to install os-prober and then
grub-mkconfig -o /boot/grub/grub.cfg
If you have UEFI maybe there is another way...
Offline
My first sentence - os prober does not help. I tried with rEFInd, but this is ugly as hell.
I want to make it working with grub. Is there any way to do it?
Offline
I just solved the same issue this weekend. I'm assuming you installed the older bios version of grub? something like
grub-install /dev/sda...
If so, it looks like your windows drive is using EFI. This grub mode cannot read EFI (hence os-prober failing). I reinstalled grub with UEFI and it picked it up no problem.
See here for how to install grub the UEFI way. Note: you will need to repartition your drive (needs a 512M partition)
Last edited by piratebill (2016-08-22 19:40:45)
Offline
Pages: 1