Author Topic: Format Sd In Ext2  (Read 9473 times)

mrolympia

  • Newbie
  • *
  • Posts: 6
    • View Profile
Format Sd In Ext2
« on: July 03, 2006, 11:53:20 am »
Hi please can someone help me?

I now own a C860 and I'm running pdaXrom beta 1 on it with a 1GB SD card.
I have formatted the SD card through WinXP to FAT16 and when I try to install programs to it coming up with a permissions problem.
Someone told me that it needs to be ext2 to install programs on it but then windows won't be able to read the card which I need.

I am new to Linux and can someone give me instructions on how to format the SD card either on the Zaurus or on Suse.

Also is there a way to do 2 partitions on the SD card one ext2 and the other one Fat?

Cheers

Mr O

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Format Sd In Ext2
« Reply #1 on: July 03, 2006, 12:01:31 pm »
Here's a link about partitioning CF/SD cards:
https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card

It's kinda old, but should work. I haven't tried it yet though.
« Last Edit: July 03, 2006, 12:02:30 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

mrolympia

  • Newbie
  • *
  • Posts: 6
    • View Profile
Format Sd In Ext2
« Reply #2 on: July 03, 2006, 02:26:57 pm »
Thanks for the quick respose however I'm getting an error when trying to umount /dev/mmcda cannot be found. I have checked the dev folder and there is a mmcd and a disk0 within that folder. I've tried umount /dev/mmcd but still no joy.

I'm running pdaXrom, I think this is for openzaurus.

Please can someone tell me where I'm going wrong?


mr O

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Format Sd In Ext2
« Reply #3 on: July 03, 2006, 02:59:39 pm »
do a umount /dev/mmcda1
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

mrolympia

  • Newbie
  • *
  • Posts: 6
    • View Profile
Format Sd In Ext2
« Reply #4 on: July 03, 2006, 05:21:14 pm »
tried that one too, saying not found
this is what I'm doing

cd /root
umount /dev/mmcda1
umount: /dev/mmcda1

also tried
cd /
umount /dev/mmcda1
umount: /dev/mmcda1

Tried mmcda, mmcda1
when I do
cd/
umount /dev/mmcd it says not mounted
so I go the to next stage
fdisk /dev/mmcd and that says - You will not be able to write the partition table.
unable to read /dev/mmcd

I get a unable to open /dev/mmcda and /dev/mmcda1

I'm very new to Linux please help
« Last Edit: July 03, 2006, 05:23:31 pm by mrolympia »

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Format Sd In Ext2
« Reply #5 on: July 03, 2006, 08:33:05 pm »
I'm also a linux newbie.
I may be wrong, but I think you may need to 'su' to become root before doing anything with mounting.
I formatted a SD card as ext2 in Cacko awhile back
Try these 2 links
https://www.oesf.org/forums/index.php?showt...c=17725&hl=ext2

and formatting for newbies
https://www.oesf.org/index.php?title=Step-b...ing_for_newbies
« Last Edit: July 03, 2006, 08:33:36 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Format Sd In Ext2
« Reply #6 on: July 04, 2006, 07:30:11 am »
You must unmount either the partition or the mount point, so either of these will work (and you only need to use one):

umount /dev/mmcda1
umount /mnt/card

I don't use pdaXrom, so check the output of 'mount' to see that you're unmounting the right thing.

If you want to create partitions then use the instructions linked above. Note that to create partitions you must pass the device, not the partition (or mount point), to fdisk, so:

fdisk /dev/mmcda

(note that there's no 1 on the end).

To format in your current state (first and only partition) do:

mkfs.ext2 /dev/mmcda1

(swap the 1 for a 2 once you've made two partitions, etc.)


Si
« Last Edit: July 04, 2006, 07:30:39 am by lardman »
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