Ivaylo Riskov
07-24-2004, 09:01 PM
Hi!
I'm having problems with network booting Linux on my Dell Inspiron 1100
Laptop. I am using DHCP+TFTP to boot it.
What I do is the following:
1. I compile a kernel image
2. use:
mknbi-linux bzImage --output=/tftpboot/tftpboot.img --rootdir=/nfsboot
3. Set up /etc/dhcpd.conf as follows:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
}
host laptop {
hardware ethernet 00:0B:DB:9B:24:C4;
fixed-address 192.168.1.2;
filename "/tftpboot/tftpboot.img";
}
4. run dchpd as root on the server, running linux
5. run:
in.tftpd -l
for the TFTP deamon
6. Start the target PC
My problem is that when the DHCP gets the IP from the server, TFTP loads the
kernel, the kernel won't start i.e. there are no messages, whatsoever
indicating that the kernel is running and therefore the machine hangs.
I used tcpdump to see that a TFTP request have been made and packets from
the server to the client have been sent, whose size matched that of the
kernel image.
I have tested the kernel image and it works.
Can somebody help me?
Thanks!
--
Ivaylo Riskov
I'm having problems with network booting Linux on my Dell Inspiron 1100
Laptop. I am using DHCP+TFTP to boot it.
What I do is the following:
1. I compile a kernel image
2. use:
mknbi-linux bzImage --output=/tftpboot/tftpboot.img --rootdir=/nfsboot
3. Set up /etc/dhcpd.conf as follows:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.10;
}
host laptop {
hardware ethernet 00:0B:DB:9B:24:C4;
fixed-address 192.168.1.2;
filename "/tftpboot/tftpboot.img";
}
4. run dchpd as root on the server, running linux
5. run:
in.tftpd -l
for the TFTP deamon
6. Start the target PC
My problem is that when the DHCP gets the IP from the server, TFTP loads the
kernel, the kernel won't start i.e. there are no messages, whatsoever
indicating that the kernel is running and therefore the machine hangs.
I used tcpdump to see that a TFTP request have been made and packets from
the server to the client have been sent, whose size matched that of the
kernel image.
I have tested the kernel image and it works.
Can somebody help me?
Thanks!
--
Ivaylo Riskov