Ubuntu Mac: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Ubuntu's Instructions=
=Alternative Methods for Installing Ubuntu on Macbook using OS X (NOT WORKING, NEEDS REVIEW)=


https://help.ubuntu.com/community/How%20to%20install%20Ubuntu%20on%20MacBook%20using%20USB%20Stick
Installing and Booting Ubuntu using USB Flash Drive


http://opensourceecology.org/wiki/Ubuntu_Mac_USB


=Get the .ISO=
=Running Ubuntu Using Virtual Box (Working Method)=
 
==Get the .ISO==


Ubuntu 12.04 LTS 32 bit
Ubuntu 12.04 LTS 32 bit
Line 10: Line 13:
http://www.ubuntu.com/download/desktop
http://www.ubuntu.com/download/desktop


=Convert the .ISO=
==Download Oracle VM VirtualBox .DMG file==


Convert the .iso file to .dmg using the convert option of hdiutil
https://www.virtualbox.org/wiki/Downloads


In Terminal, type (OS X tends to put the .dmg ending on the output file automatically):
Disk image will automatically mount itself and prompt you to double click "VirtualBox.mpkg"


sudo hdiutil convert -format UDRW -o ~/path/to/target ~/path/to/ubuntu.iso
This will install an app to see if your machine is able to run Virtual Box.


General example:
Follow the installer, close the window.


YOURNAME-MacBook-Pro:~ USERNAME$ sudo hdiutil convert -format UDRW -o ~/IMAGENAME ~/UBUNTUVERSIONNAME.iso
==Open Virtual Box==


Specific example:
If your machine is able to run Virtual Box, you will find it in your applications folder. Find this and double click it.


Graham-Robertsons-MacBook-Pro:~ graham$ sudo hdiutil convert -format UDRW -o ~/graham.dmg ~/ubuntu-10.04.2-desktop-i386.iso
==Create New Virtual Machine==


=Insert then Unmount USB Flash Drive=
You should see a window that says "Welcome to Virtual Box"


Put your USB Flash Drive into the USB port of your Mac (usually at the sides of the mac)(flip the USB flash drive if not fitting)
In order to create a new virtual machine, click New in the top left hand corner of the window.


List the disks connected to your devices. Determine the device node assigned to your flash media (e.g. /dev/disk2)
Name your virtual machine. Select Linux from the Operating System drop down menu. Select Ubuntu in the Version drop down menu.


diskutil list
Virtual Machine will now prompt you to select the Memory to be used. 512 MB is the suggested amount.


Unmount your USB flash drive disk by inputting this code:
Click the create button and wait.


diskutil unmountDisk /dev/diskN
You will be asked to provide a bootable drive containing the operating system. Click the folder icon next to the drop down menu and select the Ubuntu .ISO file. You will now be booted into the Ubuntu startup process.
 
(replace N with the disk number from the last command; in the previous example, N would be 2)
 
=Process and Transfer Ubuntu disk image onto USB flash drive=
 
Specific example:
sudo dd if=/Users/graham/graham.dmg of=/dev/disk2 bs=1m

Latest revision as of 04:55, 26 June 2012

Alternative Methods for Installing Ubuntu on Macbook using OS X (NOT WORKING, NEEDS REVIEW)

Installing and Booting Ubuntu using USB Flash Drive

http://opensourceecology.org/wiki/Ubuntu_Mac_USB

Running Ubuntu Using Virtual Box (Working Method)

Get the .ISO

Ubuntu 12.04 LTS 32 bit

http://www.ubuntu.com/download/desktop

Download Oracle VM VirtualBox .DMG file

https://www.virtualbox.org/wiki/Downloads

Disk image will automatically mount itself and prompt you to double click "VirtualBox.mpkg"

This will install an app to see if your machine is able to run Virtual Box.

Follow the installer, close the window.

Open Virtual Box

If your machine is able to run Virtual Box, you will find it in your applications folder. Find this and double click it.

Create New Virtual Machine

You should see a window that says "Welcome to Virtual Box"

In order to create a new virtual machine, click New in the top left hand corner of the window.

Name your virtual machine. Select Linux from the Operating System drop down menu. Select Ubuntu in the Version drop down menu.

Virtual Machine will now prompt you to select the Memory to be used. 512 MB is the suggested amount.

Click the create button and wait.

You will be asked to provide a bootable drive containing the operating system. Click the folder icon next to the drop down menu and select the Ubuntu .ISO file. You will now be booted into the Ubuntu startup process.