Kickstart - post install cp of files from CD fails

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

 



While creating a kickstart CD with some post install I can not copy some
files of the CD to the temp.

In the --nochroot I get the error:
cannot stat '/mnt/source/additional/bcm*.rpm' etc

What is the problem ? Although a lot is written about it it is not clear
to me why it is not working.

RedHat version 9.0 btw including updates

Marcel Stegehuis

>>> Included ks.cfg files which is called >>>>
#Generated by Kickstart Configurator

#System  language
lang en_US
#Language modules to install
langsupport nl_NL --default=en_US
#System keyboard
keyboard us
#System mouse
mouse generic3ps/2
#Sytem timezone
timezone Europe/Amsterdam
#Root password
rootpw --iscrypted $1$lN.k6mW/$q4XKkyaCF5XlfQNGrYZ8o1
#Reboot after installation
reboot
#Install Red Hat Linux instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr 
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel 
#Disk partitioning information
part / --fstype ext3 --size 10000 
part swap --size 2000 
#System authorization infomation
auth  --useshadow  --enablemd5 
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --high --ssh 
#Do not configure XWindows
skipx
#Package install information
%packages --resolvedeps
#@Core
#@Base
#@Xterminal
%post --nochroot
echo "nochroot directory "  > /mnt/sysimage/tmp/kspostch.log 2>&1
pwd >> /mnt/sysimage/tmp/kspostch.log 2>&1
find . >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "ls /mnt" >> /mnt/sysimage/tmp/kspostch.log 2>&1
ls /mnt >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "ls /mnt/source" >> /mnt/sysimage/tmp/kspostch.log 2>&1
ls /mnt/source >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "ls /mnt/source/additional" >> /mnt/sysimage/tmp/kspostch.log 2>&1
ls /mnt/source/additional >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "ls /mnt/source/RedHat" >> /mnt/sysimage/tmp/kspostch.log 2>&1
ls /mnt/source/RedHat >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "nochroot" >> /mnt/sysimage/tmp/kspostch.log 2>&1
cp /mnt/source/additional/bcm*.rpm  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
cp /mnt/source/additional/hpalsa*.rpm  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
cp /mnt/source/additional/xsvc*.rpm  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
cp /mnt/source/additional/Summit_MX-Silver*.rpm  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
cp /mnt/source/scripts/hpalsa  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
cp /mnt/source/scripts/bcm5700  /mnt/sysimage/tmp >> /mnt/sysimage/tmp/kspostch.log
2>&1
%post
echo "ls /tmp" >> /mnt/sysimage/tmp/kspostch.log 2>&1
ls /tmp >> /mnt/sysimage/tmp/kspostch.log 2>&1
echo "chroot"  > /tmp/kspost.log 2>&1
echo "X-Terminal kickstart post install" >> /tmp/kspost.log 2>&1
echo "ln linux-2.4 -> linux for XiGraphics xsvc install"  >> /tmp/kspost.log
2>&1
ln -s /usr/src/linux-2.4 /usr/src/linux >> /tmp/kspost.log 2>&1
echo "install X"  >> /tmp/kspost.log 2>&1
rpm -i /tmp/xsvc*.rpm >> /tmp/kspost.log 2>&1
rpm -i /tmp/Summit_MX-Silver*.rpm >> /tmp/kspost.log 2>&1
echo "install BCM5700"  >> /tmp/kspost.log 2>&1
/tmp/bcm5700
echo "install HPalsa"  >> /tmp/kspost.log 2>&1
/tmp/hpalsa


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux