Hi robasc,
I got this problem too. Are you using an initramfs? I think I fixed it by changing my initramfs.conf file (which I think is in
/etc/initramfs-tools/).
Make sure initramfs-tools is installed
Code:
sudo apt-get install initramfs-tools
Copy /etc/initramfs-tools/initramfs.conf to a backup file
Code:
sudo cp /etc/initramfs-tools/initramfs.conf{,.old}
Edit /etc/initramfs-tools/initramfs.conf change the line BOOT=local to BOOT=nfs
Copy your current initramfs to a backup. Replace "<kernelversion>" with your kernel version in the form 2.6.xx-something (if
you don't know what it is and your using your running kernel just replace it with "$(uname -r)" without quotes)
Code:
sudo cp /boot/initrd.img-<kernel-version>{,.old}
If that fails I recommend against continuing.
We're going to overwrite /srv/tftp/initrd.img (if it exists). So move it to a backup file
Code:
sudo mv /srv/tftp/initrd.img{,.old}
Then I remade my initramfs (making sure not to overwrite the initramfs I was using). Replace "<kernelversion>" with your
kernel version in the form vmlinuz-2.6.xx-something (if you don't know what it is and your using your running kernel just
replace it with "vmlinuz-$(uname -r)" without quotes (notice the "vmlinuz-" this time))
Code:
sudo mkinitramfs -o /srv/tftp/initrd.img <kernel-version>
Change /srv/tftp/pxelinux.cfg/default to accept the new initrd now called "initrd.img"
Then copy the old initramfs.conf back to the old name
Code:
sudo cp /etc/initramfs-tools/initramfs.conf{.old,}
I found this idea from a post on
http://www.howtoforge.com/pxe_booting_debian .
Good luck
Bookmarks