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

Help: Ubuntu 12.04LTS/14.04LTS PXE/netboot/preseed - does not initiate installation



Hi,

I stumbled on a problem with Ubuntu installation PXE/netboot/preseed.

OS: Ubuntu 12.04LTS/14.04LTS

I have setup for DHCP/TFTP/NFS which allows me to boot over network "Live Ubuntu" and everything works as it should.

Next logical step would be automatic installation by utilizing "preseed" file. And here I hit a snag -- Ubuntu copies the file but I do not see any attempt to start installation (search on internet give multiple examples and most of them look alike but do not work in my case).

So in PXE configuration file I have next block

LABEL 8
        MENU LABEL Ubuntu 12.04 Desktop (i^386) auto
        KERNEL Ubuntu/12.04/desktop/i386/vmlinuz
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.64:/var/www/dvd/Ubuntu/12.04/desktop/i386 initrd=Ubuntu/12.04/desktop/i386/initrd.lz auto url=http://192.168.0.64/preseed/ubuntu/12.04/desktop/i386/preseed.conf
        TEXT HELP
        Boot the Ubuntu 12.04 desktop i386 auto
        ENDTEXT

By selecting this option from PXE menu the computer continues to boot and at some point it retrieves "preseed" file from webserver. Shortly after that boot process starts graphical screen where I can see "Install Ubuntu" icon and then process stops.

I am not sure how to troubleshoot this situation and best what I could find is /var/log/casper.log file which has next content


----- Cut ---------------------------------------------------------------
Begin: Running /scripts/casper-premount ... done.
done.
IP-Config: eth0 hardware address 00:11:11:1c:7e:dd mtu 1500 DHCP RARP
IP-Config: no response after 2 secs - giving up
IP-Config: eth0 hardware address 00:11:11:1c:7e:dd mtu 1500 DHCP RARP
IP-Config: eth0 guessed broadcast address 192.168.0.255
IP-Config: eth0 complete (from 192.168.0.1):
address: 192.168.0.62 broadcast: 192.168.0.255 netmask: 255.255.255.0 gateway: 192.168.0.1 dns0 : 192.168.0.1 dns1 : 64.59.144.92
 domain : myclub.com
 rootserver: 192.168.0.64 rootpath:
 filename  : pxelinux.0
Begin: Trying netboot from 192.168.0.64:/var/www/dvd/Ubuntu/12.04/desktop/i386 ... Begin: Trying nfsmount -o nolock -o ro 192.168.0.64:/var/www/dvd/Ubuntu/12.04/desktop/i386 /cdrom ... done.
done.
Begin: Creating debconf-communicate fifo mechanism ... done.
Begin: Running /scripts/casper-bottom ... Begin: Moving mount points... ... done.
Begin: Configuring fstab... ... done.
Begin: Setting up swap... ... done.
Begin: Setting up locales... ... Generating locales...
  en_US.UTF-8... done
Generation complete.
done.
Begin: Setting up automatic login... ... done.
Begin: Setting hostname... ... done.
Begin: Setting up console keyboard... ... done.
Begin: Configuring gnome-panel-data... ... done.
Begin: Configuring screensaver... ... done.
Begin: Regenerating SSL certificate... ... done.
Begin: Preconfiguring /etc/modules... ... done.
Begin: Preconfiguring networking... ... done.
Begin: Loading preseed file... ... --2014-08-25 06:48:57-- http://192.168.0.64/preseed/ubuntu/12.04/desktop/i386/preseed.conf
Connecting to 192.168.0.64:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20891 (20K)
Saving to: `/tmp/preseed.conf'

0K .......... .......... 100% 15.1M=0.001s

2014-08-25 06:48:57 (15.1 MB/s) - `/tmp/preseed.conf' saved [20891/20891]

done.
Begin: Adding live session user... ... pwconv: failed to change the mode of /etc/passwd- to 0600
done.
Begin: Setting up init... ... done.
Begin: Disabling user menu... ... done.
Begin: Configuring accessibility options... ... done.
Begin: Disabling update-notifier... ... done.
Begin: Configuring power management... ... done.
Begin: Enabling detection of crashes... ... done.
Begin: Disabling unnecessary KDE services... ... done.
Begin: Fixing language selector... ... /usr/lib/python2.7/dist-packages/LanguageSelector/LocaleInfo.py:256: UserWarning: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
  warnings.warn(msg.args[0].encode('UTF-8'))
done.
Begin: Disabling trackerd... ... done.
Begin: Adding APT-CDROM source... ... Using CD-ROM mount point /cdrom/
Identifying.. [3b1d834a51fb1bbb534e3ff3fd2b991d-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures Found label 'Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release i386 (20140807.1)'
This disc is called:
'Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release i386 (20140807.1)'
Copying package lists...gpgv: Signature made Thu Aug 7 21:11:41 2014 UTC using DSA key ID FBB75451 gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>"
^MReading Package Indexes... 0%^M^MReading Package Indexes... Done^M
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release i386 (20140807.1)]/ precise main restricted
Repeat this process for the rest of the CDs in your set.
W: Skipping nonexistent file /cdrom/dists/precise/main/binary-i386/Packages
W: Skipping nonexistent file /cdrom/dists/precise/restricted/binary-i386/Packages
done.
Begin: Possibly disabling update-initramfs (useless on a live CD)... ... done. Begin: Grant administrative PolicyKit privileges to default user... ... done.
Begin: Configuring jackd2... ... done.
Adding 'diversion of /usr/bin/bluetooth-applet to /usr/bin/bluetooth-applet.orig by casper'
done.
----- Cut ---------------------------------------------------------------

What I find interesting that there is no /tmp/preseed.conf file once computer fully booted -- probably content was read and then disposed.

I do not see any attempt in this log to initiate installation or any error for that matter which could prevent the installation with usage preseed file.

I tired 12.04LTS / 14.04LTS with exactly same outcome -- live image booted and then process is stopped.

My search in internet indicates that it works for people and they have a problems at latter stage -- but I even can not start the installation process.

What am I missing? Where is my mistake?

Andy


Reply to: