Dual Booting
Many people want to dual boot Linux and Windows. Dual booting is challenging in a computer with only one hard disk, such as a laptop. On a desktop dual booting is best accomplished with a second hard disk.
Disconnecting the Windows hard disk is not required but provides a sane and safe way to ensure no newbie mistakes to cause trauma.
- Boot into Windows.
- Verify
Fast Startup
is disabled. - Shut down.
- Disconnect the Windows disk.
- Connect the new disk.
- Install the distro.
- Reboot.
- Verify the distro boots.
- Connect the Windows disk.
- In the BIOS boot order select the new disk as the first disk.
- Reboot.
- Boot into the distro.
- Ensure
/etc/grub.d/30_os-prober
is executable (chmod +x
). - Run
update-grub
. - Reboot.
- Verify Windows is in the GRUB boot menu.
- Boot into Windows.
- Reboot.
- Boot into the distro.
Performing these steps in this manner never modifies the Windows disk. The BIOS is configured to boot from the new disk. If the new disk is removed the BIOS automatically defaults to the only remaining disk. If the Linux disk is removed or fails the Windows boot loader will continue to boot without incident.
Dual booting with two disks is optimal because the boot loaders of each operating system never clobber one another.
Posted: Usability Tagged: General, Windows
Category:Next: Restoring a Debian System
Previous: Writing Procedures