>
> *1) what is the format of SD card? FAT16 - (can be max 4GB) or FAT32? I am
> using Gparted on VM Ubuntu, what are the flags - I set vboot and lba*
>

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard


2) do you need to hold the S2 button while powering BBB as described  here
..
<snip>

If uEnv.txt contains *uenvcmd *as below*, *you should not have to press S2
during bootup.

*uenvcmd*=run boot_ftd; run netargs; bootz 0x80200000 - 0x815f0000

However do note the below example is a netboot example so do not use this.
Instead use something similar to this:

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-DealingwitholdBootloaderineMMC

3) is there a sequense you need to copy extracted files into SD card or
doesn't matter?

Yes and no. Files, etc need to be in certain locations, that is about it.
You will note going by Roberts instructions linked twice above, there is a
hole in the first part of the single partition to fit the bootloader files,
and then sfdisk takes up the rest of the available disk space for the EXT4
rootfs. If these instructions on this page are unclear feel free to either
google "man page sfdisk" Or install sfdisk on your VM's ubuntu and read the
man pages for sfdisk. etc.

*Important notes.*

Your rootfs must contain modules for the specific kernel you're planning on
using. That is, if you plan on using any. If you're using an existing
working sdcard image. this should not be much of a problem.

Duplicating the partition structure can be done using dd, if the duplicate
disk is the same size, or larger. However, for larger disks, it is much
simpler to use tar

*dd* -> http://www.debianhelp.co.uk/ddcommand.htm
*tar* -> http://www.aboutdebian.com/tar-backup.htm

On Wed, Nov 26, 2014 at 2:44 PM, <[email protected]> wrote:

> Hi,
>
>  I do find it useful, as I have problem to do it myself.
> Questions:
> 1) what is the format of SD card? FAT16 - (can be max 4GB) or FAT32? I am
> using Gparted on VM Ubuntu, what are the flags - I set vboot and lba
> 2) do you need to hold the S2 button while powering BBB as described  here
> https://stackoverflow.com/questions/17834561/duplicating-identical-beaglebone-black-setups
> or not as described here
> http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents
> 3) is there a sequense you need to copy extracted files into SD card or
> doesn't matter?
>
> So far nothing works for me.
> Can you share your way?
>
> Jan
>
>
> On Sunday, November 23, 2014 1:22:06 AM UTC+11, [email protected] wrote:
>>
>> Just in case somebody finds it useful:
>>
>> The duplication has worked now!
>> I did it according to first stack overflow answer and the reference here:
>> http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents
>>
>> The preparation of the microSD card can only be done under a Linux
>> environment - at least I did not manage to prepare it under Windows.
>> The root file system was now 2GB in size - although the Rev C has 4 GB.
>> Resizing was done exactly like in
>> http://blog.asiantuntijakaveri.fi/2014/05/flashing-beaglebone-black-rev-
>> b-2gb.html
>>
>> ----"
>> What you want to do next is resize root partition to fill entire eMMC,
>> otherwise you're leaving few hunded megabytes of capacity unused and rev B
>> internal 2GB eMMC is already a bit on small side for full blown Linux
>> install. Below steps will of course work for SD card rootfs as well.
>>
>> # Switch to root
>> sudo su -
>>
>> # Delete and recreate root partition using entire disk
>> # internal eMMC is called mmcblk0 now as we don't have any SD cards
>> connected
>> fdisk /dev/mmcblk0
>> # Delete partition #2 (type "d" and then "2")
>> # Create new partition (type "n" and hit enter four times to accept
>> defaults)
>> # Write changes (type "w")
>>
>> # Reboot so new partition table gets read
>> reboot
>>
>> # Login again as root and resize root fs
>> resize2fs /dev/mmcblk0p2
>>
>>  "---
>>
>> Works like a charm!
>>
>  --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to