OESF Portables Forum
General Forums => General Discussion => Topic started by: andresgriego 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 (http://anjackson.net/2005/01/02/formatting-an-sd-card-as-ext2).
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
-
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 (https://www.oesf.org/index.php?title=Step-by-step_CF/SD_fdisk/formatting_for_newbies)
-
Thanks a lot, I'll try just formating it first.
Cheers!