Hi Elizabeth
I'm no guru on compact flash cards, but I'll try to share some of my
Linux experience. However, since I have not seen this error before some
more information is needed.
Elizabeth wrote:
> System
> /dev/sdcard1/disc0/part1 1 5 1264 83 Linux
> /dev/sdcard1/disc0/part2 6 ; 10 1280 83 Linux
> /dev/sdcard1/disc0/part3 20 3810 970496 83 Linux
Looks fine to me, if you have a 1GB card this means you have three
partitions and the numbers to the right is how many 1K blocks there are
on each partition. This should be just fine. (These are not the block
sizes that are mentioned in the error message below though.)
Youd dis SAVE the partition table? (Exiting fdisk with a "w") Also, you
might get problems if the card was mounted at the time. Otherwise fdisk
reports that you might have to reboot for the kernel to accept the new
partition table.
> *mkfs.ext2 /dev/sdcard1/disc0/part3*
> or tried
> *mkfs.ext3 /dev/sdcard1/disc0/part3*
Should work just fine.
Did they give you any error messages? What did they report? They should
have told you which block-size you got and some other things.
> Then a file is already created in /mnt/sdcard1 to mount but here comes
> the problem a get a error like this
The mountpoint (I'm guessing /mnt/sdcard1 in your case?) should be a
directory, not a file. However, mount would complain about this so I
guess you meant that the directory already existed.
> *wrong fs type, bad option, bad superblock on /dev/sdcard1/disc0/part3,
> missing codepage or other error*
> After doing a dmesg I get this:
> *EXT2-fs: blocksize too small for device.*
When running mkfs.ext2 (and ext3) you may specify "-b xx" where xx is a
blocksize. I have never needed to set the blocksize so I'm not very
experiences on this subject. However, if for some reason there is an
error on the CF card and mkfs didn't manage to make a valid file system
you could try using "tune2fs -l" to check it out.
So, try comparing the output from "tune2fs -l" with "mkfs.ext3" and see
if they report the same block-sizes.
Good Luck
Per Öberg
--
Per Öberg, Ph.D. Student
Address: Division of Vehicular Systems
Department of Electrical Engineering
Linköpings universitet
581 83 Linköping, SWEDEN
Phone: +46 (0)13-28 23 69
e-mail:
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
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/
|