Skip to content

Step by step instructions for dualbooting your windows pc with a linux based os.

Notifications You must be signed in to change notification settings

hardik01shah/dualbooting-windows-with-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Dualbooting Windows10 with Linux

This is a guide for dualbooting your laptop with a linux based os. I made this repo for my own future reference.

Relevant details about the laptop:

  1. Dell Inspiron 5000 series
  2. Preinstalled windows 10
  3. NVIDIA Geforce MX250 GPU
  4. 512 GB SSD

Important details that need to be checked before starting the dualboot procedure:

  1. SATA mode should be AHCI and nor RAID/IDE(E.g. Intel Rapid Storage Technology)

    To check the SATA mode use Device Manager and check your storage drivers.
    If the SATA mode is RAID, follow the below link for conversion to AHCI: (do not use the ALT commands)
    https://support.thinkcritical.com/kb/articles/switch-windows-10-from-raid-ide-to-ahci

  2. UEFI booting
  3. Secure Boot should be disabled

    Open the boot menu using F2 key(maybe different for different laptops).
    In the boot options disable secure boot by unchecking it.

Steps:

  1. Download the iso image of the OS you want to dualboot your system with from the corresponding website.
  2. Install Rufus/Ventoy/USBImager/balenoEtcher for preparing the boot media.
  3. Run Rufus, settings as GPT and UEFI(non CMS).
  4. Allocate some space for your OS in the disk management.

    Shrink the drive that has free space.

  5. Restart the system.
  6. Tap f12.
  7. Choose the boot media as the boot option in the GRUB screen.
  8. Try liveboot first to check if preinstalled nvidia drivers are working.

    This is not needed for Pop!_OS. It already has Nvidia drivers installed.
    Just check if all essential devices work with the OS in the live boot.
    Check wifi, bluetooth, speakers, headphones, graphics etc.

  9. If liveboot does not work try again after appending nomodeset=0 at the end of the linux line in the GRUB.

    For more info check this:
    https://askubuntu.com/questions/747314/is-nomodeset-still-required#:~:text=Highlight%20the%20Ubuntu%20entry%20in,line%20%2D%20press%20F10%20to%20boot.&text=Generally%20it%20is%20recommended%20to,from%20the%20official%20Ubuntu%20repositories.

  10. Play around in the liveboot and once sure that everything works fine continue with the installation.
  11. In the installation, if you get an option for automatic partitioning i.e. the OS will handle allocation of memory to different partitions, you can go for it.
  12. However, in systems like Pop!_OS, you have to go for a custom install i.e. make the partitions yourself:

    Make the partitions as follows:

    1. boot - 512 MiB (EFI)
    2. swap - 4096 MiB (linux-swap)
    3. root - whatever space remains (ext4)
      A further /home partition can be added but it is optional. That too will be ext4.
  13. Systems like Pop!_OS won't have GRUB as the bootloader, instead they have systemd.

    To install GRUB on a Pop!_OS installation follow this link:
    https://jacci.net/linux/pop-os/how-to-install-grub-on-pop-os-20-04/

Steps to remove OS from dualboot:

  1. Open BIOS settings by tapping on f2 after restarting.
  2. Open Boot Options.
  3. Remove the boot option that has the Linux OS name.
  4. Make Sure Windows boot Manager is at the top of the boot list.
  5. Exit from BIOS settings.
  6. In windows, open Disk Management and delete the volumes of the partitions that held your OS.
  7. You will have to delete the /boot partition using cmd.
  8. Extend your current drives to take in the unallocated space.
  9. Restart to check once more.

References:

Note:
I was getting the below error for ubuntu-based Linux installations(except Pop!_OS):

Failed to parse WDG method when booting

This error arises because the laptop hardware is too new for the old kernels used by Ubuntu. Hopefully this should be fixed in newer releases.
To prevent this error try installing rolling release distros like arch, openSUSE, fedora, or POP!_OS(if you want ubuntu based)

About

Step by step instructions for dualbooting your windows pc with a linux based os.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published