[syslinux] tftp and symlinks

Carl Karsten carl at personnelware.com
Sat Jun 11 09:35:19 PDT 2005


Here is what I had:

root at shaz:/var/lib/tftpboot # ls -l
total 1680

lrwxrwxrwx  1 root root      71 2005-06-11 11:17 pxelinux.0 -> 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/pxelinux.0
dr-xr-xr-x  2 root root    4096 2005-06-11 11:21 pxelinux.cfg
drwxr-xr-x  2 root root    4096 2005-06-11 11:20 ubuntu-breezy

and I got "File not found" kind of error on pxeboot - so I did:

root at shaz:/var/lib/tftpboot # rm pxelinux.0
root at shaz:/var/lib/tftpboot # cp 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/pxelinux.0 .

and got my boot: prmpt, but then got "ubuntu-breezy/linux not found", so same fix:

root at shaz:/var/lib/tftpboot/ubuntu-breezy # ls -l
total 8
lrwxrwxrwx  1 root root 70 2005-06-11 11:20 initrd.gz -> 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/initrd.gz
lrwxrwxrwx  1 root root 66 2005-06-11 11:20 linux -> 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/linux

root at shaz:/var/lib/tftpboot/ubuntu-breezy # rm linux
root at shaz:/var/lib/tftpboot/ubuntu-breezy # cp 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/linux .

root at shaz:/var/lib/tftpboot/ubuntu-breezy # ls -l
total 1172
lrwxrwxrwx  1 root root      70 2005-06-11 11:20 initrd.gz -> /var/www/ubuntu-br

And a 3rd time for initrd.gz:

root at shaz:/var/lib/tftpboot/ubuntu-breezy # ls -l
total 1172
lrwxrwxrwx  1 root root      70 2005-06-11 11:20 initrd.gz -> 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/initrd.gz
-r--r--r--  1 root root 1188342 2005-06-11 11:25 linux

root at shaz:/var/lib/tftpboot/ubuntu-breezy # rm initrd.gz
root at shaz:/var/lib/tftpboot/ubuntu-breezy # cp 
/var/www/ubuntu-breezy/install/netboot/ubuntu-installer/i386/initrd.gz .

It might be worth noting that /var/www/ubuntu-breezy is a CD image:
root at shaz:/var/lib/tftpboot/ubuntu-breezy # mount
/var/www/breezy-install-i386.iso on /var/www/ubuntu-breezy type iso9660 
(ro,loop=/dev/loop1)

The goal is to be able to umount/update/mount the image file and not have to cp 
the files all over the place. Is there soemthing I can to to make this posible?

Carl K




More information about the Syslinux mailing list