Nick,
 I can't remember if I tried this with the latest Angstrom version (09.04), 
but the mmcblk1 should represent the eMMC if you booted off of a SD card 
(typically the boot device is mmcblk0).
 Also to state the obvious, you do need to be root in order to dd from the 
device.
-Dale
ps. I think that generally opinion on other posts was that this wasn't 
probably the preferred way to backup, but I don't recall what was advised. 
Definitely backing up a partition being actively used is risky, in other 
words, ensure the device/disk being backed up is unmounted.

On Saturday, November 16, 2013 10:11:34 PM UTC-6, [email protected] wrote:
>
> The steps below result in a *permission denied* error with accessing the 
> device file (/dev/mmcblk1). Does the device file represent the eMMC?
>
>
> On Saturday, 7 September 2013 09:12:56 UTC+12, Dale Schaafsma wrote:
>>
>> Gerald,
>>  I can confirm that this works...note that I didn't test by going back to 
>> the eMMC but that could be done by copying the backup image to a bootable 
>> SD card and dd'ing it to the eMMC.
>>
>>  This is my process:
>> 1 - to backup (on BBB...takes about 10min):
>>
>> boot via SD card
>>
>> dd if=/dev/mmcblk1 bs=1M | ssh user@ip 'dd of=/home/user/backup.img bs=1M'
>>
>> 2 - to restore to a SD card (on Linux laptop...takes about 10-20min)
>>
>> dd if=/home/user/backup.img of=/dev/<sdcard device> bs=1M
>>
>>
>> Also note that you can save just one partition and then it can be mounted 
>> on a Linux machine...for example:
>> 1 - on BBB
>>
>> boot via SD card
>>
>> dd if=/dev/mmcblk1p2 bs=1M | ssh user@ip 'dd of=/home/user/backup.img 
>> bs=1M'
>>
>> 2 - on Linux machine
>>
>> sudo mount backup.img /mnt
>>
>>
>>  
>> -Dale
>>
>>
>> On Wednesday, September 4, 2013 1:41:51 PM UTC-5, Gerald wrote:
>>>
>>> I will add it to my long list of things. After you confirm that it works.
>>>
>>> Gerald
>>>
>>>
>>>
>>> On Wed, Sep 4, 2013 at 1:40 PM, Anewbie <[email protected]> wrote:
>>>
>>>> I had this exact same question as well.  Thanks for posting. 
>>>>
>>>> I found this link using Gerald Google search link.  Look like a 
>>>> reasonable approach to back up the image:  
>>>> http://www.berriman.co.uk/how-to-backup-bbb-emmc-card/ .
>>>>
>>>> Perhaps this should be added to the BeableBone FAQ?  (
>>>> http://circuitco.com/support/index.php?title=BeagleBone_Black_FAQ ) 
>>>> also might make sense to add the info here as well 
>>>> ( http://circuitco.com/support/index.php?title=Updating_The_Software )
>>>>
>>>> Gerald, are you the best person to contact regarding this suggestion?   
>>>> (i.e. are you Gerald Coley referenced on the wiki? "If you have any 
>>>> questions or issues with the content on this Wiki, contact Gerald Coley")
>>>>
>>>> On Wednesday, September 4, 2013 12:42:01 PM UTC-4, Nik wrote:
>>>>>
>>>>> hey guys! 
>>>>>
>>>>> the topic actually says it all... im looking for a way to save the 
>>>>> current state of my BBB to its sd card. im just tired of setting things 
>>>>> up 
>>>>> again every time i mess my BBB up and have to flash the eMMC again... 
>>>>> unfortunately im pretty new to linux as well so i would be really 
>>>>> greatful for some tips of you guys!
>>>>>
>>>>> thx
>>>>> nik
>>>>>
>>>>  -- 
>>>> For more options, visit http://beagleboard.org/discuss
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "BeagleBoard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to