Subject: Re: cobalt qube: install without cable
To: None <port-cobalt@netbsd.org>
From: Shaun Jurrens <sjurrens@no.tiscali.com>
List: port-cobalt
Date: 10/08/2001 00:11:22
On Sun, Oct 07, 2001 at 05:45:59PM +1300, Matthew Luckie wrote:
#> > I'm glad this seems to be helping people out. Please let me know if the
#> > directions are accurate. Unfortunately, I wrote them afterwards, and
#> > there was so much trial and error I'm not sure if I left something out.
#> > If anything breaks, holler.
#>
#> i am trying to get a qube2 to netboot off my freebsd nfs server, which is
#> running FreeBSD 4.4-RC.
#> i am unable to get the qube2 to seemingly boot far enough for me to be able
#> to telnet into it.
#>
#> this is my setup.
#> i have a system with two hard disks. the second hard disk has been mounted
#> to /nfsroot
#> my kernel does not have nfs compiled in, nor does it start nfsd at boot.
#> i have a shell script that i manually execute that has the following
#> contents:
#>
#> #!/bin/sh
#> portmap
#> nfsd -u -t -n 4
#> mountd -r #-2r -d -l
guess I'd just add these to your rc.conf on the fbsd box to save
time.
#>
#> ========
#>
#> my /usr/local/etc/dhcpd.conf has the following:
#>
#> default-lease-time 6000;
#> max-lease-time 7200;
#> option subnet-mask 255.255.255.0;
#> option broadcast-address 192.168.0.255;
#> option routers 192.168.0.1;
#> option domain-name-servers 192.168.0.1;
#> option domain-name "fake.org.nz";
#>
#> subnet 192.168.0.0 netmask 255.255.255.0 {
#> range 192.168.0.10 192.168.0.20;
#> }
#>
#> host qube {
#> hardware ethernet 0:10:e0:0:be:62;
#> fixed-address 192.168.0.66;
#> filename "/vmlinux.gz";
#> option root-path "/nfsroot";
#> }
looks ok
#>
#> =========
#>
#> my /etc/exports has the following:
#>
#> /nfsroot -maproot=root 192.168.0.66 192.168.0.1
#>
I've used '-maproot=0', but yours should work
#> =========
#>
I can't comment on the other parts of the setup, not sure if you
need extra fstab entries.
#>
#> ===========
#>
I'd suggest you run dhcpd with the -d option so you can better see
what's happening on the bootp level.
#>
#> i found that there were some stray symlinks in the /nfsroot that the tgz's
#> had pointing relative to root, so i re-symlinked them to their netbsd
#> counterparts (after failing to netboot the qube) although that didnt fix
#> anything:
#>
My experiences from netbooting in general aren't too good with
symlinking out of the mounted root. I'd suggest you copy the things
you need into your /nfsroot.
#> cd /nfsroot; ls -l | grep lr
#> lrwxr-xr-x 1 root wheel 20 Oct 7 15:48 rmail ->
#> ../usr/libexec/rmail
#> lrwxr-xr-x 1 root wheel 14 Oct 7 15:56 log -> ../var/run/log
#> lrwxr-xr-x 1 root wheel 32 Oct 7 15:55 localtime ->
#> ../usr/share/zoneinfo/US/Pacific
#> lrwxr-xr-x 1 root wheel 15 Oct 7 15:54 rmt -> ../usr/sbin/rmt
#>
#> rmt and localtime are in /nfsroot/etc
#> log is in /nfsroot/dev
#> rmail is in /nfsroot/bin
#>
#> I've never admin'd nfsd before, so i do not know how to find out what files
#> it cannot actually find.
#> i looked in /var/log/messages but there wasn't anything there.
verbose dhcpd (as above) and tcpdump (or similar tool).
.oO(now I just need to work on getting my raq2's to boot again)
--
Med vennlig hilsen / Best Regards
Shaun Jurrens (System Administrator)
Tiscali-World Online Norge
Postboks 598, Skøyen
N-0214 Oslo - Norway
Tel. (+47) 24 11 24 00 - Fax (+47) 24 11 24 49