In-Shorts: This guide shows you how to dual boot Linux with Windows 10 and enjoy both Linux and Windows together in one system using USB.
Step 1: Create a live / bootable USB
- Go to Ubuntu website and download ISO file
- Get Windows Insider Preview ISO file
- Use Ventoy to create a bootable USB having both Linux and Windows
[Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files]
URL – https://www.ventoy.net/en/download.html - Make sure you have both Linux and Windows ISO in the USB
Step 2: Partitions
- As a beginner, have only one storage device available , for a clean and easy installation
- If you have multiple partitions, you can either use one of them or create a new partition from an existing partition. So your existing data will be safe if you have enough free space. Typically, you install Linux in under 10 Gb, however using 30-40Gb is safe.
- Shrink existing partition in Windows 10
Go to start menu and type ‘partition’. This will bring up Disk Management utility. Now carefully select the disk and shrinking the volume
Step 3: Secure Boot
- Disable Secure boot from the BIOS Menu.
Step 4: Boot in to live USB
- Plug the live USB or disk into the computer and restart the computer. While booting the computer press F8 or F10 or F12 function key (defers from computer to computer) to go to the boot menu and choose USB disk with Ventoy
Step 5: Start the installation
- [Skip if Windows 10 in device] Install Windows 10 first on the unallocated space [SSD /HDD] and and complete all the required steps.
Refer – https://www.itechfever.com/install-windows-10-usb-drive-screenshot/ - [Skip if Windows 10 in device] Once Windows 10 is installed and first User Setup is done reboot your device and boot in the USB stick with Ventoy
- Now its time to install Linux, To begin the installation, click Install Ubuntu. [Make Sure Windows 10 already installed]
- You’ll also be asked to choose:
Normal Installation – This is the full Ubuntu Desktop experience, with office software, games, and media players.
Minimal Installation – Installs required packages only
- When installing Windows and Linux for the first time choose Install Linux alongside Windows.
Linux will handle things on its own. If you do this, skip next steps and wait for the installation to complete. - If preferred to partition manually, prepare a new partition for Linux in the unallocated partition created earlier. In the Installation Type window, choose Something Else
- Now partition the unallocated partition which was created earlier, refer this link for partitioning https://help.ubuntu.com/community/PartitioningSchemes
- Once done proceed with installing Linux – Select Time Zone, Create User Account
- Then the system should re-boot into your fresh install of Ubuntu.
Step 5: Check Dual Boot
- Now Restart and check botting into Windows 10 and Linux
Step 6: Fix Windows and Linux Showing Different Times When Dual Booting
When you use Linux, it shows the correct time. But when you boot into Windows, it shows the wrong time. Sometimes, it is the opposite and Linux shows the wrong time and Windows has the correct time.
- Easiest way is to make Linux use local time.
- Boot into Linux and run this command in Linux terminal
timedatectl set-local-rtc 1ortimedatectl set-local-rtc 1 --adjust-system-clock
- If you ever want to undo this change, run the following command:
timedatectl set-local-rtc 0 --adjust-system-clock
