Re: network booting
On Sat Mar 21, 2009 at 13:22:31 +0100, michal krajcirovic wrote:
> Appreciate any idea to solve, or even pay for some help (paypal, ...),
> but a lot of me to burn it and you do not know advice.
You don't say what part failed. In general you'll receive no
help unless you explain what you've tried, which part failed,
and what error messages you received.
The basic stuff, getting a PXE network setup for installation,
is described here:
http://www.debian-administration.org/articles/478
If you can get that part working then you're almost there, you
only have to use debootstrap/similar to create a filesystem
exported by NFS and then pass that via your PXE setup.
My PXE file contains this:
LABEL netboot
KERNEL netboot/vmlinuz-2.6.27.17
APPEND root=/dev/nfs initrd=netboot/initrd.img-2.6.27.17 nfsroot=192.168.1.10:/nfs/netboot ip=dhcp rw
The kernel I copied from my host system. The initrd I generated after
changing /etc/initramfs-tools/initramfs.conf to have "root = NFS" and
rebuilding it.
In terms of the actual NFS root I export it like this:
/nfs/netboot 192.168.1.0/24(rw,async,no_root_squash,insecure)
There's nothing special in the root, just a simple filesystem
with NFS root, and simple /etc/network/interfaces to default to
usign DHCP
Steve
--
Reply to: