Re: Solaris install through TFTP linux-server

2002-06-29 Thread Thomas 'Mike' Michlmayr
On Fri, Jun 28, 2002 at 22:23:20 -0700,
Patrick Morris [EMAIL PROTECTED] wrote:
[...]
 Not likely, especially if you've never even tried it before on Solaris.

yeah. setting up a jumpstart server requires some understanding of what's
going on during a network boot of sunos/solaris.

 It's possible to kludge if you set all the right things correctly (ARP, 
 reverse ARP, NFS, bootparams, etc.), but it's not something you'll
 probably be able to pull off without really thorough experience of how
 a Solaris install server works.  

well, it's not that difficult. after the boot net - install, the following
happens:

* RARP request to get IP address
* TFTP request to RARP server (and a broadcast, if that fail. though
i never managed to get the broadcast to work)
* bootparams query for NFS path of mini-root
* NFS mount of mini-root
* bootup
* sysid runs, with bootparams you can specify a sysidcfg file to
make it non-interactive, otherwise an interactive sysid
* bootparams query to find out where the jumpstart config and
the CD contents are (both NFS paths)
* NFS mount config and CD
* suninstall is installing. interactive or non-interactive, depending
on config.

so, you need to configure
* a RARP server
* a TFTP server
* a bootparams server
* a NFS server
* a jumpstart server (run setup_install_server from the CD for that)

RARP is linux specific.
TFTP and bootparams can be done with add_install_client. if it does not run,
look into the code to see what should be done.
NFS is documented (ro share, whith anon=0 on solaris. dunno the linux equiv.).

 None of the scripts that make an install 
 server easy to set up and maintain will work on Linux (setup_install_server,
 add_install_client, etc., are all Solaris-specific enough that they'll
 definitely bomb under another OS).

i was actually able to get setup_install_server and the one on the 2nd CD
(addto_install_server or something like that) to run on debian with minor
modification. i never tried the add_install_client, as i do that by hand.

-- 
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
[EMAIL PROTECTED] |   lusers into representational shapes.



pgpsUvam2ym6G.pgp
Description: PGP signature


Re: Solaris install through TFTP linux-server

2002-06-29 Thread Michael J. Saletnik
On June 29, 2002 at 15:45, Thomas 'Mike' Michlmayr wrote:
  well, it's not that difficult. after the boot net - install, the following
  happens:
  
   * RARP request to get IP address
   * TFTP request to RARP server (and a broadcast, if that fail. though
   i never managed to get the broadcast to work)

I've successfully gotten this far in the past; the Solaris boot loader
was tftp'd and running on my little Sparc Classic.

   * bootparams query for NFS path of mini-root
   * NFS mount of mini-root

This step, however, would fail. Now, it may be version-specific, but
the Solaris version that I had (7 or 8, I'm not sure) could not deal
with out-of-order NFS packets, which the Linux server was sending (and
presumably a Solaris NFS server would not). Tcpdump easily confirmed
the scenario.

Of course, my Sparc Classic runs Debian so well, I never really looked
back.
:-)

-- 
{michael}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Solaris install through TFTP linux-server

2002-06-29 Thread Thomas 'Mike' Michlmayr
On Sat, Jun 29, 2002 at 10:03:29 -0400,
Michael J. Saletnik [EMAIL PROTECTED] wrote:
[...]
  * bootparams query for NFS path of mini-root
  * NFS mount of mini-root
 
 This step, however, would fail. Now, it may be version-specific, but
 the Solaris version that I had (7 or 8, I'm not sure) could not deal
 with out-of-order NFS packets, which the Linux server was sending (and
 presumably a Solaris NFS server would not). Tcpdump easily confirmed
 the scenario.

indeed. and even worse, when you patched the nfsd to only send packets
smaller than the MTU, it would break later on in the install where it
was expecting 8K packets and couldn't handle anything less.

i was told by SUN that this issue should be fixed in later releases of
8 and 9. though i have to admit i've never tried it myself, running
only debian/sparc at home and solaris at work.

 Of course, my Sparc Classic runs Debian so well, I never really looked
 back. :-)

same here. but then again, my [EF]4[58]00*s are running quite well with
solaris.

-- 
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
[EMAIL PROTECTED] |   lusers into representational shapes.



pgpFBYPBhYYFv.pgp
Description: PGP signature


Re: Solaris install through TFTP linux-server

2002-06-29 Thread Donald Gordon
On Sat, 29 Jun 2002 10:03:29 -0400
Michael J. Saletnik [EMAIL PROTECTED] wrote:

 On June 29, 2002 at 15:45, Thomas 'Mike' Michlmayr wrote:

  * bootparams query for NFS path of mini-root
  * NFS mount of mini-root
 
 This step, however, would fail. Now, it may be version-specific, but
 the Solaris version that I had (7 or 8, I'm not sure) could not deal
 with out-of-order NFS packets, which the Linux server was sending (and
 presumably a Solaris NFS server would not). Tcpdump easily confirmed
 the scenario.

Was that it?  I worked around the problem by NFS-mounting the mini-root
off a NetBSD box.  This worked with Solaris 2.6; I haven't tried it with
later versions.

 Of course, my Sparc Classic runs Debian so well, I never really looked
 back.

Wish I could say the same for my SS5/170 :(

don


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Solaris install through TFTP linux-server

2002-06-29 Thread Donald Gordon
On Sat, 29 Jun 2002 10:03:29 -0400
Michael J. Saletnik [EMAIL PROTECTED] wrote:

 On June 29, 2002 at 15:45, Thomas 'Mike' Michlmayr wrote:

  * bootparams query for NFS path of mini-root
  * NFS mount of mini-root
 
 This step, however, would fail. Now, it may be version-specific, but
 the Solaris version that I had (7 or 8, I'm not sure) could not deal
 with out-of-order NFS packets, which the Linux server was sending (and
 presumably a Solaris NFS server would not). Tcpdump easily confirmed
 the scenario.

Was that it?  I worked around the problem by NFS-mounting the mini-root
off a NetBSD box.  This worked with Solaris 2.6; I haven't tried it with
later versions.

 Of course, my Sparc Classic runs Debian so well, I never really looked
 back.

Wish I could say the same for my SS5/170 :(

don


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Solaris install through TFTP linux-server

2002-06-29 Thread Ian Burrell

Robert Ian Smit wrote:


I have been able to pick up a Sparcstation 4. In the long run I
intend to use it as a Linux server (or maybe on of the BSDs).



I am trying to install Solaris 8 on a Sparcstation 10 using a Red Hat 
Linux server. I got it finally to boot. Solaris 9 should be similar.



I can't burn images to cd, so I to mounted the ISO-files
from the harddrive with -o loop. Apart from a few scripts there is not
much I can see. Is my download corrupt or is it impossible to read
these images from Linux?



The Install CD seems to have a really small filesystem. The other two 
CDs are mountable under Linux and are the ones that are needed.



I have read some of the Solaris docs concerning Install servers. As
I understand it you need a Solaris system to create an Install
server. Is that correct? Is it not possible to boot the Sparcstation
and start the Solaris installation by using Linux as an Install
server?



There are scripts in the Tools directory for creating an install server 
on Solaris machines. It is possible to create the install server 
manually on a Linux machine. Doing a network boot is the same for all 
operating systems. You need rarpd to map ethernet addresses, tftp to 
load the boot loader, bootparams to send setup info, and nfs for the 
root filesystems and install products. There are some good web sites 
about setting this up.


For Solaris, you want to copy the Solaris_8/Tools/Boot directory from 
the CD to your hard disk, export it through NFS, and set the root in 
bootparams. I discovered that the no_root_squash option is required.


This is what my /etc/exports file looks like:

/pub 192.168.1.0/24(rw,no_root_squash,insecure)
/mnt/cdrom 192.168.1.0/24(ro,no_root_squash,insecure)

and /etc/bootparams:

balrog root=kraken:/pub/solaris/Solaris_8/Tools/Boot \
install=kraken:/mnt/cdrom/Solaris_8/Product \
rootopts=:rsize=32768 boottype=:in


 - Ian

--
Ian Burrell
[EMAIL PROTECTED]
http://www.znark.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]