kickstarting from hard disk fails

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

 



I'm trying to get kickstart from a hard disk working using the following
in my ks.cfg

harddrive --partition /dev/hda6 --dir cdrom

The installation starts, but fails to start an X server and falls back
to a text mode install. The same ks.cfg, except that it uses nfs, does
start the X server.

Installation proceeds until the postinstall section is reached (this
seems to be before my customised post install script is run), whereupon
it bombs out with a python traceback (see below). As this is complaining
about xmouse, maybe it is related to the X server error above.

Can anyone suggest what I need to do to fix this? 

Traceback:

Traceback (innermost last):
  File "/usr/bin/anaconda", line 620, in ?
    intf.run(id, dispatch, configFileData)
  File "/usr/src/build/41637-i386/install//usr/lib/anaconda/text.py",
line 408, in run
  File
"/usr/src/build/41637-i386/install//usr/lib/anaconda/dispatch.py", line
143, in gotoNext
  File
"/usr/src/build/41637-i386/install//usr/lib/anaconda/dispatch.py", line
208, in moveStep
  File
"/usr/src/build/41637-i386/install//usr/lib/anaconda/packages.py", line
715, in doPostInstall
ImportError: No module named xmouse


And the ks.cfg

# Kickstart file for a network pc
# for a hard disk install (so no reformatting except for / and /boot)

install
lang en_US
langsupport --default en_US en_US
keyboard us
mouse generic3ps/2 --device psaux
xconfig --card "NVIDIA GeForce 2 MX (generic)" --videoram 32768 --hsync 31.0-60.0 --vsync 60.0-75.0 --resolution 1024x768 --depth 32 --startxonboot
harddrive --partition /dev/hda6 --dir cdrom
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$èÌNNvEªÓ$rNWRRVa0.VKVVQ26jdOfM1
firewall --medium --dhcp --port ntp:tcp --port ntp:tcp --port ssh:tcp --trust eth0
authconfig --enableshadow --enablemd5
timezone Europe/Amsterdam
bootloader
reboot


# clearpart --linux --drives=hda
part /boot --fstype ext3 --size=50 --onpart hda1
part /home --noformat --fstype ext3 --size=1 --onpart hda2
part / --fstype ext3 --size=1 --onpart hda3
part swap --size=1 --onpart hda5
part /data --noformat --fstype ext3 --size=1 --onpart hda6

%packages
@terma-nwpc

%post
%post --nochroot
echo "-----Post Install--------"
# send all output to a logfile
(
    set -x
    df
    echo "begin post install"

    types="ws domain hpccs soundcard intel-i810 vidcard nvidia"
    echo "running customisation for $types"
    bash /mnt/source/postinstall/post.sh $types

echo "postinstall complete"
) >> /mnt/sysimage/tmp/postinstall.log
echo "-----Post Install Completed--------"


Regards,

Chris





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux