Creating a bootable USB with diskutil and dd

I am trying to create a bootable usb drive using diskutil and dd. I have had some success but not exactly what I wanted or expected. I am creating a bootable usb for MemTest86. I have an img file provided by PassMark. I first partitioned the drive using:
diskutil partitionDisk /dev/disk4 1 GPT "HFS+" "MemTest86" 100%
output:
TYPE NAME               
SIZE  
IDENTIFIER
   0: 
GUID_partition_scheme                   
*3.9 GB
disk3
   1:                   
EFI EFI                
209.7 MB  
disk3s1
   2:             
Apple_HFS MemTest86          
3.6 GB
disk3s2
This gives me what I would expect, the first partition is an EFI partition of size 209.7MB and the remaining 3.6GB, on a 4GB drive, being allocated to the second partition, /dev/disk3s2, MemTest86.
To copy the img to the disk i first unmount the partitions on disk3
diskutil unmountdisk /dev/disk3
I then run dd
sudo dd if='//Volumes/Mac Mini Backup/Archives/MemTest86 Pro/memtest86-pro-usb/memtest86-pro-usb.img' of=/dev/disk3 bs=1m
Now, the file does end up on the usb drive but..... The data is written to the first partition which used to be the EFI partition. It is now named Untitled and it is a FAT16 partition.
diskutil list /dev/disk3
output:
TYPE NAME               
SIZE  
IDENTIFIER
   0: 
GUID_partition_scheme                   
*3.9 GB
disk3
   1:  
Microsoft Basic Data                    
51.4 MB
disk3s1
   2:                   
EFI                    
103.8 MB  
disk3s2
Now, although, this isn't what I expected it does sort of work. When I boot the system into the Startup Manager there are 2 extra drives to boot from, both named "efi boot", all lower case. Both boot into the MemTest86 utility which is my goal but I first didn't expect the partition layout that I got and I can't figure out why I get 2 boot icons to select from. I am guessing that the format of the img file is causing the partition to be a FAT16 partition but I am waiting to hear back from PassMark regarding that.
So if anyone cares to shed a little light on what is happening I would appreciate it.

The only known way to make it work on an external drive is by first installing Windows onto an internal drive, then cloning the install to an external Thunderbolt drive. Thunderbolt is seen as an extension of the internal bus, so Windows doesn't see it as an external device.

Similar Messages

  • When I restart my computer and hold the option key after creating a bootable usb with windows 7 and partitioning only the original partition shows up. Not the windows one or the bootable usb.

         Okay so first things first this isn't the newest macbook pro. When I open about my mac and go to system report it says it is a Macbook Pro 3,1 and the Boot Rom Version say MBP31.0070.B07. Originally when starting up Boot Camp Assistant there where only two options, the "create windows 7 bootable usb" was not there at all. So after some editing and helpful tutorials I was able to get the option show up and created a bootable usb with windows 7 and downloaded the support software onto a separate flash drive. Finally I did the last step and created a second partition for windows. Once the process is complete my computer automatically restarts.
         This is where the problem is. Once my computer makes the booting up sound it doesn't load up windows it gets stuck on a apple logo as if it's trying to reastart normally and can't. So I shut down and this time I hold down the option key during start up. It brings up the main partition and some recovery thing but no windows partiton and no bootable usb.
         I forgot to mention that I am running OS X 10.9.3. Okay any body want to help me out? Iv'e been at this for hours and can't get an inch closer to having windows. Please and thank you!
    P.S. If I missed a discussion that answer my question just point me to it. Iv'e been looking for a while, but who knows i might have missed one.

    The only known way to make it work on an external drive is by first installing Windows onto an internal drive, then cloning the install to an external Thunderbolt drive. Thunderbolt is seen as an extension of the internal bus, so Windows doesn't see it as an external device.

  • Is it legal to create a bootable usb with mountain lion?

    If the answer is yes, could you tell me what tool to use or give me the site with the tutorial? Thanks in advance!

    Yes,
    Use this app and you will need a copy of Mountain Lion installed on your Mac (of course)

  • I am confused by the installation step that requires you to create a bootable USB drive for windows installation.  What is the ISO image and why has it selected my Passport backup drive as the destination disc?

    In the bootcamp installation it asks me to create a bootable USB drive for Windows Installation.  To do so, I must choose an ISO image.  What is that?  When I click "choose" I don't understand the options presented.  Is this the destination of the partition or where Windows will reside on the Mac?  Why does it also indicate the the destination disk si my WD Passport Back up drive?

    OK, so I have an apple superdrive hooked up to my mini (along with my Passport back up drive).  I also have  the discs for both 64bit and 32bit Windows along with the product key.  I am still not sure what to do when faced with the options after "choose".

  • How to install windows 7 using usb as the bootcamp doesnot have the option of creating a bootable usb. please help

    I have an intel based mac with 10.6.8 mac os x. How to install windows 7 using usb as the bootcamp doesnot have the option of creating a bootable usb. please help

    Welcome to Apple Support Communities
    You can install Windows from a USB drive in one of these computers:
    - MacBook Pro with Retina display.
    - Mac mini (Mid 2010 and newer).
    - MacBook Air.
    - iMac (Late 2012).
    If you don't have any of these Macs, you can't install Windows through a USB drive. Instead, buy Windows on a DVD. Follow Apple's steps > http://support.apple.com/MANUALS/1000/MA1519/en_US/Boot_Camp_Install-Setup_10.6. pdf

  • Why wont bootcamp install the windows support software, I am unable to create a bootable usb

    I have an Acer PC with Windows 7. Files are corrupt on the hard drive and I need to install a fresh windows. I Need to use my iMac to create a bootable USB that i can put a windows iso on it to use on my laptop. Bootcamp will not allow me to do anything except partion my hard drive, or attempt to install Widnows support software, it fails and says tis not able to get the software. Im not sure what to do, i cant find anything after searching through forums, anyone have this problem?

    OK, so I have an apple superdrive hooked up to my mini (along with my Passport back up drive).  I also have  the discs for both 64bit and 32bit Windows along with the product key.  I am still not sure what to do when faced with the options after "choose".

  • Can I create a bootable usb for Lion SERVER?

    I've installed Lion OS. Then downloaded Lion SERVER.
    Creating a bootable USB for the ordinary OS was simple enough (stop install, show contents,restore partition etc). However, with Lion Server, install package does not appear in applications and there does not seem to be any obvious was way to stop the installation before the install package self destructs. Download from app store shows in Launchpad. Icon then changes to 'installing'. Install process is very quick and it won't stop
    Has anyone else had this "problem"? Thanks!

    If you have a Mac mini Server with Lion server pre-installed you can do this fairly easily using the method outlined here http://www.hotblack.co.nz/article.lsd?i=lionserver
    But I have a stock iMac with Lion pre-installed and got the Lion Server on top. I too have been looking at this "problem". Even after you've installed Lion Server and try the method they suggest you do not get a Lion Server InstallESD.dmg file.
    My solution is this:
    Using your existing Lion Server, copy "Install Mac OS X Lion" to your applications folder. Then when you use the installer with a BLANK volume as your target you will see an Options button on the bottom left side of the Installer pane. Clicking this allows you to install Server components. Your target can be a 16GB USB stick. Interestingly when this stick reboots you actually get the Server Assistant up which can configure your server.
    So essentially you have a Lion Server USB stick - again don't forget to add "Install Mac OS X Lion" to the Applications folder.
    You can also snag the Server components for copying onto target volumes by shutting down before the install reboot.

  • Create a bootable USB drive from an ISO

    Hi everyone,
    I want to create a bootable USB drive from e.g. a Linux ISO. On Windows, there are tools like UNetBootin (http://unetbootin.sourceforge.net/) for that. Is there s.th. similar on Mac?
    Thanks in advance

    Hi. The easiest way to do what you want to do is to scan it for restore, and then use the restore from disk image tool to write it to an external disk. All of this can be done with disk utility.
    First you will want to drag the ISO image into the Disk Utility sidebar. Then you select the disk image (in disk utility) and click the Convert button in the top toolbar. I recommend using the "read only" image format and you'll have to add the extension .dmg to the file. When the conversion is done, the new image will appear in the sidebar. Select that image and then go to the Images menu and select Scan For Restore. You may be prompted for your administrator password. When the scan is done, connect your external disk. Then select the volume in Disk Utility (the thing with the name of your disk, not the model number), go to the Restore tab and drag the volume into the Destination field. Now you can drag the DMG disk image into the Source field and click Restore. You may want to check Erase Destination.
    That should do it, good luck!
    Jeremy A
    Tekserve Intern

  • Cannot create your bootable usb stick

    Hi all,
    I'm new to bootcamp and I have the following problem:
    When I'm creating a Windows 7 usb drive, it gives me an error "Cannot create your bootable usb stick there was a problem copying files".
    I've tried searching google for the problem, but the only possible solutions I've got was to unmount the iso image and try again, but when I do that I still get the same error and when I check the disk utility I find the iso image is mounted again.
    Does anyone haven an idea about what to do.
    Specs:
    OS X Yosemite 10.10.2
    MacBook Pro Retina 13-inch Mid 2014
    2,6Ghz Core i%
    8 GB 1600 MHz ddr3
    Thanks in advance!

    Please see the Microsoft reference and the second link has an example.
    https://support.microsoft.com/en-us/kb/841290?wa=wsignin1.0
    Bootcamp Windows 8.1 "No Images Are Available"

  • Anyone know how to create a bootable USB from a enc file?

    Does anyone know if its possible and if so, how to create a bootable USB disk from an enc file?
    I need to do this to accomplish a firmware update on my Samsung ssd?
    Any help would be greatly appreciated.
    Thanks

    sig wrote:
    Ask Samsung for their help. enc files are copy safe protected.
    I have been trying to but have not had much joy, will attempt again on friday.
    Thanks

  • Creating a Mavericks USB boot drive after the horse has bolted.  Can I create a bootable USB drive from my iMac after installing Mavericks without saving the Install OS X Mavericks.app file?  Do I need to re- download the whole 5.29 Gb again?

    Creating a Mavericks USB boot drive after the horse has bolted.  Can I create a bootable USB drive from my iMac after installing Mavericks without saving the Install OS X Mavericks.app file?  Do I need to re- download the whole 5.29 Gb from the App Store again?  My problem is my 4Gb/month allowance on a 12 month contract.  I cannot purchase a data block from my ISP and although my speed is theoretically slowed to 64k after reaching my 4Gb, it actually ceases to download in reality.

    HI tasclix, it depends what you mean by an OS X boot drive.
    If you want a recovery disk from which you can reinstall (by re-downloading) or recover from a time machine backup, then nbar is correct.
    If, however, you want to boot and run the OS X installer from the USB drive (so that you don't need to download again), then you will need a copy of "Install OS X  Mavericks.app"; see this article:
    http://support.apple.com/kb/HT5856
    Before downloading again, search your system to see if the installer is still there - it's usually in the /Applications folder unless it has been deleted, but check your whole system for it anyway, you never know, you might still have it somewhere.
    Message was edited by: SilverSkyRat

  • How can i create a bootable usb sata for xp

    how can i create a bootable usb sata for xp

    Installing Windows XP on a portable USB hard drive is not supported.
    Carey Frisch

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • I'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    i'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    Thanks for your suggestions. I checked to see if the options you suggested were set incorrectly but they were set to sync all. This led me to think the problem was actually in the iphone. I re-initialized the iphone and did not allow the system to restore any of the previous settings. In essence, I forced the phone to reset to factory settings. Then my video podcasts started syncing. All is well now. I did notice that I had seven podcasts selected that were "HD" presentations, and as such, are not compatible with the iphone. I don't know if this had anything to do with my earlier situation, but now I'm getting the video podcasts automatically. I'm happy. It wasn't much fun forcing the iphone to forget all of my preferences and I'm still customizing the phone now several days later. I think I have everything working and back to normal except I haven't identified any of my email accounts as of yet. Thanks for your help.

  • I have created a slide show with pictures and music in Iphoto and when I try export it I get Error You do not have sufficient permission for this operation.

    I have created a slide show with pictures and music in Iphoto and when I try export it I get Error You do not have sufficient permission for this operation.  Try to export to an external HD attached, all help would be gratefully received 

    Have you ever successfully saved anything to that external drive? My first two thoughts are that the drive isn't formatted for the Mac or that you don't have rights to save to the drive.

Maybe you are looking for