VDR netboot image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I used gentoo, the boot rom will request a kernel from a tftp server, 
> and send it to the client, and boot the kernel, so you have to spin up a 
> kernel for that client, you can use the diskless nodes howto at gentoo 
> wiki to get a better idea.

I'm using NFS boot and not tftp. After building the kernel with NFS boot
enabled, I do

mkelf-linux --rootdir=/path-to-nfs-root-on-server,nfsvers=3,tcp --ip=dhcp vmlinuz > vmlinuz.nbi

This creates a kernel file bootable by etherboots NFS support. The boot
ROM image must have NFS boot enabled. So booting the client requests IP
address and boot image name from the DHCP server and gets the kernel
using NFS. I use the following dhcpd.conf section for the client:

host the-client-host-name {
  hardware ethernet 00:10:5a:5a:08:be;
  fixed-address 192.168.0.2;
  filename "/boot/vmlinuz.nbi";
  server-name "my-server-name";
  option routers 192.168.0.1;
}

A note for gentoo users: Some months ago I was not able to boot this way
because of a dhcpd >= 3.0.3. Downgrading to 3.0.1 has reanimated the thing.
May be the problem is fixed now.

Have fun,
Bernd
-- 
while(!asleep())
  sheep++;


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux