Windows 10 dual boot
Any tips from those who tried setting arch as dual boot to a preinstalled windows 10 machine?
The first time I tried, I failed miserably. Then decided to read the wiki and learn first.
Second time I managed fairly well on a Virtual Machine.
Trying it for third time. Even if I mess up again I will definitely try later. Want to get it done before college starts in September.
From people who have done this successfully, what things will help me for a smooth try?
Am not nerd enough to feel extremely excited about reading all through the wiki n times and cracking everything. But I understand it’s a necessity if I am expecting to benefit from all these.
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- cdep5p
18 comments
Carve out a part of your disk and install Windows onto it, then install arch from liveusb on the remaining portion of your disk. Then install os-prober, then setup grub.
Well, in his case Windows is pre-installed. So he can carve out empty space from an existing windows partition.
Oh right, I missed that part. OP should go into Computer Management on Windows and shrink the Win10 partition
Already have half of the total space un allocated so it won’t be an issue.
Install windows first. When installing use a custom partition scheme to make the boot partition bigger. Otherwise windows creates a 100MB boot partition for you.
You can use any bootloader but I like systemd-boot because you only need
/boot/loader.confwhich is a couple lines,/boot/loader/entries/arch.confwhich is also a couple lines and> bootctl --path=/boot installto copy the efi binaries.I already have windows installed with EFI partition 100MB. Is there any way to increase it? I spend some time looking it up, but ddnt get much on it that works.
You can increase the UEFI partition size but you'll likely break it in the process. I just went through this last week. I damaged the entire filesystem and had to first rebuild the UEFI windows bootloader and run check disk twice on the windows installation.
In this case, I would install rEFInd as the bootloader so you can keep vmlinuz-linux and initrd on the Linux partition.
Boot into the arch ISO. Mount the arch installation partition. Do not mount the UEFI partition. Do the installation and software setup. chroot to the installation mount, install rEFInd, run
refind-install --alldrivers. That's it. You can use the automated search feature of rEFInd for now. You can customize it later.It's likely that rEFInd won't set itself to the default EFI application. Read the arch wiki for UEFI to manually set this using efibootmgr.
I just did it a few days ago. I followed the instructions on the wiki very carefully, took notes as I went, and googled anything I was confused about. I also consulted the recommendations for my machine many times. It’s a long process, so try to relax and take your time.
I did manage to miss a step when I was setting up the bootloader (I chose systemd-boot), but it was easily solved by booting from the USB again. Try to remember that it’s a learning experience, and (most) errors are easily fixable. Good luck!
Thank you.
Me too did a lot of notes and looking up the first time. Still messed up with the wifi adapter and was left hanging. Just one of the things I missed. Guess I ddnt research enough!
I partitioned it out manually, 5 partitions: loader, 2 for windows (sys and home) and 2 for arch (sys and home). Sys partitions are on an SSD and homes on a mechanical. Installed windows to its partition, it added its extra partition to it's sys, wrote to GPT. Then i installed arch and tweaked the GPT to use GRUB and let GRUB gen the entries.
Works like a charm, but a Win 10 feature update will not go cause it can't write to GPT. Still haven't battled that, didn't try really. So just a heads up.
You can try also with SystemD Boot :
https://wiki.archlinux.org/index.php/Systemd-boot