Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In relation to dist-upgrade of diskless ubuntu.

I have upgraded my diskless image to 12.04. I've updated the the default file in my tftpboot server, but whenever i boot the server, it comes with the error message "Could not find kernel image: precise/vmlinuz

I did try to cp the files into the /var/lib/tftboot/precise/ folder, and got it booting, but would really like for the symlinks to work. What am i doing wrong?

/var/lib/tftpboot/precise/default:

LABEL precise

KERNEL precise/vmlinuz

APPEND root=/dev/nfs initrd=precise/initrd.img ip=dhcp >nfsroot=192.168.2.3:/q/system/precise ro pci=noacpi ipv6.disable=1 panic=10

symlink is made with the following command: sudo ln -s /q/system/precise/vmlinuz

Same is done for initrd.img

EDIT: The problem was resolved after creating a new debootstrap image to boot from.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I understand from a comment in another question that you had a file permission error that prevented reading the files. You're now having issues with your nfs mount.

Can you please update this question regarding the permissions and your new NFS problem. I'll need the contents of the relevant pxelinux.cfg file, /etc/exports and the output of showmount -e.

share|improve this answer
    
Hi Johnf. I got it working. I ended up having some really wired issues, about not beeing able to connect to the Dbus, so i ended up making a new debootstrap, in accordance with this guide: help.ubuntu.com/community/DisklessUbuntuHowto and it seems to be working now. Thank you for all the help. –  ChosSimbaOne Nov 7 '12 at 8:17

Just in case anyone faces the same problem. I had the same problem, but the problem was that I didn't have the correct permissions. Use following command for your folder to get it to work.

sudo chmod -R 777 /tftpboot
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.