Here i’ll show you how you can dual boot Ubuntu/Kali alongside Windows on separate partition.
Okay, so first be sure of the following points-
YOU SHOULD BACKUP ALL YOUR DATA FIRST WHETHER ON AN EXTERNAL HARD DISK OR ON GOOGLE DRIVE.
Check which BIOS mode is your Windows installed in. You can check it from your Windows by searching and opening “System Information” on clicking on Start button.
Look for the field named “BIOS Mode”.
If its Bios, then it’s nice. But if it’s Legacy then it’s high chance that your system will have to be fresh boot as Legacy supports only one operating system. So, make sure you have backed up every piece of important data.
Now, partition your hard drive space for you Linux.
Right click on Windows button and select “Disk Management” OR search for “create and format hard disk partitions” on clicking start to open Disk Management popup Window.
Now right click on the drive from which you would like to allocate space to Linux and click on “Shrink Volume” option.
Then you may have to wait for while and after that enter the amount of space you would like to give to Linux (in MBs). Then click on “Shrink”to create an unallocated space of your desired size.
Download and Install Rufus software.
Download your Ubuntu ISO OR Kali ISO.
If your PC has NVIDEA graphics , then from here refer to this link.
Insert your pendrive and then open Rufus. Select your ISO and Target System and partition scheme(MBR for Legacy and CSM for UEFI) accordingly.
Then click on Start.
Then click OK.
This will take few moments to create your bootable pendrive.
Now google search the BIOS menu key for your laptop model.
Ex: F8 for ASUS PCs.
Now connect your pendrive and restart your PC and press your BIOS menu key for to open up your BIOS menu settings by pressing your BIOS key.
DISABLE ‘SECURE BOOT’ FROM YOUR PC BIOS SETTINGS.
DISABLE ‘FAST BOOT’(IF THERE) FROM YOUR PC SETTINGS.
Then from Boot Menu select the one named something as “Ubuntu UEFI Partition”, i.e. your bootable pendrive.
Then there must have come a grub screen which would look like-
Select Try Ubuntu without installing.
Let your Ubuntu open up.
INSTALLATION:
On the Launcher hit on the second icon from top, Install Ubuntu 19.04 LTS, and the installer utility will start. Choose the language you wish to perform the installation and click on Continue button to proceed further.
Choose the first option “Normal Installation” and hit on Continue button again.
Check the “Something else” option and hit on Continue button to proceed further.
On this step we’ll create our custom partition layout for Ubuntu. On this guide will recommend that you create three partitions, one for root
and the other for home
accounts data and one partition for swap
.
To create the first partition, the root
partition, select the correct free space (the shrink space from Windows created earlier) and hit on the +
icon below. On partition settings use the following configurations and hit OK to apply changes:
- Size = at least 20000 MB
- Type for the new partition = Primary
- Location for the new partition = Beginning
- Use as = EXT4 journaling file system
- Mount point = /
Create the swap
partition using the same steps as above. Use 1 to 1.5 times of your RAM size(Ex: 4 GB RAM in this case). The partition settings should look like this:
- Size = 4000 MB (between RAM Size and 1.5 x RAM Size)
- Type for the new partition = Primary
- Location for the new partition = Beginning
- Use as = swap area
Create the home
partition using the same steps as above. Use all the available free space left for home partition size. The partition settings should look like this:
- Size = all remaining free space
- Type for the new partition = Primary
- Location for the new partition = Beginning
- Use as = EXT4 journaling file system
- Mount point = /home
When finished, hit the Install Now button in order to apply changes to disk and start the installation process.
A pop-up window should appear to inform you about swap space. Ignore the alert by pressing on Continue button.
Next a new pop-up window will ask you if you agree with committing changes to disk. Hit Continue to write changes to disk and the installation process will now start.
On the next screen adjust your machine physical location by selecting a city nearby from the map. When done hit Continue to move ahead.
Pick up a username and password for your administrative sudo account, enter a descriptive name for your computer and hit Continue to finalize the installation.
Also keep in mind that you will have to re-enter passwords very frequently in ubuntu, so don’t use a very big password.
From here on the installation process will run automatically until it reaches the end. Just watch and enjoy.
It will take time. After the installation process reaches its end hit on Restart Now button in order to complete the installation.
Remove installation media. i.e your pendrive when asked on the screen and press Enter.
Hopefully now on restart you would see grub menu with Ubuntu installed.
Enjoy using Linux!