Ubuntu Mac: Difference between revisions

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


Installing and Booting Ubuntu using USB Flash Drive
Installing and Booting Ubuntu using USB Flash Drive
Line 5: Line 5:
http://opensourceecology.org/wiki/Ubuntu_Mac_USB
http://opensourceecology.org/wiki/Ubuntu_Mac_USB


=Running Ubuntu Using Virtual Box=
=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==
==Download Oracle VM VirtualBox .DMG file==
Line 31: Line 37:
Virtual Machine will now prompt you to select the Memory to be used. 512 MB is the suggested amount.
Virtual Machine will now prompt you to select the Memory to be used. 512 MB is the suggested amount.


=Running Ubuntu Using USB Flash Drive=
Click the create button and wait.  
 
==Ubuntu's Instructions==
 
https://help.ubuntu.com/community/How%20to%20install%20Ubuntu%20on%20MacBook%20using%20USB%20Stick
 
 
==Get the .ISO==
 
Ubuntu 12.04 LTS 32 bit
http://www.ubuntu.com/download/desktop
 
==Convert the .ISO==
 
Convert the .iso file to .dmg using the convert option of hdiutil
 
In Terminal, type (OS X tends to put the .dmg ending on the output file automatically):
 
sudo hdiutil convert -format UDRW -o ~/path/to/target ~/path/to/ubuntu.iso
 
General example:
 
YOURNAME-MacBook-Pro:~ USERNAME$ sudo hdiutil convert -format UDRW -o ~/IMAGENAME ~/UBUNTUVERSIONNAME.iso
 
Specific example:
 
Graham-Robertsons-MacBook-Pro:~ graham$ sudo hdiutil convert -format UDRW -o ~/graham.dmg ~/ubuntu-10.04.2-desktop-i386.iso
 
==Insert then Unmount USB Flash Drive==
 
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)
 
List the disks connected to your devices. Determine the device node assigned to your flash media (e.g. /dev/disk2)
 
diskutil list
 
Unmount your USB flash drive disk by inputting this code:
 
diskutil unmountDisk /dev/diskN
 
(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
 
This step requires patience, as it takes a long time. Wait for Terminal to respond.
 
==Eject USB Flash Drive==
 
Type:
 
diskutil eject /dev/diskN
 
Replace "N" with your disk number.
 
Remove USB Flash Drive
 
==Restart your Mac==


Hold alt/option key while rebooting.
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.

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.