OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: alan on December 15, 2004, 05:02:34 pm

Title: Ext2 On A Cf Card
Post by: alan on December 15, 2004, 05:02:34 pm
hi !

I would like to format my 256Mo CF card to ext2 in order to stock progs on it. I try to follow those instructions from pdaxrom homepage

Code: [Select]
When i'm installing programs(IPKs) to SD or CF card it fails?

A:
You must format the SD/CF card to ext2:
Format CF:
umount /dev/hda1
mkfs.ext2 /dev/hda1
mount /dev/hda1 /mnt/cf
Format SD:
umount /dev/mmcda1
mkfs.ext2 /dev/mmcda1
mount /dev/mmcda1 /mnt/card

but it does'nt work...

Code: [Select]
# umount /dev/hda1
umount: /dev/hda1 not mounted
# mkfs.ext2 /dev/hda1
mke2fs 1.34 (25_Jul_2003)
/dev/hda1 is mounted; will not make a filesystem here!

   Any idea ?
Title: Ext2 On A Cf Card
Post by: ThC on December 15, 2004, 05:15:06 pm
check you're not in /mnt/cf whiletrying these ... you could also try umount /mnt/card instead of /mnt/hda1 ... in last resort you can edit your /etc/fstab, comment the line which is mounting /dev/hda1 and reboot your Z (without the card) then re-insert it, format and then uncomment the line ... btw you shouldn't have to come to that
Title: Ext2 On A Cf Card
Post by: alan on December 15, 2004, 05:20:24 pm
tried with umount /mnt/card but then mkfs gives me the same while i am in the / directory...
Title: Ext2 On A Cf Card
Post by: murple on December 15, 2004, 07:17:19 pm
I dont know if its the same setup as with SDs, but when you format a SD its
/dev/mmcd/disc0/part1  rather than /dev/mmcda1

the cf might be similar to that, something like
/dev/hda/part1, /dev/hd/disc0/part1 or some such thing

just a stab in the dark tho
Title: Ext2 On A Cf Card
Post by: conundrum on December 15, 2004, 07:56:18 pm
Murple, took me a while to see what I was doing wrong with pdaXrom and the SD card.  OpenZaurus was just /dev/mmcda.

Anyway, I sacrificed a CF card to test, and it works fine for me.  RC5/C860

Maybe you should try it without X.  Also, might as well do
Code: [Select]
cardctl status 0 and make sure its not some big problem.
Title: Ext2 On A Cf Card
Post by: blakeyez on December 15, 2004, 07:56:19 pm
Quote
I dont know if its the same setup as with SDs, but when you format a SD its
/dev/mmcd/disc0/part1  rather than /dev/mmcda1

the cf might be similar to that, something like
/dev/hda/part1, /dev/hd/disc0/part1 or some such thing

just a stab in the dark tho
Stab in the dark indeed   No, it's /dev/hda1.  Check the output of 'mount' with no arguments, it shouldn't show the cf card as mounted.

Dave
Title: Ext2 On A Cf Card
Post by: alan on December 16, 2004, 01:16:22 pm
thanks guys ! it works ! Dunno what happended, but after many many tries, and finally a reboot, it worked !
Title: Ext2 On A Cf Card
Post by: alan on December 16, 2004, 01:16:39 pm
thanks guys ! it works ! Dunno what happended, but after many many tries, and finally a reboot, it worked !

EDIT :

Man ! progs on the CF card are sooooooooo slow.... Plus everything doesn't work properly out of the box... Not so sure anymore it was a good idea...
Title: Ext2 On A Cf Card
Post by: alan on December 23, 2004, 04:22:18 pm
oki, it was definitly a bad idea... my cf card is much to slow...

now, how do i revert back ? mkfs.msdos ? mkfs.vfat ?
Title: Ext2 On A Cf Card
Post by: conundrum on December 23, 2004, 10:05:56 pm
Why don't you try before asking?  mkfs.vfat