Dual Boot Windows 10 and Arch Linux on a Lenovo T430 with GRUB Update
In this article, we'll take you through the process of setting up a dual boot system with Arch Linux and Windows 10 on a Lenovo T430 laptop. We'll also cover how to update the GRUB bootloader to include both operating systems.
Installing Windows 10 and Arch Linux
First, you'll need to install both Windows 10 and Arch Linux on your Lenovo T430. We recommend installing Windows 10 first and then shrinking the partition to make room for Arch Linux. Once you've created a partition for Arch Linux, you can follow the Arch Linux installation guide to complete the installation process.
# Partitioning the disk
$ fdisk /dev/sda
n
p
1
+500G
n
p
2
+480G
a
1
t
1
7
a
2
4
w
Updating the GRUB Bootloader
Once you've installed both operating systems, you'll need to set up the GRUB bootloader to include both. To do this, you'll first need to boot into Arch Linux. Next, open a terminal and run the following commands:
# Install os-prober
$ sudo pacman -S os-prober
# Update the GRUB bootloader
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Adding Windows 10 to GRUB
If the above steps don't include Windows 10 in the GRUB bootloader, you can manually add it. First, run the os-prober command to see if Windows 10 is detected:
$ sudo os-prober
If Windows 10 is detected, you can add it to the GRUB bootloader using the grub-mkconfig command:
# Add Windows 10 to GRUB
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
With these steps, you'll have a dual boot system with Arch Linux and Windows 10 on your Lenovo T430 laptop. By updating the GRUB bootloader to include both operating systems, you'll be able to choose which one to boot into at start up.
References
- Arch Linux Installation Guide: https://wiki.archlinux.org/title/Installation_guide
- GRUB Manual: https://www.gnu.org/software/grub/manual/grub/grub.html
- os-prober Manual: https://man7.org/linux/man-pages/man8/os-prober.8.html