OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: SadaraX on December 13, 2005, 04:41:34 am

Title: Format A Compact Flash Drive While Mounted
Post by: SadaraX on December 13, 2005, 04:41:34 am
I have a compact flash drive that I use in a card reader. My system cannot see the card if it is not mounted. But I need to reformat the card from fat16 to ext2. However I cannot format a mounted partion or device. Any ideas?

I am trying to install debian onto my Zaurus 3100, but I just cannot get this CF card formated right. And without ext2, I cannot copy the files extract from this:

http://www.pocketworkstation.org/files/zau...n-big-v0.18.tgz (http://www.pocketworkstation.org/files/zaurus-debian-big-v0.18.tgz)

And follow the instructions here:
http://www.pocketworkstation.org/files/zau...n-big-v0.18.tgz (http://www.pocketworkstation.org/files/zaurus-debian-big-v0.18.tgz)

Can someone help me?
Title: Format A Compact Flash Drive While Mounted
Post by: lardman on December 13, 2005, 05:19:49 am
Quote
My system cannot see the card if it is not mounted

Is this because the card-reader shuts down when you umount the card?

Try formatting it on the Zaurus.


Si
Title: Format A Compact Flash Drive While Mounted
Post by: jbruno on December 13, 2005, 07:14:05 am
Quote
Quote
My system cannot see the card if it is not mounted

Is this because the card-reader shuts down when you umount the card?

Try formatting it on the Zaurus.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106959\"][{POST_SNAPBACK}][/a][/div]

It should work if you do this with the card inserted:

# su
# umount /mnt/card
# mkfs.ext2 /dev/mmcda1

Then you can remove and reinsert the card and it should be formatted as ext2.
Title: Format A Compact Flash Drive While Mounted
Post by: Greg2 on December 13, 2005, 09:39:54 am
Quote
It should work if you do this with the card inserted:

# su
# umount /mnt/card
# mkfs.ext2 /dev/mmcda1

Then you can remove and reinsert the card and it should be formatted as ext2.
This is a bit misleading, you should change the partition type 'before' reformatting with a different file system.

@SadaraX
Here's the instructions:
https://www.oesf.org/index.php?title=Step-b...ing_for_newbies (https://www.oesf.org/index.php?title=Step-by-step_CF/SD_fdisk/formatting_for_newbies)

Greg