You are not logged in.
Pages: 1
Hi,
I have my system up and running bur I am facing a problem which I haven't been able to resolve.
When I install grub2 I get an example file, /boot/grub/grub.cfg which I cannot use even if I change it to my prefences.
However, when I use the grub-mkconfig -o /boot/grub/grub.cfg and it creates the config file with a lot of other options then it works but I am not able to boot Windows.
I liked the first config file since it wasn't much in it compared to this one and Windows is not even listed in this one.
Any directions? What to do?
Many thanks!
Offline
Offline
Thanks, that was exactly what I was searching for!
Offline
OK, I am still having issues.
My Windows installation is on sdb, (hd1) and I have done the following under the /etc/grub.d/40custom file:
menuentry "Windows XP" {
set root=(hd1,1)
chainloader +1
}
Any ideas?
Offline
Is Windows the only OS on sdb1? If so, I believe "set root=(hd1,0)" would apply? I've been up quite awhile so I might be missing something.:P
Skeeter
Rule #1: There are NO RULES!
Offline
grub2 seems to be very confusing to me. my '/' (linux root) is in /dev/sda5 but grub2 root device shows it as (hd0,7) which is my /boot
Acer Aspire V5-573P Antergos KDE
Offline
Well, I have finally got it working after some googling and here is what I had to put into my 40custom file with Windows on my second harddrive:
menuentry "Windows XP" {
#insmod chain
set root=(hd1)
devicemap -s hd0 hd1
chainloader +1
}
I am not sure if insmod should be included since if I include it or not it doesn't make any difference. Windows boots anyway.
So now I am finally up and running with dual boot but it took some time!
Offline
Pages: 1