[syslinux] tftp and symlinks

Geert Stappers stappers at stappers.nl
Mon Jun 13 02:32:45 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Jun 11, 2005 at 02:18:45PM -0500, Carl Karsten wrote:
> Osvaldo Marques Junior wrote:
> >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
> >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.
> >
> >>
> Good idea.  I'll give it a shot in the next day or so and let you know how 
> it goes.
> 
> Carl K


If it really has to go to the mailinglist,
then please allow people to read it from top to bottom in the logical
sequence.


Cheers
Geert Stappers
- -- 
Please reply below the text.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCrVK9OSINbgwa/7sRAjFYAJ9HrcsnPUzMn7f7rvujsr69PX37XwCgj4BU
c7pXlIMdbLCWZGzcnWcKuVI=
=QLfK
-----END PGP SIGNATURE-----




More information about the Syslinux mailing list