installing to eMMC

Ask questions about Arch Linux ARM. Please search before making a new topic.

installing to eMMC

Postby kamm » Fri Jan 22, 2016 11:48 pm

Hi all. I'm totally new to beaglebone and to arch, so hope this question isn't too naive.

I'm wondering why the instructions at http://archlinuxarm.org/platforms/armv7/ti/beaglebone-black say to download and extract a new copy of the root filesystem which of course loses any new user accounts, files and other changes that may have been made to the system already installed on the SD card, rather than just copying the already-working system from the SD card to the eMMC.

I followed the instructions as far as zeroing, partitioning, and creating the new file system on the eMMC, and mounting it to /home/alarm/mnt on the running SD card system, then copied the entire running file system to the eMMC by

$this->bbcode_second_pass_code('', 'cp -ax / /mnt')

Then installed u-boot per instruction 6 to /dev/mmcblk1 and followed remaining instructions 3 and 4 to remove the SD card and reboot from the eMMC. New system seems to be working correctly. Am I missing something?
kamm
 
Posts: 5
Joined: Fri Jan 22, 2016 11:19 pm

Re: installing to eMMC

Postby bulletmark » Tue Feb 23, 2016 12:19 pm

@kamm, did you ever determine if this approach was valid?

Certainly seems an easy way to clone SD->EMMC. If it works then I guess cloning from EMMC->SD would also work the same way, and thus it would also be easy to clone one BB EMMC to another BB EMMC using EMMC->SD->EMMC?
bulletmark
 
Posts: 98
Joined: Tue Oct 13, 2015 10:17 pm

Re: installing to eMMC

Postby WarheadsSE » Tue Feb 23, 2016 3:53 pm

Generally, the installation guide is about installing, not migrating
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: installing to eMMC

Postby bulletmark » Tue Feb 23, 2016 9:54 pm

@WarheadsSE, I absolutely respect your statement which is correct. The Arch ARM installation procedure (at least for the BB) is superbly simple, clear, and efficient. Much better than copying raw large fixed size SD dd images around the place and then having to resize etc which other's like Debian require.

The OP's question is really about an independent (although related) issue which amounts to "is it possible to copy the root file system of a running Arch ARM system?". That is a valid and interesting question to which we hope the experts here may respond to? If it works then it allows a simple way to copy the eMMC to/from SD card to clone systems etc, as my post asked.
bulletmark
 
Posts: 98
Joined: Tue Oct 13, 2015 10:17 pm


Return to User Questions

Who is online

Users browsing this forum: Majestic-12 [Bot] and 14 guests

cron