liamjamesfoley
Posts: 7
Joined: Sat Dec 01, 2012 12:20 am

Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 12:23 am

Hello from Arizona!

I'm trying to setup my SD card using these instructions: http://elinux.org/RPi_Easy_SD_Card_Setup, and step 9 scares the hell out of me. Can someone clarify this for me?

Step 9:
"Using the device name of the partition work out the raw device name for the entire disk, by omitting the final "s1" and replacing "disk" with "rdisk" (this is very important: you will lose all data on the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole SD card as described above, not just a partition of it (for example, rdisk3, not rdisk3s1. Similarly you might have another SD drive name/number like rdisk2 or rdisk4, etc. -- recheck by using the df -h command both before & after you insert your SD card reader into your Mac if you have any doubts!):
e.g. /dev/disk3s1 => /dev/rdisk3"

Thanks.

liamjamesfoley
Posts: 7
Joined: Sat Dec 01, 2012 12:20 am

Re: Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 1:35 am

So step 10 says:
"In the terminal write the image to the card with this command, using the raw disk device name from above (read carefully the above step, to be sure you use the correct rdisk# here!):
sudo dd bs=1m if=~/Downloads/2012-10-28-wheezy-raspbian/2012-10-28-wheezy-raspbian.img of=/dev/rdisk3
if the above command report an error(dd: bs: illegal numeric value), please change bs=1M to bs=1m
(note that dd will not feedback any information until there is an error or it is finished, information will show and disk will re-mount when complete. However if you are curious as to the progresss - ctrl-T (SIGINFO, the status argument of your tty) will display some en-route statistics)."

So my command should read:
sudo dd bs=1m if=~/Documents/Programming/2012-10-28-wheezy-raspbian.img of=/dev/rdisk1

correct?
Attachments
Screen Shot 2012-11-30 at 6.26.28 PM.png
Screen Shot 2012-11-30 at 6.26.28 PM.png (43.59 KiB) Viewed 8058 times

ghans
Posts: 7793
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 8:21 am

Looks right to me. Did you unmount the first the whole SD Card or
only a partition of it ?


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
Mortimer
Posts: 894
Joined: Sun Jun 10, 2012 3:57 pm

Re: Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 9:39 am

He eventually gets the unmount syntax right and it works. The proposed DD command looks OK, assuming the file name and location god the Wheezy image is correct.

liamjamesfoley
Posts: 7
Joined: Sat Dec 01, 2012 12:20 am

Re: Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 7:04 pm

Raspberry Pi is live! I ended up doing a backup last night and tried that command this morning and it worked perfectly. What should I do now?

total_Linux_noob
Posts: 4
Joined: Sat Dec 01, 2012 7:37 am

Re: Step 9 of OSX Command Line Instructions

Sat Dec 01, 2012 8:21 pm

Explore, learn, screw up, fix it, learn some more, and have fun!

Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 60 guests