Author Topic: Formatting A Cf To Ext2  (Read 2894 times)

andresgriego

  • Newbie
  • *
  • Posts: 48
    • View Profile
Formatting A Cf To Ext2
« on: February 14, 2006, 11:07:32 pm »
Umm, yea. It's me again ... a Windoze user.  

I searched via Google for basic linux commands and came up with this.

The link has the following text as commands to format an SD card to ext2 on a Zaurus :
 umount /dev/mmcda1
  fdisk /dev/mmcda
  o [ENTER]
  n [ENTER] p [ENTER] 1 [ENTER] [ENTER] [ENTER]
  t [ENTER] 1 [ENTER] 83 [ENTER]
  w [ENTER]
  mkfs.ext2 /dev/mmcda1
  mount /dev/mmcda1 /mnt/card


I'm confused because we 'fdisk /dev/mmcda'? I thought the SD card was at /mnt/card/ . Plus, I'm not sure what the numbers he's entering are for my card specifically.

Can someone help me do this? Please post me the commands to setup my 128mb Sandisk CF as an ext2 filesystem. I have a C3100.

FYI. I am doing this because I would like to setup zgcc on the CF card.



Thanks,

Andres
« Last Edit: February 14, 2006, 11:12:41 pm by andresgriego »
SL-C3100 "Io"- XScale-PXA270 rev 7
Cacko 1.23 1029311005

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Formatting A Cf To Ext2
« Reply #1 on: February 15, 2006, 12:13:30 am »
Hey Andres, Thanks for asking.
What ROM are you using? (you may want to add that to your sig)

I can appreciate your question. /mnt/card is where the card gets mounted so that a humans can use it. Stuff in the /dev/ directory are for the Linux OS to understand, so that you can MOUNT the SD card and use it.
I don't think you need to use FDISK if you are just changing the file format to ext2.
Just the mkfs.ext2 has worked for me.
This link should help: https://www.oesf.org/index.php?title=Step-b...ing_for_newbies
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

andresgriego

  • Newbie
  • *
  • Posts: 48
    • View Profile
Formatting A Cf To Ext2
« Reply #2 on: February 15, 2006, 12:53:56 am »
Thanks a lot, I'll try just formating it first.


Cheers!
SL-C3100 "Io"- XScale-PXA270 rev 7
Cacko 1.23 1029311005