This what I did with a 1G card - it should also probably work with a 2G
card.
I basically copied the 512M image to the card, then expanded the last
partition to fill the card.
This was all done with the TS-7300 board.
I think I got this information from TS documentation somewhere, but I
don't recall where.
- Quick boot (i.e. don't start the whole system, just the 1.7s deal)
- Remount original SD card read only (this isn't necessary - quick boot
mounts it read only)
mount -t ext2 -o defaults,noatime,sync,remount,ro
/dev/sdcard0/disc0/part3 /
- dd if=/dev/sdcard0/disc0/disc of=/dev/sdcard1/disc0/disc (this takes
a while.)
- ext2resize /dev/sdcard1/disc0/part3 (not on dev kit)
- fdisk /dev/sdcard1/disc0/disc, delete part3, then recreate starting in
the same spot but using the remaining space
- reboot (to use new partition table from fdisk)
- exit to full boot, so sdcard is mounted r/w
- e2fsck -f /dev/sdcard1/disc0/part3
- resize2fs -p /dev/sdcard1/disc0/part3 (defaults to expanding to fill
the whole partition)
===============================
> How do I format a 2G CF card so I can put all image contents on it?
> I'm not talking about copying an image to it (unless there's a 2G
> image).
>
> --
> Linux Home Automation Neil Cherry
> <ncherry%40linuxha.com>
> http://www.linuxha.com/ <http://www.linuxha.com/> Main site
> http://linuxha.blogspot.com/ <http://linuxha.blogspot.com/> My HA Blog
> http://home.comcast.net/~ncherry/
> <http://home.comcast.net/%7Encherry/> Backup site
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|