ts-7000
[Top] [All Lists]

Re: [ts-7000] How to reduce SD card image size?

To:
Subject: Re: [ts-7000] How to reduce SD card image size?
From: Larry <>
Date: Wed, 08 Aug 2007 18:17:47 -0400
You need to use the utility fdisk.
Read the man page on it.

cheby2002 wrote:

Hello!

I had a 1 GB image size of a SD card (Master SD card with 1001216
blocks) with Debian and several packages installed for a TS-7260. I
want to create a new SD cards with this image.

I have bought some 1 GB SD (same manufacturer as SD card image, but
with 964864 blocks), but this new SD cards have a quite different
size than the "Master SD card", so when I execute dd command I
obtain:

#dd if=image1GB.dd of=/dev/sdd bs=1M
947+0 Input registers
946+0 Output registers

Master image is bigger than SD card, so when I put it in the SBC and
start Linux there are a lot of bad inodes during e2fsck. Linux can
repair it and boot up, but when I reboot I have the same problem.

I have tried to reduce image size on destination SD card using same
method than in the Wiki article(
http://www.seiner.com/ts7000/index.php/Copying%20Boot%20SDCard ) but
reducing partition size instead of growing it.

No good results have been obtained due to superblock specified a
size bigger than physical SD size (they don't match).

On the other hand, I have tried to copy this image in a 2 GB SD
card, reduce sdd3 partition size less than 1 GB (900 MB), create a
image of this card and copy it in a 1 GB SD card. No good results
have been obtained, because image have 2 GB size although there are
1.1 GB free without partition.

I have tried to perform a "mke2fs" in sdd3, but all file system goes
to lost+found :-(

Had anybody this problem before? Can anybody put some light in this
darkness, please?

Thanks in advance for your collaboration!

Bye!


No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.8/941 - Release Date: 8/7/2007 4:06 PM
__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU