Discussion:
[arch-general] Dual boot issue, windows doesn't show up on grub
Junayeed Ahnaf via arch-general
2017-07-25 19:03:51 UTC
Permalink
Hello ,

I installed arch on my laptop which has 2 hard drives , one is ssd (linux is installed there, also grub), one is HDD(with windows). So, at boot time , I can select either hard disk or ssd and can get either windows or arch. Is there a way for grub to see both Linux and Windows? I tried sudo update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they don't recognize windows. My windows is not uefi if that's any issue.

My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concer
Bjoern Franke
2017-07-25 19:06:05 UTC
Permalink
Post by Junayeed Ahnaf via arch-general
Hello ,
I installed arch on my laptop which has 2 hard drives , one is ssd (linux is installed there, also grub), one is HDD(with windows). So, at boot time , I can select either hard disk or ssd and can get either windows or arch. Is there a way for grub to see both Linux and Windows? I tried sudo update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they don't recognize windows. My windows is not uefi if that's any issue.
My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concern.
Did you install os-prober?

regards
Bjoern
Junayeed Ahnaf via arch-general
2017-07-25 19:07:49 UTC
Permalink
Oh yes, I have that too. Forgot to add that, issued sudo os-prober
before sudo update-grub but no luck .
Post by Bjoern Franke
Post by Junayeed Ahnaf via arch-general
Hello ,
I installed arch on my laptop which has 2 hard drives , one is ssd (linux is installed there, also grub), one is HDD(with windows). So, at boot time , I can select either hard disk or ssd and can get either windows or arch. Is there a way for grub to see both Linux and Windows? I tried sudo update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they don't recognize windows. My windows is not uefi if that's any issue.
My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concern.
Did you install os-prober?
regards
Yaro Kasear
2017-07-25 19:20:39 UTC
Permalink
I have found it sometimes helps to mount the "Microsoft Reserved" or
"Microsoft System" partition before running grub-mkconfig. The os-prober
package can be really dimwitted sometimes when it comes to doing scans on
its own like that.



On Tue, Jul 25, 2017 at 2:07 PM, Junayeed Ahnaf via arch-general <
Post by Junayeed Ahnaf via arch-general
Oh yes, I have that too. Forgot to add that, issued sudo os-prober
before sudo update-grub but no luck .
Post by Bjoern Franke
Post by Junayeed Ahnaf via arch-general
Hello ,
I installed arch on my laptop which has 2 hard drives , one is ssd
(linux is installed there, also grub), one is HDD(with windows). So, at
boot time , I can select either hard disk or ssd and can get either windows
or arch. Is there a way for grub to see both Linux and Windows? I tried
sudo update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they
don't recognize windows. My windows is not uefi if that's any issue.
Post by Bjoern Franke
Post by Junayeed Ahnaf via arch-general
My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concern.
Did you install os-prober?
regards
Bjoern
Moses Miller via arch-general
2017-07-25 19:23:33 UTC
Permalink
I actually have this exact setup, and I use systemd-boot which works
very well. It detects Windows automatically just fine.
Post by Yaro Kasear
I have found it sometimes helps to mount the "Microsoft Reserved" or
"Microsoft System" partition before running grub-mkconfig. The os-prober
package can be really dimwitted sometimes when it comes to doing scans on
its own like that.
On Tue, Jul 25, 2017 at 2:07 PM, Junayeed Ahnaf via arch-general <
Post by Junayeed Ahnaf via arch-general
Oh yes, I have that too. Forgot to add that, issued sudo os-prober
before sudo update-grub but no luck .
Post by Bjoern Franke
Post by Junayeed Ahnaf via arch-general
Hello ,
I installed arch on my laptop which has 2 hard drives , one is ssd
(linux is installed there, also grub), one is HDD(with windows). So, at
boot time , I can select either hard disk or ssd and can get either windows
or arch. Is there a way for grub to see both Linux and Windows? I tried
sudo update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they
don't recognize windows. My windows is not uefi if that's any issue.
Post by Bjoern Franke
Post by Junayeed Ahnaf via arch-general
My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concern.
Did you install os-prober?
regards
Bjoern
Brad Klee via arch-general
2017-07-25 19:32:30 UTC
Permalink
Hi Junayeed,

"grub-mkconfig" operates on the files in "/etc/grub.d", as per the
following:

https://wiki.archlinux.org/index.php/GRUB#Windows_installed_in_BIOS-MBR_mode

and the idea of a "menuentry" is further discussed in:

https://www.gnu.org/software/grub/manual/grub.html#Multi_002dboot-manual-config

But I can't say if GRUB is the best way for you to multiboot. It could be
useful for you to explore the difference between GRUB and syslinux.
According to the documentation, either should work for dual booting with
windows:

https://wiki.archlinux.org/index.php/Dual_boot_with_Windows

But the documentation does not make any suggestion as to which works
better. That is probably a matter of personal preference anyways.

And also, be careful, if you start asking too many questions, I'm sure
someone will call you a "help vampire".

Lots to read,

Brad



On Tue, Jul 25, 2017 at 2:03 PM, Junayeed Ahnaf via arch-general <
Post by Junayeed Ahnaf via arch-general
Hello ,
I installed arch on my laptop which has 2 hard drives , one is ssd (linux
is installed there, also grub), one is HDD(with windows). So, at boot time
, I can select either hard disk or ssd and can get either windows or arch.
Is there a way for grub to see both Linux and Windows? I tried sudo
update-grub and sudo grub-mkconfig -o /boot/grub/grub.cfg but they don't
recognize windows. My windows is not uefi if that's any issue.
My linux is on /dev/sdb2 and windows on /dev/sda2 if that's any concern.
Thanks
J
Loading...