Git Product home page Git Product logo

installubuntu's Introduction

Dual Booting Ubuntu

Laptop

Overview

  1. Pre-Installation
  2. Download
  3. Make Room
  4. Successful USB Boot
  5. Install
  6. Boot Ubuntu

Pre-Installation

Before starting, make sure that you have the following:

  • A computer with a UFEI boot mode and at least 16GB of free space.
  • A Backup of Windows and all your files.
  • A seperate USB stick 2GB or more.

Download

Download the files on this Page or follow these links:

Start Rufus as Administrator select the Ubuntu.iso file.

Rufus

Make Room

There are multiple ways to open Disk Partition on Windows:

  1. Open the start menu ⊞ Win and type Disk Partition.
  2. Press ⊞ Win+R to open the run dialog, then type diskmgmt.msc and hit enter.

Find the disk for your Ubuntu installation (Recommended to install on SSD for better performance)

Installing on the same drive as windows is perfectly normal. In this case, Right Click on the slice that says "(C:)" and Shrink Volume....

Shrink Volume

Important!

If you get the message below, go to the solutions tab.

Shrink Volume error

Enter a size in MB for your Ubuntu installation.

Shrink Volume size

CAUTION: 1 Gigabyte is 1,024 Megabytes!

  • 16GB is 16384MB
  • 30GB is 30720MB
  • 50GB is 51200MB
  • 64GB is 65536MB
  • 100GB is 10240MB

Successful USB Boot

If you already know how to boot into a USB you can Skip past this section.

  1. Fast Boot
  2. Secure Boot
  3. Boot Priority

Disabling Fast Boot

Before you restart, you must disable Fast Boot.

Why?

DATA LOSS!!! If you create a shared NTFS data partition, hibernation caused by Windows Fast Boot may maintain the current file structure. A problem arises when trying to save a file from Ubuntu into the NTFS partition, it will get lost on Windows reboot because the computer will remember the old file structure from when it was put in hibernation.

Navigate here to avoid this issue.

Fast Boot

Disabling Secure Boot

Modern Windows PCs produced after Windows 8's release have UEFI firmware with “Secure Boot” enabled. This helps protect against rootkits and other malware infecting the Windows boot loader, but it can also prevent Ubuntu from booting.

Now you can reboot your computer and spam F10 to get into the BIOS Setup menu.

If that doesn't work. Spam F1 F2 F8 F9 ESC or just google it.

Secure Boot

Boot Priority

Before you leave that menu. Find the Boot tab and move Removable Devices to the top. If you have the USB plugged in, move it to the top.

Boot Priority

MAKE SURE TO SAVE CHANGES ON EXIT!!!

Install

Plug in the USB if you haven't done so already, and start your computer.

You should see a menu similar to this. Select Install Ubuntu.

Menu

Select Language and connect to WiFi. Check both boxes and continue.

update

Next, Choose "Install Ubuntu alongside Windows" If there is no option go to this solution.

Dual Boot

Finally, Fill in the remaining boxes and wait for Ubuntu to finish installing.

Name

Boot Ubuntu

Restart your computer and remove the USB drive. Your computer should boot into Grub.

Boot

Solutions

Disable the unmovable files

The answer is as same as the Disk Management message shows that the shrink space of C: drive is limited by unmovable files such as Hibernation, Page files and system protections. These files can’t be moved automatically by Windows built-in tool Disk Management, so you’ll need to manually disable the unmovable files.

Disable System protection:

Press ⊞ Win+R < enter SystemProperitiesProtecion.exe < press Enter < click C: drive < click Configure < select Disable system protection < click Apply < click Yes < restart.

Disable Hibernation:

Click ⊞ Win < type CMD in the Search box< right click cmd< choose Run as administrator < enter powercfg.exe /hibernate off”< press Enter < restart.

Disable Page files:

Press ⊞ Win+R < type SystemPropertiesPerformance.exe < Press Enter < click Advanced < click Change under Virtual Memory < uncheck Automatically manage paging file size for all drives < click C: drive < set paging file size to No paging file < click Set < click OK < restart.

Disable the kernel memory dump:

Click ⊞ Win< select Control Panel < click System and Security < click System < click Advanced system settings < click settings under Startup and Recovery < Change the drop down menu under Write debugging information to None.

IMPORTANT! Do not forget to re-enable these unmovable files after changing partition size of C: drive.

You can run Disk Cleanup on the disk and Disk Defragment for HDD to get more free space on C: drive.

Something else option

Go ahead and Click the "Something Else" option.

Select Free Space and hit the plus button.

Free Space

Next, make a Swap Area depending on how much RAM is in your computer

  • RAM less than 2 GB: Swap should be double the size of RAM
  • RAM between 2 to 4 GB: Swap should be RAM size + 2 GB
  • RAM between 6 GB to 8 GB: Swap should be size of RAM
  • RAM more than 8 GB: Swap should be half the size of RAM or less

Swap Area

Click on the remaining free space and select these options.

Root

installubuntu's People

Contributors

chrisae9 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.