AW: alternate DHCP 1067/1068 in Gusty

Anton Kaser antonkaser at gmx.net
Tue Nov 20 18:17:26 GMT 2007


No answer at all is also an answer...

in the meantime I found out, that mkelf-Linux doesnot exits anymore in
Gusty.
So I tried mkelfImage instead. that looked good in the beginning.
With
mkelfImage --output=/boot/nbi.img-2.6.22-14-386 vmlinuz-2.6.22-14-386
initrd.img-2.6.22-14-386

reply:
initrd.img-2.6.22-14-386 already exists

update-initramfs -u    seemed to be easier as it automatically goes with the
highest kernel number.

It looked good at the beginning. Booting on Ports 1067/1068 worked to the
2nd dhcp request.
But then it continued with the wrong ltsp-boot server settings.

It looked (tried) for a boot file in 192.168.2.1 (Windows server) but my
Edubuntu Server is on 192.168.2.11
So no client boot again!!

The /etc/ltsp/dhcpd.conf is set accordingly.

Or should I use the
 /opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp-nbd    instead  of
the nfs file???
but where shall I put it??

Some ideas???

ps:
I wanted to upgrade to Gusty as I hoped for faster Client boot.
The alternate dhcp Boot worked really great under Feisty and gave me a lot
of advantages.
With this setting I can plug in "my" Edubuntu Server in any existing Network
without any changes!

-----Ursprungliche Nachricht-----
Von: edubuntu-users-bounces at lists.ubuntu.com
[mailto:edubuntu-users-bounces at lists.ubuntu.com]Im Auftrag von Anton
Kaser
Gesendet: Dienstag, 13. November 2007 00:25
An: edubuntu-users at lists.ubuntu.com
Betreff: alternate DHCP 1067/1068 in Gusty


Hi,

I ran the Edubuntu System on an exitsting Windows Network. I used the
alternate DHCP-Ports for this and it worked great under Feisty. For
installing i wrote 3 little Scripts. But now, under Gusty mkelf-linux
doesnot work anymore and so the 2nd DHCP request doesnot work on the
clients. The Client starts to boot and stops when the Network card waits for
the IP-Adress for the 2nd time.

- Any Idea why mkelf doesnot work anymore?? I chanched the Kernel nummber to
2.6.22-14-386

Here the 3 scripts in a row.

# Find the line:  #bring up device
# add  -p 1068 after ipconfig in the next 8 lines ( 3 times)
#       ipconfig -p 1068 ...

gedit /opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs

echo "copy"

cp /opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs
/opt/ltsp/i386/initrd/nfs

echo "mkinitramfs"

mkinitramfs -o /opt/ltsp/i386/initrd/nfs

# now the 2nd script will be copied into chroot environment

cp 2nd-dhcp-2.sh /opt/ltsp/i386/2nd-dhcp-2.sh

echo "chroot /opt/ltsp/i386/"

echo

echo "please type:   ./2nd-dhcp-2.sh"

chroot /opt/ltsp/i386/

# the 2nd script:

update-initramfs -c -k 2.6.20-15-386

#echo "cd /boot"
cd /boot
#echo "mkelf-linux"

# +++++++++++ the following doesnot work anymore:
mkelf-linux --output=/boot/nbi.img-2.6.20-15-386 vmlinuz-2.6.20-15-386
initrd.img-2.6.20-15-386

echo "type exit"

# the 3rd script:

cd /var/lib/tftpboot/ltsp/i386/

cp /opt/ltsp/i386/boot/initrd.img-2.6.20-15-386 initrd.img-2.6.20-15-386

cp /opt/ltsp/i386/boot/nbi.img-2.6.20-15-386 nbi.img-2.6.20-15-386

cp /opt/ltsp/i386/boot/initrd.img initrd.img

cp /opt/ltsp/i386/boot/nbi.img nbi.img


--
edubuntu-users mailing list
edubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users




More information about the edubuntu-users mailing list