OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started 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
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...
# 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 ?
-
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
-
tried with umount /mnt/card but then mkfs gives me the same while i am in the / directory...
-
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
-
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 cardctl status 0
and make sure its not some big problem.
-
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
-
thanks guys ! it works ! Dunno what happended, but after many many tries, and finally a reboot, it worked !
-
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...
-
oki, it was definitly a bad idea... my cf card is much to slow...
now, how do i revert back ? mkfs.msdos ? mkfs.vfat ?
-
Why don't you try before asking? mkfs.vfat