Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network boot problems

Reply
Thread Tools Display Modes

Network boot problems

 
 
Ivaylo Riskov
Guest
Posts: n/a

 
      08-27-2003, 11:29 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:0BB: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

 
Reply With Quote
 
 
 
 
Bernie
Guest
Posts: n/a

 
      09-23-2003, 08:17 AM
Ivaylo Riskov <(E-Mail Removed)> wrote in message news:<bijf22$a0ngo$(E-Mail Removed)>...
> 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.


Some people spend ages on that problem before they notice, that the
kernel needs to be compiled for the client-cpu and not for the
server-cpu.

I was among them.

Check the cpu-type set in your kernel config.

Bernie
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat PXE boot problems billshaf@hotmail.com Linux Networking 0 08-02-2006 03:47 PM
DHCP and network Boot floppy IP problems Bruce D. Meyer Windows Networking 1 04-15-2005 08:37 PM
pxelinux - boot image size for ms-dos boot Rudi Langhanki Linux Networking 0 03-22-2005 01:38 PM
Problems with Belkin F5D6050u - not responding at boot David Haggett Linux Networking 0 01-12-2004 06:52 AM
Boot from EEPROM @ PCI-Card --> Boot from DHCPD/BOOTPD via Linux Daniel Schwager Linux Networking 3 07-06-2003 04:35 PM



1 2 3 4 5 6 7 8 9 10 11