[syslinux] tftp and symlinks

Osvaldo Marques Junior osvaldo at dis-rj.com.br
Sat Jun 11 12:08:42 PDT 2005


Hi Carl,

tftp runs on a jail on its directory. Any link to an outside path is not 
followed. Hence the "not found". I'm not sure but I  think you can meet 
your goal mounting your CD/ISO under the tftpboot directory.

Osvaldo.

Carl Karsten escreveu:

> 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
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>




More information about the Syslinux mailing list