Help - Search - Members - Calendar
Full Version: Help Need To Reset Root Password
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
stradt
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
miskinis
QUOTE(stradt @ Dec 7 2005, 09:06 AM)
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
stradt
quote=miskinis,Dec 12 2005, 03:12 PM]
[quote=stradt,Dec 7 2005, 09:06 AM]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...
[/quote]

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]

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
realm
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.
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.