Contributed by jose on from the diskless-workstations dept.
"I run a webhosting company that uses OpenBSD almost exclusively.I've seen this for architectures that aren't i386, and I know its almost possible with just a floppy (maybe, but it would be tight, probably). Anyone have a recipe and some notes?What I want to do is to boot all my OpenBSD systems off a central server, mounting everything via NFS. I have tried to figure out how to do this, but all the docs are for Sparc/Alpha/HPPA, with no info on how to do this for x86.
Do you have any pointers on how to do this?"
(Comments are closed)
By RC () on
Comments
By dt23507 () on
Comments
By RC () on
You get the PXE boot image for your NIC, and either write it to an [E]EPROM (which you then stick into your NIC) or you write it to a floppy disk, and boot with that floppy. (The latter is a good solution for testing).
To get an PXE image, you can visit rom-o-matic
http://www.rom-o-matic.net/5.0.8/
I presume everything else will work the same.
Comments
By Shane J Pearson () on
Then "boot from LAN".
It works great on my AOpen AX6B with D-Link DFE-500TX Tulip based 10/100 NIC. I haven't tried net booting OpenBSD with it though.
Comments
By RC () on
Saying you haven't tried OpenBSD with PXE is like saying you haven't tried OpenBSD on your new hard drive...
Comments
By MotleyFool () motleyfool@dawgstar.org on mailto:motleyfool@dawgstar.org
on PXE booting OpenBSD when they had not tried it
before. Sure it's not hard to set it up IF you
figure out a way to get the kernel to load, but
that's a big IF.
Yes you can do it with pxegrub, but there is NO
native support for booting the OpenBSD kernel via
PXE. [Free|Net]BSD both have support for PXE on
i386 platforms. It's just not a high enough
priority for the OpenBSD developers.
Comments
By RC () on
How difficult can it be to fetch and load a kernel image? And why would you even need grub?
Comments
By Thoren () ghz@gbis.com on mailto:ghz@gbis.com
architectures can just stuff the entire kerenl into memory and go from there.
Comments
By se () se@arsplus.ru on mailto:se@arsplus.ru
Comments
By megan () orangechoc@yahoo.com on mailto:orangechoc@yahoo.com
I can network boot OpenBSD using the pxegrub loader, but not with root over NFS. How did you get this going with FreeBSD 4.4??
By zeshan () malikshani2000@yahoo.es on no
By Janne Johansson () on
Booting from net or cdrom is done by faking a floppy
drive, getting a 1.44MB image and calling it A:
and then booting that one.
Knowing that, you soon realise why netbooting
becomes an issue. Other platforms can load kernels
several MB large and run them, meaning that not only
can they contain all drivers (like GENERIC) but also
an included ramdisk that does real stuff.
1.44MB buys you only whats on the install floppies,
which is far less than I'd like for a rescue disk,
let alone complete netbooting.
Comments
By zil0g () on
I netbooted an old pc some time ago, with floppy - not pxe, roll out a stripped down kernel, strip and gzip it, think I got it down to some ~600k
=)
Comments
By Anonymous Coward () on
Nah, jokes aside. Yes, some stripped kernels can
be used in less than 1.44M, but I don't want to
have to choose. I'd like NFS to be there, audio
support in the kernel and possibility to export
SMB shares or whatever. Not stripped down to unusability.
And 1.44M is that small, to me.
By schubert () on
Comments
By mirabile () on
(I still want a dual Opteron laptop)
By Anonymous Peon () on
...Google for "Ethernet boot ROMs" ...
...Some systems (Compaq Deskpros come to mind) include netbooting as a BIOS feature for their onboard NICs.
Just remember that the ROMs tend to be NIC-specific...
By Hjorten () on
This is hunting a lot of people trying to PXE-boot their small embedded systems.. At some point someone patched PXEGrub (etherboot just doesn't work with OBSD) to do this on OpenBSD, but the patch asn't been maintained (AFAIK).
But both NetBSD and FreeBSD can do it, though.
Check this great resources(!): http://www.munts.com/diskless/netboot.pdf
and
Cedric Berger's old patch for PXEGrub:
http://www.enteract.com/~hal/obsd-grub/
I always use Intel's EtherExpress (fxp) netcards. They have PXE per default and are great.
Hope you get the success must others seem not to have gotten at this.
By Anonymous Coward () on
:-)
For some related material on running diskless client (yes its on linux) check out ltsp.org
By Anonymous Coward () on
I've made EtherBoot boot just about anything at one time or another. You can find EtherBoot at
http://etherboot.sourceforge.net/
IIRC.
EtherBoot can also boot Linux or even MS-DOS!