[ILUG] Sparc rescue
Paul Mac Farland
paul.mac.farland at gmail.com
Thu Mar 3 11:11:14 GMT 2005
John Madden wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On (03/03/05 00:29), Paul Jakma didst pronounce:
>
>
>>>Problem is it's failing a fsck on boot (on /var) and can't continue
>>>until a manual fsck is performed on the drive, which requires the
>>>root pass!! So, boot -s etc. won't work in this case, because it'll
>>>still fail the fsck and still ask for the password.
>>>
>>>
>>You were prepared to reinstall with S10, so the existing OS can't be
>>that important, right? So why not just reinstall with NetBSD or
>>Debian Linux? (or do you specifically want Solaris?)
>>
>>
>>
>There's nothing important on the machine, and I probably will rebuild it
>at some stage. I just kinda got locked onto the idea of finding a way
>around this problem.
>
>- --
>Chat ya later,
>
>John.
>- --
>BOFH excuse #1: clock speed
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.0 (GNU/Linux)
>
>iD8DBQFCJuTZQBw+ZtKOvTIRAr42AJ4/iGkXcAQXwnhHDhtlq3mW/0hTlwCdFwVa
>lAJXOW+hy3khZc6564DeHQI=
>=cI0S
>-----END PGP SIGNATURE-----
>
>
1. "stop a" to get to the boot prompt
2. boot net -s (generates a mini file system)
3. fsck /dev/rdsk/c0t0d0s0
4. mount /dev/dsk/c0t0d0s0 /a
5. TERM=sun
export TERM
vi /a/etc/shadow and take out the root password!
6. init 6
More information about the ILUG
mailing list