Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 13:13:49 +0000
From:      Kaya Saman <kayasaman@gmail.com>
To:        Florian Smeets <flo@smeets.im>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: Net Booting FreeBSD
Message-ID:  <50B0C80D.80206@gmail.com>
In-Reply-To: <50B08BE5.2020106@smeets.im>
References:  <50B00D10.10201@gmail.com> <50B08BE5.2020106@smeets.im>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/24/2012 08:57 AM, Florian Smeets wrote:
> On 24.11.12 00:56, Kaya Saman wrote:
>> Hi,
>>
>> I've been through the Handbook and Google however, it seems that there
>> isn't anywhere that has a guide to net boot FreeBSD on Sun SPARC systems.
>>
> In the past i have used this guide
>
> http://www.freebsd.org/fr/relnotes/CURRENT/installation/sparc64/index.html
>
> And the suggestion to use tcpdump has proven invaluable to me numerous
> times to get net booting working.
>
> Florian

Thanks Florian.

I am now able to get much further, turns out SElinux was blocking things 
in my boot server.

The current point that I'm at is that the system loads the bootloader 
but can't find the kernel?

Rebooting with command: boot net
Boot device: /pci@1f,700000/network@2  File and args:
100 Mbps full duplex  Link up
Requesting Internet Address for 0:14:4f:5d:1e:7e
Requesting Internet Address for 0:14:4f:5d:1e:7e
Requesting Internet Address for 0:14:4f:5d:1e:7e
Requesting Internet Address for 0:14:4f:5d:1e:7e
Consoles: Open Firmware console

Booting with sun4u support.

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root@araz.cse.buffalo.edu, Mon Apr  9 23:14:08 UTC 2012)
bootpath="/pci@1f,700000/network@2"
boot: ethernet address: 00:14:4f:5d:1e:7e
100 Mbps full duplex  Link up
\


In addition to your link I also managed to find this:

http://freebsd.1045724.n5.nabble.com/Is-it-easy-to-netboot-sun-fire-V210-using-only-sparc64-iso-image-and-intel-host-td4163227.html

same box :-)

The suggestion was to add this to the bootparamd:

.default:\
:bf="kernel":dn=local:ds=10.0.0.1:\
:gw=10.0.0.1:ht=ether:hd="/tftpboot/boot/kernel":hn:\
:rp="10.0.0.10:/usr/un/freebsd":\
:sm=255.255.255.0

x1:ht=1:ha=0003ba0fd5ef:tc=.default:ip=10.0.0.21:


Out of which I edited to my own needs:


.default:\
:bf="kernel":dn=local:ds=192.168.1.100:\
:gw=192.168.1.1:ht=ether:hd="/tftpboot/boot/kernel":hn:\
:rp="192.168.1.53:/iso/8.3-RELEASE":\
:sm=255.255.255.0

starburst:ht=1:ha=00144f5d1e7e:tc=.default:ip=192.168.1.116:


The kernel is there:


# ls /tftpboot/boot/
boot1     device.hints  kernel   loader      loader.conf  loader.rc 
modules      zfs
defaults  firmware      kernels  loader.4th  loader.help  mfsroot 
support.4th


So I'm really stuck now :-(

How do I get the system to load the kernel?


Regards,


Kaya



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