From Ubuntu to OS X Yosemite Derrick Fulton Erkki Annala Janet Lavoie Kayla Roache Peter Rankin...

20
From Ubuntu to OS X Yosemite Derrick Fulton Erkki Annala Janet Lavoie Kayla Roache Peter Rankin Tiffany Falconer

Transcript of From Ubuntu to OS X Yosemite Derrick Fulton Erkki Annala Janet Lavoie Kayla Roache Peter Rankin...

From Ubuntu to

OS X Yosemite

Derrick FultonErkki AnnalaJanet LavoieKayla RoachePeter Rankin

Tiffany Falconer

Part 1

• Objective:• Install Ubuntu OS• Method of Research:• Search websites for official install directions• Search websites for user comments and tips• Plan of Action:• Follow install directions• Create bootable USB• IF problems are encountered we will adapt and overcome them.

Equipment

• 32 gb USB drive• iMac (24-inch, Early 2009)

Processor 2.93 GHz Intel Core Duo

Memory 4 GB 1067 MHz DDR3

Graphics NVIDIA GeForce GT 120 256 MB

• Apple Keyboard• Apple Bluetooth Trackpad

Creating Bootable USB Drive

The first step in this process regardless of operating system you plan to install is to create or purchase a bootable DVD, CD or USB drive. Regardless of which device is used the purpose is the same. The bootable device is used to carry and install the operating system. When buying a new computer they all used to come with these discs, now most have either a bootable drive preinstalled or provide ways to download the OS to create bootable devices or recovery devices.

Instructions from www.Ubuntu.com1: Download Ubuntu Desktop

2: Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight).

3: Convert the .iso file to .img using the convert option of hdiutil e.g.,

hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso

Note: OS X tends to put the .dmg ending on the output file automatically.

4: Run diskutil list to get the current list of devices.

5: Insert your flash media.

6: Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2).

7: Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2).

8: Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg).

9: Run diskutil eject /dev/diskN and remove your flash media when the command completes.

10: Restart your Mac and press alt/option key while the Mac is restarting to choose the USB stick.

Post Restart• After restarting the iMac and selecting the boot drive and following

on screen instructions we repeatedly ran into a dead end. A single message kept displaying saying Controller Found or No Controller Found. We retried the process using DVD’s with slight changes in the format and still no progress.

Why Ubuntu wouldn’t work

• After creating 3 different boot DVDS and multiple attempts with bootable USB drives couldn’t get past initial install menu• In researching the dual boot issue found that intel iMac systems can

be very resistant to this process and would require detailed knowledge of source codes and BIOS manipulation

Plan B: OS X Yosemite

Creating a bootable OS X Yosemite USB from http://osxdaily.com• Connect the USB drive to the Mac and launch Disk Utility, then select that USB

drive from the left side drive list (be sure you select the USB drive you want to make the bootable installer from)• Click on the “Erase” tab and format the drive as “Mac OS Extended (Journaled)”,

then choose “Erase” and confirm• Next go to the “Partition” tab and under ‘Partition Layout’ click on the pulldown

menu, changing it from “Current” to “1 Partition”• Change the name to “Untitled” from ‘Untitled 1 then click on the “Options” button′• Choose “GUID Partition Table” as the partition scheme and choose “OK”• Click “Apply” and confirm the creation of the partition• Quit out of Disk Utility when finished

• Download OS X Yosemite from the Mac App Store, it’s free (direct link) – DO NOT INSTALL IT YET• When the download completes and the “Install OS X Yosemite” app

launches, quit out of it immediately• Launch Terminal app and enter the following command exactly, copy and

paste works fine: sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app –nointeraction• Enter the administrator password when requested (this is required to use

the sudo command – the password will not show up and it looks as if you’re not entering anything, that is normal behavior for the command line), then hit the RETURN key to start making the installer• When finished and the terminal reads “Done”, exit out of Terminal, you’re

ready to use the bootable installer drive

Installation

• Apple has made simple easy to follow onscreen instructions to guide you through the installation of their operating systems. • In addition to what we did, Apple has made it extremely easy to

upload all your files and programs if you backed them up using a recovery HD or Time Machine. We did not do this step.• The following slides contain self explaining photos of the remaining

steps.

Finished!

Lessons Learned

• Before attempting changes to a computer, particularly in regards to the OS or any major software changes, do lots of research.• A by-product of this assignment was the new skills of reformatting

seemingly useless USB drives on both a Windows and Mac OS through the use of Command and Terminal respectively.

Removing partitions on USB from http://nlb-creations.com

1. Bring up the command prompt. Easiest way is to go to the Start menu and type in “cmd” in the search box and hit enter.

2. In the command prompt window, type “diskpart”. That will launch another window with a DISKPART> prompt.3. Type “list disk” to find out which disk your USB drive is. It should be pretty obvious from the size of the disk. If it’s

not, alternatively, you can search “Computer Management” under the Start menu, and then click on “Disk Management”. You should see something that says “Disk 1 Removeable” or something similar.

4. Once you know which disk you want, in the Diskpart window, type “select disk 1″ (or whatever number your thumb drive happens to be assigned to). Diskpart should tell you that this is now the selected disk,

5. Type “clean”. This will get rid of all the old information on the disk, as well as any partitions. Diskpart will tell you when this has succeeded.

6. Type “create partition primary”. This sets up the new partition (one big one instead of a small one) for the drive.7. Type “select partition 1″ to select the partition you just created.8. Type “active” to mark the selected partition as active.9. Type “format fs=ntfs quick” to format the drive. This may take a few minutes depending on the size of the drive.10. Type “assign”.11. Type “exit” to leave the Diskpart program.

References

• http://photos2.appleinsidercdn.com/imac-110503-3.png

• http://osxdaily.com/2014/10/16/make-os-x-yosemite-boot-install-drive/

• http://osxdaily.com/2014/10/18/clean-install-os-x-yosemite/

• www.Ubuntu.com

• www.howtogeek.com

• http://computers.tutsplus.com

• http://nlb-creations.com/2013/01/17/removing-partitions-from-a-usb-thumb-drive/