Gareth Ansell <(E-Mail Removed)> wrote:
> We currently operate a PC cloning system, in which a host PC is booted
> from a floppy containing a Linux kernel with NFS, NFSRoot and kernel
> autoconfiguration (bootp) built in. This mounts a remote partition on our
> image server, and then runs a script which creates the filesystem and
> pulls the files across etc.
Have you ever looked at SystemImager?
Running off floppies is both slow and prone to failure. I would suggest
you go to
www.rom-o-matic.net and get yourself a ROM image for the
NIC(s) you are using. This will boot _much_ faster, but you will need to
set up the whole network-booting thing (which is actually easier and
less trouble-prone than the way you're currently doing it.)
You just need a kernel and a root fs in an initrd, then use mknbi-linux
to create a tagged image which has both of these in it, stick it in
/tftpboot/ and configure your clients via DHCP. Here's an extract from
a system I run. (I run with a lot of netbooting in my network, both with
SystemImager (and another custom solution I made before I discovered
SystemImager, and LTSP, and options for local booting as well.)
----------- partial dhcpd.conf -------------
option etherboot-magic code 128 = string;
option nic-settings code 129 = text;
option menu-options code 160 = text;
option menu-entry-1 code 192 = text;
option menu-entry-2 code 193 = text;
option menu-entry-3 code 194 = text;
option menu-entry-4 code 195 = text;
option menu-entry-5 code 196 = text;
subnet 192.168.1.0 netmask 255.255.255.0 {
authoritative;
option domain-name "localdomain";
option domain-name-servers 192.168.1.1;
option subnet-mask 255.255.255.0;
option log-servers 192.168.1.10;
use-host-decl-names on;
filename "/tftpboot/systemimager.nb";
next-server medussa.xterms;
host manuka.localdomain {
hardware ethernet 00:20:ed:1a:a4:af;
fixed-address manuka.localdomain;
}
}
subnet 192.168.3.0 netmask 255.255.255.0 {
option domain-name "xterms";
option domain-name-servers crosstalk.localdomain;
option routers medussa.xterms;
authoritative;
group {
filename "/tftpboot/lts/vmlinuz-2.4.9-ltsp-5";
next-server medussa.xterms;
use-host-decl-names on;
option root-path "192.168.3.1:/opt/ltsp/i386";
option log-servers 192.168.3.1;
option etherboot-magic e4:45:74:68:00:00;
option menu-options "timeout=30";
option menu-entry-1 "X-Terminal:::-:::";
option menu-entry-2 "First Hard Disk:::/dev/hda:::";
option menu-entry-3 "Install Slackware Linux 8.1:::slack81inst.nb:::";
option menu-entry-5 "System Imager:::systemimager.nb:::";
host xterm001 {
hardware ethernet 00:06:4F:01:94:26;
fixed-address xterm001.xterms;
}
}
---------- end partial dhcpd.conf -----------
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!