Dual Boot Ubuntu and Windows 10

I am on a Toshiba Satellite L55 and wanted to install a Linux operating system alongside my Windows 10 OS.

Here is a great YouTube video that explains how to allow both operating systems to work alongside each other:

I had trouble creating a partition using the Windows 10 Disk Management so I downloaded this EaseUS Partition Manager program to help me set aside a big enough partition manually.

Instead of saving the Ubuntu image .iso file onto a DVD, I used a USB. There are some tutorials online on how to change some settings in your BIOS to be able to boot from a USB drive. On my Toshiba Satellite, I didn’t have to alter anything in my computer BIOS and was able to just press F12 on computer start-up and choose USB as my boot source.

Advertisements

Ubuntu: Opening Sublime from Terminal

Ubuntu:

Download the Sublime package and extract the contents OR  follow the steps here to install from your terminal.
Move your extracted contents to the ‘opt’ folder in your terminal:

$ sudo mv Sublime\ Text\ 2 /opt/

Setting up a link:

$ sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

Test if it worked by typing ‘sublime’ to open the text editor:

$ sublime

Installing Vagrant, Virtualbox

Vagrant is used to manage your Virtualbox images

Virtualbox is used to create customized development environments. You can create a Linux or Mac environment on a Windows machine with Virtualbox.

Here’s how to get started with Vagrant on Windows.

I installed Vagrant onto my Windows 10 OS first.

Then I installed Virtualbox

Setting up your Virtualbox

I ran the Virtualbox and selected the blue ‘New’ button to create a new virtual machine (which I named Ellen’s Linux). I kept all the values to their defaults and created a 5gb hard disk that is dynamic.

Unnamed QQ Screenshot20151221214033

Go here to download Ubuntu OS. I downloaded the 14.04.3 version.

Then go to your Settings>Display
Click on the CD icon (which should say Empty)
Then click on the CD icon on the right under Attributes>Optical Drive to select the Choose Virtual Optical Disk File
Find your Ubuntu OS .iso file and select it.

Unnamed QQ Screenshot20151221220339

Click the OK button and Run your new virtual machine.

If you get this error in your Virtualbox:

This kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

Go to General> Basic Settings and change the Ubuntu(32-bit) to Ubuntu(64-bit)

Unnamed QQ Screenshot20151221220256.jpg

If you notice your Ubuntu environment running super slow, go to Settings> Display

Check the ‘Enable 3D acceleration’ box in your virtual machine

Unnamed QQ Screenshot20151221220316

Setting up your Vagrant

After installing Vagrant, open your terminal and run this:

$ vagrant box add precise32 http://files.vagrantup.com/precise32.box
$ vagrant init precise32

If you get this error in your terminal:

Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

The RubyEncoder loader is not installed. Please visit the http://www.rubyencoder.com/loaders/ RubyEncoder site to download the required loader for 'mingw' and unpack it into 'C:/HashiCorp/Vagrant/embedded/rgloader' directory to run this protected script.

Then go here to download the RubyEncoder (MinGW). Unzip the folder ‘rgloader’ into HashiCorp/Vagrant/embedded/

If you’re prompted, replace any files with the same name.

Create a directory anywhere on your computer and test your Vagrant.
$ mkdir vagrant-test
$ cd vagrant-test
$ vagrant up

Done!

Get into an instance:
$ vagrant ssh

Helpful links:
Ubuntu Vagrant Install and Getting Started/

Getting Started Vagrant Windows

Ubuntu