[Pkg-ltsp-devel] Bug#428446: Bug#428446: /usr/lib/ltsp/update-kernels?wipes modified /opt/ltsp/i386/boot/pxelinux.cfg/default

vagrant at freegeek.org vagrant at freegeek.org
Wed Jun 13 20:55:40 UTC 2007


serverity 428446 wishlist
thanks

On Tue, Jun 12, 2007 at 01:29:35PM +0200, Jan Wagner wrote:
> On Tuesday 12 June 2007 13:21, Oliver Grawert wrote:
> > nfsroot isnt needed for anyone else on debian or ubuntu, why did you
> > need it seems your dhcp setup is broken or you run two dhcp servers in
> > the same network segment or so.
> 
> I've one dhcp server, but making addition options available via config file 
> should be not tricky and it benefits much.
> 
> > overriding ltsp-update-kernel defaults should happen in its config file,
> > not in the code ;) see /etc/ltsp/ltsp-update-kernels.conf
> 
> # locate ltsp-update-kernels.conf
> #
> 
> Can't find this file neither on the hostsystem nor in the ltsp chroot.

yes, /etc/ltsp/ltsp-update-kernels.conf is not created by default. in
it, you can include things like:

export BOOTPROMPT_OPTS="root=/dev/nfs ip=dhcp nfsroot=/opt/ltsp/i386"

this should then behave the way you would like- simply re-running
ltsp-update-kernels will then add whatever options you specify.


another option is to configure dhcp to point to a different pxelinux
menu, like so:

    filename "/pxelinux.0";

copy a pxelinux.0 to /var/lib/tftpboot/ , and configure
/var/lib/tftpboot/pxelinux.cfg/default however you want:

DEFAULT /ltsp/i386/vmlinuz ro initrd=/ltsp/i386/initrd.img root=/dev/nfs ip=dhcp nfsroot=/opt/ltsp/i386

this will also allow you to specify other boot menu entries, such as
allowing for a debian-installer netboot images or FAI or whatever you
want.


i would like to create more flexible menu generation in the future, and
briefly discussed it with other LTSP folks at the ubuntu developer
summit a few weeks ago:

 https://wiki.ubuntu.com/NetworkBootMenu


downgraded the severity of this bug- hope some of these ideas work for
you.

thanks for reporting the issue. it's been on my mental TODO list for a
while now.

live well,
  vagrant




More information about the Pkg-ltsp-devel mailing list