Re: Emergency Network Boot

From: Michael Vilain (vilain_at_spamcop.net)
Date: 06/21/03


Date: Fri, 20 Jun 2003 21:53:18 -0700

In article <b51006b6.0306201803.fb3f373@posting.google.com>,
 sheckler@sparknotes.com (JayKayEss) wrote:

> Hi. We have a Netra X1 with a corrupted /etc/shadow file-- nobody can
> log in. The X1 has no CDROM drive; so I can't boot it from removable
> media. I'm trying to do a quick + dirty network boot so I can log in,
> mount the root drive, create a new /etc/shadow and reboot, but every
> time I try to netboot, I get the following message:
>
> whoami: no domain name
>
> I assume this is because I don't have an NIS+ server on my network...
> anyone know if there's a workaround for this? Can I use vanilla DNS
> rather than NIS+?
>
> Again, I'm *not* trying to set up a secure Jumpstart/NIS+
> installation, I just need to netboot this one server one time only!
> Both systems (server and client) are running Solaris 8 sun4u.

AFAIK, you don't need NIS or NIS+ setup to use Jumpstart. It just has
to be configured correctly to access rarpd, bootparamd, and tftpd.
Where is it failing and saying "no domain name"? After the tftpd
bootstrap or after the NFS-mounted install kernel has mounted?

If worst comes to worst, try taking the drive out and connecting it to
another SPARC system. Mount it and fix the file.

Or buy a CDROM.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...