Author Topic: Format A Compact Flash Drive While Mounted  (Read 2324 times)

SadaraX

  • Newbie
  • *
  • Posts: 28
    • View Profile
Format A Compact Flash Drive While Mounted
« 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

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

Can someone help me?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Format A Compact Flash Drive While Mounted
« Reply #1 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Format A Compact Flash Drive While Mounted
« Reply #2 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.
-----
SL6000L
ATP 512MB SD

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Format A Compact Flash Drive While Mounted
« Reply #3 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

Greg
« Last Edit: December 13, 2005, 09:47:20 am by Greg2 »