Help - Search - Members - Calendar
Full Version: Ext2 On A Cf Card
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
alan
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
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
# 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!


blink.gif Any idea ?
ThC
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
alan
tried with umount /mnt/card but then mkfs gives me the same while i am in the / directory...
murple
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
conundrum
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
cardctl status 0
and make sure its not some big problem.
blakeyez
QUOTE(murple @ Dec 15 2004, 04:17 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

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

Dave
alan
thanks guys ! it works ! Dunno what happended, but after many many tries, and finally a reboot, it worked !
alan
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...
alan
oki, it was definitly a bad idea... my cf card is much to slow...

now, how do i revert back ? mkfs.msdos ? mkfs.vfat ?
conundrum
Why don't you try before asking? mkfs.vfat
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.