Need help using Terminal (syntax) to make ubuntu boot USB

Discussion in 'Mac Basics and Help' started by Julien, Mar 20, 2010.

  1. Julien macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #1
    Hope I'm in the correct forum. I have a Mini 9 that needs to have ubuntu installed and I'm using a Mac Pro. Following the instructions here but stuck at the end. If someone could look at my Command and tell me what syntax I need. I have successfully created the disk image on my Desktop (pic 1) but for some reason can't locate it? I have tried numerous ways (pic 2 and 3).

    [​IMG]

    [​IMG]

    [​IMG]
     
  2. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #2
    UNIX is case-sensitive. The file is located at ~/Desktop/target.img.dmg or /Users/William/Desktop/target.img.dmg.
     
  3. Julien thread starter macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #3
    I have since used change directory (cd) to change to the desktop directory (and I used lower case and it's displayed as lower case as shown in pic). Still says it can't find the file even though I'm in the desktop and even used ls to list the files and it is there (see pic at bottom named target.img.dmg).:confused: There must be something simple I'm doing wrong.

    [​IMG]
     
  4. misterredman macrumors 6502a

    misterredman

    Joined:
    Oct 3, 2007
    #4
    If you want to use the absolute path:

    Code:
    if=/Users/William/Desktop/target.img.dmg
    Notice the "/" at the beginning and the "D" of Desktop (not "d", as pointed out above it's case sensitive).
     
  5. Julien thread starter macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #5
    just tried that and same results.

    Code:
    MacPro:desktop William$ sudo*dd*if=/Users/William/Desktop/target.img.dmg
    -bash: sudo*dd*if=/Users/William/Desktop/target.img.dmg: No such file or directory
    MacPro:desktop William$ *of=/dev/rdisk5 bs=1m
    -bash: *of=/dev/rdisk5: No such file or directory
    MacPro:desktop William$ 
    
    
     
  6. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #6
    I had success with this method after renaming the target.img.dmg to target.img. You might want to give that a try. (If you do this from Finder, use the Get Info window.)
     
  7. misterredman macrumors 6502a

    misterredman

    Joined:
    Oct 3, 2007
    #7
    Why all those asterisks in the command? Remove all the "*" and try again!

    The command should look like this:

    Code:
    sudo dd if=/Users/William/Desktop/target.img.dmg of=/dev/rdisk5
     
  8. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #8
    Aha! There's your problem. Those * characters should be spaces.
     
  9. Julien thread starter macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #9
    Those * appeared when I used the [code ] tag. They are not in the original but instead spaces so that's not my problem(s). Here is a copy of my original from Terminal.

    EDIT: Strange, it seems the forum board is adding the * in for some reason. Below is the ACTUAL attached pic from Terminal that I did a Copy/Paste from.



    MacPro:desktop William$ sudo*dd*if=/Users/William/Desktop/target.img.dmg
    -bash: sudo*dd*if=/Users/William/Desktop/target.img.dmg: No such file or directory
    MacPro:desktop William$ *of=/dev/rdisk5 bs=1m

    [​IMG]
     
  10. Julien thread starter macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #10
    This may be working because it's now asking for a Password: I have no idea what to put. I don't use a Password on my Mac Pro. What do I enter in the Password prompt?
     
  11. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #11
    You MUST have a password, even if it's blank... it's the same one you enter when asked to authenticate for Software Update.
     
  12. BlueRevolution macrumors 603

    BlueRevolution

    Joined:
    Jul 26, 2004
    Location:
    Montreal, QC
    #12
    If you don't have a password at all (which is a very bad idea, especially on an admin account), just hit return when prompted for a password.
     
  13. Julien thread starter macrumors G3

    Julien

    Joined:
    Jun 30, 2007
    Location:
    Atlanta
    #13
    I've of course tried just hitting return (over and over) but it says "Sorry, try again". Should I try and temperately make a Password and then try that or is there a way to look in he Keychain to find out what it wants?

    Made a Pssword and now it's right back to saying "-bash: sudo*dd*if=/Users/Desktop/target.img*of=/dev/rdisk5: No such file or directory"

    I'm about ready to do some bashing of my own.
     

Share This Page