On Mon, 5 Feb 2001, Marko Dinic wrote:

> I had a SparcStation 2 (full system) for a while in my closet (dead NVRAM) 
> and I just got some parts for it so it's back up and running. Now I need to 
> reset the root password. Ok, that sounds dumb. So, I don't have the cdrom, I 
> tried booting of a debian floppy (potato rescue for Sparc) and mounting the 
> sda1 (my first SCSI disk, running Solaris 2.5). The problem is that I can 
> only mount it read-only. I tried everything from "mount /dev/sda1 /sunhdd" to 
> "mount -t ufs /dev/sda1 /sunhdd -o w,ufstype=sun". All of the commands mount 
> it, but mount it read-only. I need write access so I can change /etc/shadow 
> and delete the password hash. 
> 
> Does anyone have any suggestions? I can't seem to figure out what mount 
> wants. It's weirding me out.
> 
> Regards,
> Marko
> 
> PS: Can you include me in the reply for now, I'll be joining the mailing list 
> shortly. Thanks.

It's been awhile since I looked at the rescue floppy for potato on sparc,
but my guess is that the ufs driver on that floppy doesn't include write
support, which is an experimental option iirc. Do you have Sun
installation media? you could boot that to change the pass, but you would
have probably done that already if that were the case. =) If you have
access to another Debian box, you could use it to generate a custom .iso
image, or you could mount the hard-drive on another box /w ufs rw support.

Brian
[EMAIL PROTECTED]

How often I found where I should be going only by setting out for
somewhere else..
                                       -- R. Buckminster Fuller


Reply via email to