I tried to use it, I can resize linux partition, but when I do
e2fsck and resize2fs I have problems because physical space
specified in superblock doesn't match with partition.
Thanks!
--- In Larry <> wrote:
>
> 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
> > <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
> >
> >
>
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/
|