Wednesday, June 16, 2010

Install Lucid Edubuntu from DVD but via netboot

I need to install Edubuntu Lucid on a server that doesn't have a DVD drive and the Edubuntu disk only comes on DVD... Enter alkisg scripts...  Here, for safe keeping, is a copy of an e-mail he sent to the usergroup explaining how to do it:

Alkis G

 to edubuntu-devel, edubuntu-discu.
show details 12/27/09

Στις 23-12-2009, ημέρα Τετ, και ώρα 22:44 +0200, ο/η Jonathan C έγραψε:
> * alkisg: perhaps the liveDVD could be configured to install remote
> systems via netboot. This may need some further investigation. At the
> worst, a wiki page on how to configure it manually would be good. A
> script could be included to simplify things.

I found this wiki page which describes how to do it:

I made a script which hopefully completely automates the process.

To make the method more suitable for a live environment, I changed it to
use dnsmasq-base, which is already included on the live Ubuntu CD, and
which has the additional benefit that it can function as a proxyDHCP
...and whose tftp server works with symlinks, saving space/RAM.

So, the steps to netboot the client(s):
1) Boot a "server" with the live Karmic/Lucid desktop (ed)Ubuntu CD,
2) Run this command on the live session:
 wget ';topic=2525.0;attach=1421' -O /tmp/livecd-netboot && sudo sh /tmp/livecd-netboot
3) Then power on the clients and select "Boot from network", they should
boot off of the live CD that is published via NFS.

Internet connectivity is needed on the "server", because the script
temporarily installs nfs-kernel-server.
Also, make sure that you have an *external* DHCP server in the local
network (e.g. a router).
It's also possible (though not recommended for novice users) to run the
script in a normal Ubuntu installation (i.e. not from a live session).

Happy holidays to all,

(And beyond... ed.)

No comments:

Post a Comment