OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jeffk on March 20, 2004, 12:08:30 pm
-
At some point, possibly during either of the following:
a) firefox install to /mnt/card, which completed and runs.
wget http...minimo.ipk hung because of prism2 card locking up. Pulled card, interruped wget.
my /mnt/card (128mb PNY SD) got mounted as read-only. It is now giving:
unable to open \'/mnt/card/minimo...ipk\': Read-only file system
errors when I try to mv or rm a file as root from the xterm console. fstab is the stock version:
/dev/root / jffs2 rw 1 1
/dev/mtdblock3 /home jffs2 rw 0 0
/dev/hda1 /mnt/cf auto noauto,owner 0 0
/dev/mmcda1 /mnt/card auto noauto,owner 0 0
none /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
Any ideas on how to correct this? Do I unmount, mount, and what would be the exact syntax for that.
Thanks.
-
Unmounting and remounting may correct it, as well as a reboot of the system. I would suggest rebooting the system fist (type reboot at the command line).
umount /mnt/card
mount /mnt/card
Should work the mounting/unmounting as long as the fstab is not at fault.
LD
-
If that doesn\'t work and your card is formatted with ext2 unmount and fsck the file system (basically checks for internal errors):
umount /mnt/card
e2fsck /dev/mmcda1
mount /mnt/card
Chris.