[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

correct boot options for LTSP lenny



On Mon, Nov 17, 2008 at 06:23:24PM +0200, Oded Naveh wrote:
> > From: Vagrant Cascadian on Sunday, November 16, 2008 7:22 PM
> > seems like you've got an outdated 
> > /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default ...
> > 
> > should contain "boot=nfs", if it doesn't, it'll fall back to 
> > the NBD related hooks, which are not default on Debian.
> 	Indeed "boot=nfs" is missing at
> /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
...snip... 
> I've got neither,
> I have /opt/ltsp/i386/etc/ltsp/update-kernels.conf (added boot=nfs to
> BOOTPROMPT_OPTS)
> I haven't got /opt/ltsp/i386 /usr/lib/ltsp/update-kernels (no such file or
> directory)
> But I have  /opt/ltsp/i386/usr/share/ltsp/update-kernels (Shell script)

ah, yes, sorry for the typo's.

> So I tried:
> 	chroot /opt/ltsp/i386
> 	/usr/share/ltsp/update-kernels
>
> Still didn't pull the trick.

you still need to run ltsp-update-kernels after that, to get the tftpboot
directory populated server side. so the complete instructions:

  # step 1: ensure boot=nfs in BOOTPROMPT_OPTS
  # for example: BOOTPROMPT_OPTS="quiet splash boot=nfs"
  $EDITOR /opt/ltsp/i386/etc/ltsp/update-kernels.conf

  # step 2: run update-kernels script in the chroot
  chroot /opt/ltsp/i386 /usr/share/ltsp/update-kernels

  # step 3: run ltsp-update-kernels on the server
  ltsp-update-kernels

> I created /etc/ltsp/ltsp-update-kernels.conf then ran:
> 	ltsp-update-kernels
> That had put the boot=nfs option in
> /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default

that's because of the previous step you took, but you shouldn't need to edit
/etc/ltsp/ltsp-update-kernels.conf. i should have mentioned that that's
deprecated, as you can have multiple LTSP chroots on a single server, possibly
different architectures, each with different boot options- so a single source
for those options is a bad idea. it also may not even work correctly anymore.

live well,
  vagrant

p.s. please do not CC me, just send to the list. thanks!


Reply to: