Re: Kickstart on CD

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

 



Hello guys, I'm back with the same problem, but with new details.
When I was got to the text interactive mode I've tried to see what's happening in the debug mode. That was too interesting. Fisrty of all in ALT-F3 I saw that kickstart is trying to be taken from HDA, in ALT-F4 I saw the next lines :

<7>ISO9660 Extensions: RRIP_1971A
<4>Unable to identify CD-ROM format.
<4>Can't find ext2 filesystem on dev loop(7,0).

Please anyone, help me. Remember, regular install process using those CDs is working.

Stas Goshtein wrote:

Few more info. When I'm trying to run it with linux ks=cdrom, like one of the guys sent me in private, it is jumping to the graphic mode, although still not using ks.cfg. Here it comes :

#Generated by Kickstart Configurator

#System language
lang en_US

#Language modules to install
langsupport --default en_US

#System keyboard
keyboard us

#System mouse
mouse genericps/2

#System timezone
timezone --utc Asia/Jerusalem Stas Goshtein <stas@xxxxxxxxxx>

#Root password
rootpw --iscrypted <password>

#Use text mode install
#text

#Reboot after installation
reboot

#System bootloader configuration
bootloader --append hdc=ide-scsi --location=mbr

#Install Red Hat Linux instead of upgrade
install

#Use CDROM installation media
cdrom
#nfs --server=frodo.versedge.com --dir=/vol/vol0/pensacola

#Clear the Master Boot Record
zerombr yes

#Clear all partitions from the disk
clearpart --all --initlabel

#Disk partitioning information
part /boot --fstype ext3 --size 100 --asprimary
part / --fstype ext3 --size 8192 --grow
part swap --size 2048

#Use DHCP networking
network --device eth0 --bootproto dhcp --hostname actona
network --device eth1 --bootproto static --ip 172.30.30.172 --netmask 255.255.255.0 --gateway 172.30.30.
172

#System authorization information
auth  --useshadow  --enablemd5

#Firewall configuration
firewall --disabled

#Do not configure the X Window System
skipx

%packages
@Network Support
@Classic X Window System
@X Window System
@KDE
@Windows File Server
@NFS File Server
rsh
ypbind
ltrace
strace
telnet
-kernel-smp
openssh-server
sysstat
perl
xinetd
compat-libstdc++
cdrecord
mkisofs
libcap
ntp
mgetty
perl-CGI
tcl
db3x
cvs
python
ethereal
ethereal-gnome
gcc
make
rsync
kernel-headers
binutils
cpp
glibc-devel
-IBMJava2-SDK
-IBMJava2-JRE
zlib-devel
MySQL-server
MySQL-client
-Canna
-Canna-libs
-nvi-m17n
-nvi-m17n-canna
-iptables
-ipchains
-lokkit
-micq
-ash
-kakasi
-perl-Text-Kakasi
-kon2
-kon2-fonts
-jcode.pl
-rmt
-cpio
-gnome-audio
-raidtools
-apmd
-radvd
-redhat-logos
-specspo
-finger
-kcc
-hotplug
-cipe
-ncftp
-bc
-autofs
-wget
-quota
-rhn_register
-pidentd
-mailcap
-perl-File-MMagic
-perl-NKF
-reiserfs-utils
-krbafs
-pam_krb5
-tmpwatch
-gnupg
-up2date
-up2date-gnome
-xsri
-rhn_register-gnome
-kinput2-canna-wnn6
-hanterm-xf
-firewall-config
-redhat-config-network
-FreeWnn
-FreeWnn-common
-cWnn
-cWnn-common
-kWnn
-tWnn
-Wnn6-SDK
-rwho
-rwall-server
-telnet-server
-rusers-server
-vnc
-vnc-server
-ypserv
-finger-server
-talk
-talk-server

%post
rpm -e kernel-smp
echo -e "export JAVA_HOME=/usr/java/j2re1.4.1_02/" >> /etc/profile
echo -e "export CATALINA_HOME=/var/tomcat4" >> /etc/profile
echo -e "alias block-major-2 off" >> /etc/modules.conf
mv /boot/grub/grub.conf /boot/grub/grub.conf.orig
sed s/hdc=ide-scsi/hdc=ide-scsi\ idebus=66\ nousb/ /boot/grub/grub.conf.orig > /boot/grub/grub.conf


Stas Goshtein wrote:

I've built the installation images, but when trying to install with kickstart from CD using "linux ks=cdrom:/ks.cfg" the installation goes to text and asking for the installation method again. When trying to answer CD-ROM it writes, that RedHat Linux CD could not be found in the drive. Same CD is starting regular installation without any problem.

Cipriano Groenendal wrote:

Hello, guys,
I've got two more questions for now :

1. How can I use ks.cfg , that will reside in the root of first
(bootable) CD?


start the installer with ks=cdrom:/ks.cfg

2. What will be the path to use with rpm -ivh in the %post section to
install packages which reside on /actona directory in the root of CD?


You can't access the CD from the normal %post section. You'll need two
seperate %post sections. One before and one after the chroot.

For the exact syntax you can search the list archive for /mnt/sysimage or
%post --nochroot. it's come by a number of times :)

Cipri


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



--

Regards,
	
	Stas Goshtein
Linux R&D Engineer - CCSE, SNA1, CCNA
Actona Technologies, Ltd.
Email: stas@xxxxxxxxxx
Phone: (972)-50-718508
http://www.actona.com/
--------------------------------





[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux