Net Booting FreeBSD

Kaya Saman kayasaman at gmail.com
Sat Nov 24 13:13:54 UTC 2012


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 at 1f,700000/network at 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 at araz.cse.buffalo.edu, Mon Apr  9 23:14:08 UTC 2012)
bootpath="/pci at 1f,700000/network at 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


More information about the freebsd-sparc64 mailing list