Results 1 to 10 of 10
  1. #1

    ImageX's Avatar
    Member Since
    Aug 17, 2009
    Location
    East Bay, CA
    Posts
    440
    Specs:
    17" MBP C2D 2.8 4GB OS X 10.8 | iPhone 5
    Terminal command returns unwanted response.
    Just as the title says, I'm following a step-by-step guide to Terminal commands for making a bootable Chromium OS USB drive and getting a dead end. After entering
    Code:
    sudo diskutil unmountDisk diskX
    (where X = my disk identifier) and successfully unmounting the disk, it has me uncompress the .img file and doesn't say I need to put it somewhere specific. It continues to have me execute
    Code:
    sudo dd if=ChromeOS.img of=/dev/rdiskX bs=4m
    (again X = identifier) while making sure the "ChromeOS.img" matches the file name I have and it returns "dd: ChromeOS.img: No such file or directory.". Can someone help me here? I'll admit I don't know enough about Terminal commands to understand if I'm putting the wrong file path or w/e and I'm just copying the directions. If someone can let me know, you'll get a "Thank you". Thanks, haha.

    - ImageX
    "The early bird gets the worm, but the second mouse gets the cheese."

    Remember to use the Reputation System!

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,743
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    The if switch here signifies the input file. The way you have it set now assumes that "ChromeOS.img" is in the current working directory. As the error informs you, dd can't find the image in the directory that you're currently working in. Your best bet (and the easiest solution): put the full path to the ChromeOS image as the value for the if switch. So, for example, if ChromeOS.img was in ~/Desktop, change the command to:
    Code:
    sudo dd if=~/Desktop/ChromeOS.img of=/dev/rdiskX bs=4m
    Out of curiosity, what disk is /dev/rdiskX? I've never seen an "rdisk" device file in OS X before.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3

    ImageX's Avatar
    Member Since
    Aug 17, 2009
    Location
    East Bay, CA
    Posts
    440
    Specs:
    17" MBP C2D 2.8 4GB OS X 10.8 | iPhone 5
    Thanks for the response. It seems to be working now. To be honest, I don't even know what rdisk means. Like I said, I'm just following step-by-step guide on how to make a bootable Chrome OS USB drive. The drive in this case is my 4GB Flash drive. Thanks again.
    "The early bird gets the worm, but the second mouse gets the cheese."

    Remember to use the Reputation System!

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,743
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You need to double check the of switch value then. The of switch value is the output disk. Are you sure that /dev/rdiskX (X meaning a disk number) is the flash drive? Did you check this at some point while going through the steps?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5

    ImageX's Avatar
    Member Since
    Aug 17, 2009
    Location
    East Bay, CA
    Posts
    440
    Specs:
    17" MBP C2D 2.8 4GB OS X 10.8 | iPhone 5
    Yes, I checked my Flash Drive's identifier in disk utility before doing this. It was disk1.
    "The early bird gets the worm, but the second mouse gets the cheese."

    Remember to use the Reputation System!

  6. #6

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,743
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    disk1 or rdisk1? Sorry if I seem pedantic here but this difference can be the source of drastic consequences (plus, like I said, I've never seen an rdisk device file before).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7

    ImageX's Avatar
    Member Since
    Aug 17, 2009
    Location
    East Bay, CA
    Posts
    440
    Specs:
    17" MBP C2D 2.8 4GB OS X 10.8 | iPhone 5
    It was "disk1" and even in his guide he was assuming the ID would be diskX not rdiskX so I'm not sure why, but the guide said to use rdiskX in that code and when I hit enter my USB drive's activity light was flashing and it completed successfully. And I don't have a problem with you asking these questions lol. I'd like to know why it said to use it as rdisk also. Seems to have worked though. Going to try and boot it on my Windows PC now.
    "The early bird gets the worm, but the second mouse gets the cheese."

    Remember to use the Reputation System!

  8. #8

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,743
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    It appears that rdisk is simply a raw device file. This allows you to bypass the filesystem's cache & buffer which makes writes quicker. I assume though that this increases the risk of problems that are offset by making use of the filesystem's caching features. I'll have to defer to a *nix nerd here though.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  9. #9

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    28,767
    Specs:
    iMac 2010 27" QuadI7 OSX10.11, iMac 2008 OSX10.11, MBP Late2011OSX10.11 , iPhone 3GS Note 8!
    Let us know if the Flash Drive Chrome OS works. I did that ages ago when the beta of Chrome OS came out. Same commands with DD but no rdisk!

  10. #10

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,743
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Yeah, as I understand it (I'm stretching my knowledge here), you don't need the "r" in front. Doing so only ensure that you interact with the drive as a raw device.

    And yes, please do let us know how it works out. Are you building it from source? Last time I tried, it didn't go well.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Terminal command help.
    By ladylisak in forum OS X - Operating System
    Replies: 2
    Last Post: 10-18-2013, 02:47 PM
  2. Terminal 'ls' Command Help
    By xxSwagPanda in forum OS X - Operating System
    Replies: 1
    Last Post: 03-27-2013, 12:18 AM
  3. Odd response to terminal PWD command
    By zander187 in forum OS X - Operating System
    Replies: 2
    Last Post: 10-16-2012, 04:20 PM
  4. Replies: 3
    Last Post: 10-01-2009, 05:14 PM
  5. terminal command help
    By ytbryan in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 09-18-2009, 06:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •