Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 16:27:15 +0400
From:      Igor Roboul <igor@raduga.dyndns.org>
To:        Paul Jansen <vlaero@yahoo.com.au>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Diskless boot, NFS etc.
Message-ID:  <20000928162715.B32613@linux.rainbow>
In-Reply-To: <20000928112515.25981.qmail@web5101.mail.yahoo.com>; from vlaero@yahoo.com.au on Thu, Sep 28, 2000 at 10:25:15PM %2B1100
References:  <20000928112515.25981.qmail@web5101.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 28, 2000 at 10:25:15PM +1100, Paul Jansen wrote:
> Igor,
> 
> I have no good news for you sorry.  I am havin exactly
> the same problem as you.  I don't know what files need
> to be exported in the rootfs for the diskless machine.
>  All I have in there at the moment is just /sbin/init.
> Maybe /sbin/init is actually running and we don't have
> one of it's dependencies available?
> 
> Can you let me know if you find a solution?
I think I FOUND solution. What is your server and your diskless?
Problem is that P6 optimized init does not work on K6 :-(
Also if you wish use etherboot, you need copy your kernel into 
/tftpboot 
I have tested this. I don't have yet working config, but I simple
copied kernel to /tftpboot and made "init" like this:
main() { reboot(0); } 
I my diskless now constantly reboots!!! :-) That is very good.
I made 2 mistakes during testing: puts, write etc. does not work in 
"init" even statically linked, because my libs was for P6. And I have 
K6-2 diskless. Now I'm rebuilding world for i386. Then I'll install it 
into /usr/local/Diskless and I hope I'll have working config :-)

-- 
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", 
Sochi, Russia
http://www.brainbench.com/transcript.jsp?pid=304744


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000928162715.B32613>