OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Anonymous on January 06, 2004, 11:41:28 am

Title: newbie...5600 format cf card problems
Post by: Anonymous on January 06, 2004, 11:41:28 am
I\'m new to linux. I\'m trying to umount, format, mount
my 256mb CF card on my zaurus 5500. I have upgraded
the rom to 3.1 which makes it like the 5600. I\'m using
the terminal program and trying to get to root by
typing su. It gives me the # and a space. I see that
the instructions I found on this site and others show
this...

#umount /dev/hda1
#mkfs.msdos /dev/hda1
#mount /dev/hda1 /mnt/cf

which doesn\'t have a space after #. Does this make a
difference? It\'s not letting me do any of these
commands.  Doing the first umount command it goes back
to # then a space. It comes up with error messages on
the others. I found an article about sudo and it said
this..

The Zaurus 5600 and C7x0 (and V3.x ROMs for the Zaurus
5500) run as user \'zaurus\'. The earlier 5500 ROMs ran
simply as \'root\'. While this was generally considered
a security and \'safety\' faux pas, it was convenient,
as the device clearly is intended as single-user. The
real issue now is that programs created for the
earlier ROMs may make assumptions about the user\'s
privileges on the system that are no longer valid...

The card works but I want to make sure it\'s in the
right format because I had a Viking 256mb card that
doesn\'t work anymore. The funny thing is that I can
mount and unmount the Viking card now after upgrading.
I can use the Zaurus file transfer program and see
lots of stuff on the card but can\'t delete or add. All
the information looks corrupt(i\'ve used file recovery
programs on windows and dos before and the files look
like old corrupt files). I don\'t have a card reader
for my windowsxp. The new cf card has the directory of
mnt
    cf
       documents
           install files
       Qtpalmtop

I\'ve only stored and deleted a couple of files on the
new cf card.
Can someone please tell me how to get to root and
format my card or how to use sudo to make this work.
Here is all the info on my system and card. Thanks..

Johnny....


Embedix Plus PDA
Version: 2.0
Incorporating:

Opera Browser
Version: 6.0

Insignia Jeode Java™ VM
Version: PDA Edition

Qtopia for Embedix Plus PDA
Version: 1.5.4
Compiled by: Trolltech -
www.trolltech.com
Built on: Apr 26 2003

Linux Kernal
Version:
2.4.18-rmk7-pxa-embedex
Compiled by: SHARP -
developer.sharpsec.com

Rom Version :3.10

Crucial 256mb
CT256MBC1.KC
256mb type I  Compact Flash Card
BL1111V.2Q
ss 200335
39100
Title: newbie...5600 format cf card problems
Post by: lardman on January 06, 2004, 11:54:20 am
Quote
#umount /dev/hda1 
#mkfs.msdos /dev/hda1 
#mount /dev/hda1 /mnt/cf 

I\'m not sure whether \'umount /dev/hda1\' will work (it may well), but I\'d use \'umount /mnt/cf\'.

You don\'t need a space as the first char in your commands, it\'s just easier to read like that when we post here.

Your problem is that you\'re running as user \'zaurus\' and you need to be \'root\' to use these commands.

To become root use the command \'su\', the password will probably be the passcode you set when you first booted your Z, if you don\'t know what I\'m talking about try just pressing enter again (i.e. password is blank.

Si
Title: newbie...5600 format cf card problems
Post by: cuoops on January 08, 2004, 08:29:34 pm
Yeah, I know about su. I was saying there is a space after # in terminal after I run su before I can type anything. Was just wondering if that was root. I ran it again using cf directory and it looked like it worked. Does the cf card icon suppose to go away when I umount it because it didn\'t. It looked like mkfs.msdos worked. The program came up after the command with no errors. Does this command delete everything? I\'ll try it with some data on there and see I guess. Thanks.......
Title: newbie...5600 format cf card problems
Post by: zenyatta on January 09, 2004, 04:43:20 am
the command whoami will tell you whether you are root or not...

z.
Title: newbie...5600 format cf card problems
Post by: lardman on January 09, 2004, 10:25:08 am
Quote
Does the cf card icon suppose to go away when I umount it 

No it doesn\'t tend to.
Title: newbie...5600 format cf card problems
Post by: cuoops on January 09, 2004, 10:45:46 pm
Thanks for the help. I understand and it\'s working.