erland,

As an alternative you can create your sd card image using a loop devce,
e.g.:


Code:
--------------------
    
  Create a zero filled img file with dd. e.g:
  
  dd if=/dev/zero of=awcard.img bs=1M count=4000
  
  Gives a 4g img file.
  
  To make sure you can access partitions in the loop device, execute as root:
  
  rmmod loop
  modprobe loop max_part=63
  
  Attach with,
  
  losetup -f awcard.img
  
  Prepare awcard.img by using loop dev it's attached to.
  
  fdisk /dev/loop0 (follow web page to create single parititon starting at 8192)
  fdisk -lu /dev/loop0
  mkfs.ext4 /dev/loop0p1
  mount /dev/loop0p1 /mnt/tmp
  tar -xf ArchLinuxARM-wand-latest.tar.gz -C /mnt/tmp
  sync
  umount /mnt/tmp
  dd if=u-boot-solo.imx of=/dev/loop0 bs=512 seek=2
  sync
  losetup -d /dev/loop0
  
--------------------


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to