On Wednesday, January 15, 2014 5:10:59 PM UTC-7, RobertCNelson wrote:
>
> how about just plain old: 
>
> sudo dd if=./bone-debian-7.3-2014-01-14-4gb.img of=/dev/sdd 
>

I can try but I doubt if it will be any different than cp or xz -cd >. 
 

>
> > dennis@dennis-VirtualBox:~$ cat /sys/block/sdd/size 
> > 7626752 
> > 
> > I believe this is units of 512B blocks. This corresponds to 3.904 GB or 
> > 3.637 GiB. 
> > 
> > The image file size is: 
> > 
> > root@dennis-VirtualBox:/home/dennis/BBB/image-builder/deploy# ls -l 
> > bone-debian-7.3-2014-01-14-4gb.img 
> > -rw-r--r-- 1 dennis dennis 3932160000 Jan 15 12:26 
> > bone-debian-7.3-2014-01-14-4gb.img 
> > 
> > This size is 3.932 GB or 3.662 GiB (i.e. the 3.7GB reported earlier). 
>
> Other than the fact i HATE debugging VMware/VirtualBox with a 
> passion.. What brand are these 4GB microSD cards? 
>

Kingston Technology.

To rule out virtualbox's involvment I inserted the same SD card into my BBB 
and checked its size as reported by Angstrom linux.

 root@beaglebone:~# cat /sys/block/mmcblk1/size
7626752

As you can see it reports exactly the same size.
 

>
> The magic number I've been using is 3750, which is working on 
> SanDisk/Kingston/Samsung 4GB 
>
> https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L1540
>  
>
>
Yes, 3750*1024*1024 is 3.932 GB, the size of the image file.

Reducing this to 3750 * 3.904/3.932 or 3723 would make it fit this SD card. 
I would suggest reducing it slightly more, to 3700 to allow for other 
smaller cards.

> I know that the armhf.com images are 2 GB. These can be copied to a 
> larger 
> > SD card and then fdisk is used to resize the second partition to fill 
> the SD 
> > card, and finally the filesystem is resized to match the new partition 
> size. 
> > This seems like a better approach than arbitrarily reducing the image 
> size 
> > to fit on undersized SD cards, though it is more complicated. 
>
> If you want a 2Gb image, pass the "--img" option vs the "img-4gb" 
> option to setup_sdcard.sh.. 
>
>
I think I'll do that. I will also look at creating a script to automate the 
expansion process so that the result automatically fills the SD card to its 
full capacity, regardless of its exact size.

Thanks again.

Dennis Cote 

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to