OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: stradt on December 07, 2005, 04:06:06 am
-
Hi everyone...
I've got a SL-6000 with rc12 on it. I've been doing some local development work. I got distracted and pulled off of this project for about a month. Now I'm back on it and I cant remember the root password.
I need some way of resetting the root password. I've tried booting off of the install media and it mounts the flash root and then mounts the install media root right on top of it. This leaves me with no way of getting to /etc/passwd
I can't find any documents about the boot loader and how to get the device to boot into single user mode...
I need ANY help that I can get. I'm risking losing a couple months worth of work.....
Thanks in advance,
Chris Stradtman
-
I've tried booting off of the install media and it mounts the flash root and then mounts the install media root right on top of it. This leaves me with no way of getting to /etc/passwd
I can't find any documents about the boot loader and how to get the device to boot into single user mode...
Well, this is just an idea, but keep in mind I have never learned about the details of the
boot loader, or update process.
Would it be possible to craft a customized "updater.sh" and maybe "tools.tar", and
use the builtin updater to execute the "updater.sh". Perhaps the script could replace
the /etc/passwd with another one, or something like that.
Anyway, I'm also wondering how you made out with this... John
-
quote=miskinis,Dec 12 2005, 03:12 PM]
I've tried booting off of the install media and it mounts the flash root and then mounts the install media root right on top of it. This leaves me with no way of getting to /etc/passwd
I can't find any documents about the boot loader and how to get the device to boot into single user mode...
Well, this is just an idea, but keep in mind I have never learned about the details of the
boot loader, or update process.
Would it be possible to craft a customized "updater.sh" and maybe "tools.tar", and
use the builtin updater to execute the "updater.sh". Perhaps the script could replace
the /etc/passwd with another one, or something like that.
Anyway, I'm also wondering how you made out with this... John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106873\"][{POST_SNAPBACK}][/a][/div]
[/quote]
I was thinking that myself.... but I remebered the password before I had to resort to that.
It was one of my standard password but the normal substitiutions were missing because the zaurus keyboard wasn't mapped correctly right after the initial install of pdaXrom.
:-0
-
here is the easy way to reset the root password on any zaurus.
1. pull the battery.
2. while holding B+D down put the battery in.
3. your Z will boot to a shell
4. chroot to your root path, in flash or on a drive. ex chroot /dev/mtdblock3
5. set the password. ex passwd
this will set the root password, you should be good to go then.