Ubuntu LAN installation

Phyo W. Soe ps at michelangelotech.com
Tue Feb 12 09:49:12 UTC 2008

Hi all,

I am trying to install Ubuntu 7.10 on multiple machines at the same time 
using PXE. On server computer, I set up the TFTP and DHCP servers. I 
mounted the Ubuntu 7.10 alternate CD image on /var/lib/tftp/ubuntuimage 
and created a sym link to that folder in /var/www. For PXE's default 
config file, I used the one on alternate CD under netboot folder and I 
only changed it to include a preseed file:

LABEL install
    kernel ubuntu-installer/i386/linux
    append vga=normal 
preseed/url= --

In ubuseed.cfg file I have:

d-i mirror/country string enter information manually
d-i mirror/http/hostname string
d-i mirror/http/directory string /ubuntuimage

d-i apt-setup/security_host string

So that the client machines will get the install contents from the 
server and not the Internet and also skip downloading security updates.

When I installed, everything was fine. But when I booted the client 
machines up, they don't display any splash screen. They only display the 
terminal. I logged in and typed startx. It says startx is not installed 
and suggested to install xinit so I did. After that when I startx again, 
the message says - cannot stat /etc/X11/X (no such file or directory) 
Aborting. I saw some posts on the web that suggest changing the 
runlevel. I found it is running at level 2 and changed it to 5 but it 
made no difference. (I couldn't find the config file for X but I doubt 
if changing things there will make any difference)

When I installed Ubuntu on one of the client machines using the 
alternate CD, it worked fine. Clearly, network installation is skipping 
some steps that CDRom installation does. I also tried to turn the 
followings on/off in preseed file:

xserver-xorg xserver-xorg/config/device/driver select vesa
xserver-xorg xserver-xorg/autodetect_monitor boolean true
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz

but no luck. Can someone please help me? I need to install on 20 
machines and CD Rom install simply takes too much time.

Thanks a lot.


More information about the ubuntu-users mailing list