Go Back   MacRumors Forums > Apple Hardware > Desktops > iMac

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 8, 2012, 07:21 PM   #1
GelleCC
macrumors regular
 
Join Date: Jul 2008
Location: Seattle, WA
Making a bootable USB?

I have done a lot of looking on Google, but I keep getting varied answers on how to make a bootable USB with an OS on it..

Before you start, I am a student at a University and I AM ALLOWED TO LEGALLY DOWNLOAD both Windows7 and Snow Leopard/Lion.

That being said, I have downloaded SL and windows 7 (my iMac is still at Leopard). I will end up wanting to have windows and osx on my iMac.

I am trying to make a bootable flash drive (windows was downloaded as a .img and OSX was a .dmg).

I found this guide on how to make a bootable USB drive using a Mac for Linux:
"We would encourage Mac users to download Ubuntu Desktop Edition by burning a CD for the time being. But if you would prefer to use a USB, please follow the instructions below.

Note: this procedure requires an .img file that you will be required to create from the .iso file you download.

TIP: Drag and Drop a file from Finder to Terminal to 'paste' the full path without typing and risking type errors.

Download the desired file
Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight)

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.

Run diskutil list to get the current list of devices

Insert your flash media

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

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

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).

Using /dev/rdisk instead of /dev/disk may be faster.

If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.

If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive.

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

Restart your Mac and press alt while the Mac is restarting to choose the USB-Stick"

Like I said, this is for a downloaded ubuntu.img, but would the same code work for a .dmg? So I can make a bootable USB drive of OSX/Windows for my mac? I can't burn DVD's because my superdrive is broken.

Thanks in advance!
__________________
21" 3.06Ghz iMac; 13" MacBook Pro (A1278); Google CR-48 Prototype; iPhone 4S 16GB (Tmobile/Jailbroken)
GelleCC is offline   0 Reply With Quote
Old Apr 8, 2012, 07:26 PM   #2
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
It is actually quite simple, even with a pirated version of Mac OS X, unless you can't boot into Mac OS X.
If you can, mount the DMG file in Finder, open CarbonCopyCloner, select the mounted Mac OS X 10.6 Snow Leopard Installation DVD image as SOURCE and the properly formatted* USB flash memory thumb drive or external HDD as TARGET and press CLONE.
Then you can boot from it.

*
How to format a new HDD to install Mac OS X onto (or make a bootable copy onto)
And if that does not work, get any external optical disk drive (ODD) connectable via USB and the 29 USD Upgrade DVD for Mac OS X 10.6 Snow Leopard.
simsaladimbamba is offline   0 Reply With Quote
Old Apr 8, 2012, 07:55 PM   #3
GelleCC
Thread Starter
macrumors regular
 
Join Date: Jul 2008
Location: Seattle, WA
Quote:
Originally Posted by simsaladimbamba View Post
It is actually quite simple, even with a pirated version of Mac OS X.
LOL, I am completely serious, however, I do have legitimate, legal copies that I was able to download from my university (probably the least they could do since tuition is always rising).

I decided to try out your way but it doesn't seem to work. I plugged it into my iMac restarted and held "alt/option". The iMac went to the "choose a drive" menu, but the only available drive was the HDD.

CarbonCopy finished the job with OSX "Task finished at: Sun Apr 8 16:52:38 PDT 2012
Time elapsed: 00:02:08
Data copied: 944.09 MB"

but still didn't load.

I do have a question. I have a properly formatted 16Gb flash drive with 2 partitions (8GB each since both OSX and the windows7 require 8GB ... Is what seems to be consistent across all the "make a bootable USB drive" guides I've read. Will I be able to do the same thing with the Windows 7 .img? (can you mount .img the same way you would a .dmg?).

So I will try it to see if it works!

Thanks!
__________________
21" 3.06Ghz iMac; 13" MacBook Pro (A1278); Google CR-48 Prototype; iPhone 4S 16GB (Tmobile/Jailbroken)

Last edited by GelleCC; Apr 8, 2012 at 08:02 PM.
GelleCC is offline   1 Reply With Quote
Old Apr 8, 2012, 07:55 PM   #4
s!ke
macrumors member
 
Join Date: Feb 2012
http://osxdaily.com/2011/07/08/make-...b-flash-drive/
s!ke is offline   1 Reply With Quote
Old Apr 8, 2012, 08:06 PM   #5
GelleCC
Thread Starter
macrumors regular
 
Join Date: Jul 2008
Location: Seattle, WA
Since the above mentioned way didn't work, I went ahead and tried it with this. Just started.. about 3 minutes to go. Will report results soon. Thanks!
__________________
21" 3.06Ghz iMac; 13" MacBook Pro (A1278); Google CR-48 Prototype; iPhone 4S 16GB (Tmobile/Jailbroken)
GelleCC is offline   1 Reply With Quote
Old Apr 8, 2012, 08:10 PM   #6
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
944 MB is too small for the Mac OS X installation DVD.
The copy I made from my Mac OS X 10.6 Snow Leopard DVD (10.6.3) is 7.27 GB in size, is your .CDR (or .DMG) in that vicinity?

Did you format the USB flash memory thumb drive correctly, including the partition map scheme?
simsaladimbamba is offline   0 Reply With Quote
Old Apr 8, 2012, 11:42 PM   #7
GelleCC
Thread Starter
macrumors regular
 
Join Date: Jul 2008
Location: Seattle, WA
Ahh I figured it out.

The way my school makes you download software is really weird. You have to download software to download from the school, and then you can download the program. I did something funky and it wasn't working right (laptop went to sleep? Idk). But I went and got it again and now it seems to be working.

Still haven't tried the Win7.img
__________________
21" 3.06Ghz iMac; 13" MacBook Pro (A1278); Google CR-48 Prototype; iPhone 4S 16GB (Tmobile/Jailbroken)
GelleCC is offline   0 Reply With Quote
Old Apr 8, 2012, 11:50 PM   #8
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
Quote:
Originally Posted by GelleCC View Post
Still haven't tried the Win7.img
For that: http://www.youtube.com/watch?v=mwX9cmJ8BoM , it worked for me when using an external USB HDD as source for a Windows 7 install on a friends PC with a broken ODD.
simsaladimbamba is offline   0 Reply With Quote
Old Dec 15, 2012, 05:26 PM   #9
wemarsh
macrumors newbie
 
Join Date: Dec 2012
Location: Chalon-sur-Sa˘ne, France
Quote:
Originally Posted by GelleCC View Post
Still haven't tried the Win7.img
I know this is pretty dead, but I wanted the solution to be available to future Googlers. I've done a bit of research on this issue lately, and to the best of my knowledge it is impossible to USB boot from anything other than an OSX image on a Mac. Please correct me if there is a way.
wemarsh is offline   0 Reply With Quote
Old Dec 16, 2012, 12:13 AM   #10
GelleCC
Thread Starter
macrumors regular
 
Join Date: Jul 2008
Location: Seattle, WA
As far as I know, you are (almost) right.

As I understand it, the file system/storage is different (obviously) from Mac to pc. That's why an osx bootable doesn't work on a pc (unless its a hackintosh) or making a windows iso USB. However, using terminal on osx, you can make a bootable img of Linux that WILL work cross platform. I'm assuming that's because of Linux being, well, cross platform.

I ended up trying to make a windows 7 bootable usb on a Linux computer using the terminal (the commands are essentially identical). Then I tried a couple different applications on Linux (can't remember them but none of them worked). Then unetbootin and carbon copy cloner on Mac. Then just jumped over to a pc and used winusbmaker and it worked just fine.
GelleCC is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Desktops > iMac

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Making a bootable USB drive within Windows for a striken Macbook Elven Mac Basics and Help 19 May 23, 2014 10:37 AM
making a MPX-3132 (e)SATA controller bootable ? pagaille Mac Pro 3 Feb 22, 2014 06:49 PM
Bootable USB maylen OS X Mavericks (10.9) 1 Jun 11, 2013 08:34 AM
Making a USB SuperDuper! backup drive bootable KarlJay Mac Basics and Help 2 Nov 26, 2012 10:18 AM
Bootable USB for PC (but using MBP to create USB) dkenn75 Windows, Linux & Others on the Mac 0 Oct 14, 2012 09:28 PM

Forum Jump

All times are GMT -5. The time now is 03:38 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC