Hi all,

As a post-hackfest followup, I just got LTSP5 on Gentoo running on my 
laptop tonight and wanted to share the excitement: 
http://dev.gentoo.org/~dberkholz/ltsp/ltsp-1.png.

It gets as far as logging in and showing a nice empty X screen, but it 
doesn't actually have a non-twm window manager installed yet so that's 
as far as it goes.

The final trick with our kernel builder was not specifying an ip= boot 
parameter in pxelinux at all, because that deactivated busybox's DHCP 
client from running at all, even if the kernel DHCP client didn't 
succeed.

For the sake of documenting my additional setup so we can clean it up 
later, here it is. The network was set up on virtualbox. The server had 
eth0 NAT and eth1 internal network, and the client had eth0 internal 
network. Setup on server:

1 -- dnsmasq.conf for providing DNS, DHCP & TFTP. Apparently dnsmasq 
allows for installing/including additional configs in subdirectories, so 
we can look into that. File contents:

    interface=eth1

    # Enable dnsmasq's built-in TFTP server
    enable-tftp

    # Set the root directory for files availble via FTP.
    tftp-root=/opt/ltsp/tftproot

    # nfs rootpath option
    dhcp-option=17,/opt/ltsp/x86

    # define common netboot types
    dhcp-vendorclass=etherboot,Etherboot
    dhcp-vendorclass=pxe,PXEClient

    # Set the boot filename for BOOTP.
    dhcp-boot=net:pxe,/opt/ltsp/tftproot/x86/pxelinux.0
    dhcp-boot=net:etherboot,/opt/ltsp/tftproot/x86/nbi.img

2 -- install syslinux, symlink pxelinux.0 into /opt/ltsp/tftproot/x86
3 -- symlink /opt/ltsp/x86/boot to /opt/ltsp/tftproot/x86/pxe
    symlink kernel-xxxxxxxxxxxxxx to kernel
    symlink initramfs-xxxxxxxxxxx to initramfs
4 -- /opt/ltsp/tftproot/x86/pxelinux.cfg/default
    Make sure you DON'T have ip=dhcp, as this causes genkernel's
    initramfs to not run udhcpc. This is the parameter used for the
    kernel's internal DHCP client. Contents of default:

    default linux.pxe

    label linux.pxe
        kernel pxe/kernel
        append initrd=pxe/initramfs root=/dev/nfs 
nfsroot=192.168.0.1:/opt/ltsp/x86/
5 -- it boots, but fails on initramfs
    needs networking support in the initramfs
        pcnet32 in this case (virtualbox/vmware). In chroot:
            edit /usr/share/genkernel/x86/modules_load and add pcnet32
            genkernel initrd


-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com

Attachment: pgp46y8YsKV4c.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to