You are not logged in.
Hi,
I have installed Arch Linux and Windows 7 on my primary disk. Everything's perfect. I want to install Windows 8 on my second disk. My only problem is how do I make grub2 recognize Windows 8 on the second disk and add it to the grub file, so i can boot Arch, Windows 7 and Windows 8.
Thank you for your time,
Deadvi
Last edited by Deadvi (2012-08-29 21:24:00)
Offline
Install os-prober.
for more info
https://wiki.archlinux.org/index.php/GRUB2
Offline
That's right. Install os-prober and re-generate the .cfg.
# pacman -S os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
Don't forget to mark it as solved (by editing the first post) after you're done.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Just a small problem. I can't boot into Arch. I've tried using the installation media and choose Boot into existing OS but it doesn't boot. Any ideas?
Offline
I've tried using the installation media and choose Boot into existing OS but it doesn't boot.
If you're running it from a USB stick, press Tab over that entry and change "hd0 0" to "hd1 0".
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
If you're running it from a USB stick, press Tab over that entry and change "hd0 0" to "hd1 0".
Booted into Windows 8.
Offline
It overwrote the MBR from the first disk, even though you installed Windows 8 on the second disk? That's odd... Make sure that the boot order in the BIOS is right (that the drive with Arch Linux is the first to boot) and from a 2012 Arch Linux install media run:
# mount /dev/sdxY /mnt #Your root partition.
# mount /dev/sdxZ /mnt/boot #Your boot partition (if you have one).
# arch-chroot /mnt
And continue with the instructions from here. If you don't have a 2012 Arch Linux install media (or you only have some other "live" Linux distribution), use the old chroot way.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Everything's working. Thank you so much DSpider and hadrons123.
Offline