How to install Ubuntu as Dual Boot

From Metakgp Wiki
Jump to navigation Jump to search
  1. Prepare the pen drive

    1. We’ll need a pen drive of size at least 4 GB. (Label it with your name)
    2. Install unetbootin[1] or Rufus USB Installer or Universal USB Installer[4] on your computer.
    3. Download Ubuntu 16.04 iso file[2] (Be sure to download the variant that matches your architecture, 32 bit or 64 bit. All laptops less than 10 year old support 64 bit.). Should also be available on the DC++ hub or CIC software repository at 144.16.192.212 .
    4. Run unetbootin or Rufus UUI. For 32-bit machines, Suse Studio Image Writer may be used. Right click on the image writer executable file and choose 'Run as administrator'. Follow the instructions carefully to format the pen drive and extract the iso file using unetbootin or UUI in the pen drive to make it bootable. (Very Simple steps)
  2. Prepare the computer (Windows) for dual boot

    1. Search for “Create and Format disks”.
    2. “Shrink” the end (right side) of the partition to avail more than 50 GB. (It will take time)

    Make sure there are no more than three partitions in Windows.

  3. Flash Ubuntu and install

    1. Reboot the computer and use the keys F2, Esc or F10 to change the boot order and boot using the pen drive. Select the option “Use Ubuntu without installing”
    2. After the OS boots, start the installation by running the software on the desktop.
    3. Do not install any third party software and also do not connect to internet. Updates can be done later.
    4. Next, next, next until you see the “Install alongside Windows” option. Choose it and proceed.
    5. Select location for time. Fill name and computer name. Let the user choose the password. Leave every other option as it is.
    6. Proceed. Restart and hope for the grub to appear with entries for both OSes.
  4. (If grub menu does not appear, time to do boot-repair)

    1. Boot the flash ubuntu again.
    2. Connect to Internet and configure proxy.
    3. We need to run Boot-Repair[3].
    4. Restart. And Pray for the grub to appear.
  • (If grub menu appears but windows is not appearing in Grub)

    1. Boot the flash ubuntu again.
    2. Click on try ubuntu option
    3. Open terminal using ctrl+alt+t
    4. (Type)sudo gedit /etc/grub.d/40_custom(then enter)
    5. Then a file opens read the instruction properly on the file & then copy paste the below snippet properly
    6. menuentry "Windows" {
          set root=(hd0,2)
          chainloader +1
      }
      
    7. (Save the file)ctrl+s & close the window
    8. Reboot your system
    9. Ref:https://askubuntu.com/questions/485278/windows-8-1-not-appearing-in-grub2-after-installing-ubuntu-14-04/485300#485300
    10. Notes :
      1. For any kind of problems during or post installation, please refer to this doc: https://docs.google.com/document/d/1oogiSAm_4iXWFIsGNM0LFvPa5--kvGuoj38sCF8EpuQ/edit?usp=sharing
      2. Disable secure boot from BIOS (F2).
      3. After installation, instructions for updating and upgrading ubuntu should be given.
      4. Never mess with disk partitions unless you know what you are doing.
      5. Installation instructions for other Distros are very similar. Be sure to check that you are installing alongside Windows and not removing everything from your disk.
      • Be sure to check the hashsums[5] of the file downloaded and the corresponding hash values given on their website[6] before installation. Both the values should match. You can use freely available Hashcalc for Windows.

      See Also[edit | edit source]

      External Links[edit | edit source]

      1. https://unetbootin.github.io/

      2. http://releases.ubuntu.com/16.04.1/

      1. 64bit - http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso
      2. 32bit - http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-i386.iso

      3. https://help.ubuntu.com/community/Boot-Repair

      4. http://www.pendrivelinux.com/downloads/Universal-USB-Installer

      5. http://www.ubuntu.com/download/how-to-verify

      6. http://releases.ubuntu.com/16.04.1/MD5SUMS