[App_rpt-users] Need help DD command
Doug Crompton
doug at crompton.com
Thu Jan 15 03:40:34 UTC 2015
Robert,
All that info is on the hamvoip site in howto's but I will repeat some highlights here.
To copy an image to an SD card you insert the card into a reader/writer (usually a USB FOB)
In Ubuntu it should mount the device. Do a 'df' at the Linux prompt to see how it is mounted. In my case on my Ubuntu laptop the main hard drive is /dev/sda1 and the SD card comes up a /dev/sdb
In any case make absolutely sure you have the right device. dd is NOT forgiving and will just a happily write to your hard drive or another device.
The assuming you are in the directory where the image resides you do the following:
dd if=nameofimage.img of=/dev/sdb
Of course you replace the filename and output device with your values.
To make an image from the SD card you would do the following:
dd if=/dev/sdb bs=1024 count=3900000 of=nameofimage.img
Again use your values.
Also be aware that the 1.2.1 code has a very nice backup system built-in Read the backup howto on the web page.
Also BBB related questions should be asked on the arm-allstar list. You can join the list from a link on the hamvoip.org web page.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
> Date: Wed, 14 Jan 2015 21:48:44 -0500
> From: N1XBM at amsat.org
> To: app_rpt-users at ohnosec.org
> Subject: [App_rpt-users] Need help DD command
>
> I recently set-up a BBB. When getting the image from www.hamvoip.net I
> tried use my new installation of Ubuntu 14.04, mostly because I am
> trying to learn Linux by just using it. I didn’t have any luck and just
> to keep the project moving I resorted back to windows to complete the
> image copy.
>
> I would like to learn how to copy a .img file to a micro sd card using
> DD. I would also like to know how to do the reverse of taking a micro sd
> card and making a .img file for backup.
>
> Is there anyone on the list willing to help me with this?
>
> Thank you
>
> Bob/N1XBM
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20150114/9d38d3d1/attachment.html>
More information about the App_rpt-users
mailing list