Information From
Windows
- Download Arch Linux iso onto usb
- Go to partition manager and find drive with windows
- Shrink Partition to desired size for Linux
- Restart
Linux Partition
Edit partitions with fdisk /dev/{drive}
- create new partitions with
n - Position and number can be default
- Rest follow the table
| Size | Mount Name | File Type | Extra |
|---|---|---|---|
| 1GB | /boot | fat32 | Boot + esp |
| 50-75GB | / | ext4 | |
| Remaining | /home | ext4 |
After archinstall, chroot into the machine
efibootmgrnote that there is no archgrub-install --target=x86_64-efi --efi-directory=/boot --recheckefibootmgrnote there is arch- restart
Allow Windows on Grub
- pacman -S os-prober`
vim /etc/default/grubremove last # on last linegrub_disable_os_prober=falseos-prober
/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/nvme1n1p5:Arch Linux (rolling):Arch:linux
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done