how to skip NetworkManager in kickstart ?

2,880 views
Skip to first unread message

Vandan Joshi

unread,
Mar 21, 2009, 4:01:06 AM3/21/09
to VGLUG
hello frnds
I am making a kickstart installation dvd for fedora 10.

when installation starts it promts tht "Waiting for network manager...", and network manager gets failed, so installation terminates.
I am not writing anything abt NetworkManager in my ks.cfg, then wy it is going for tht ?? I cant understand tht..

is there any way to skip the NetworkManager ???

below is my ks.cfg
=====================================================================
#version=DEVEL
install
cdrom

#--- Debugging (uncomment next line to debug in the interactive mode)
#interactive

#--- Language and input support
lang en_US.UTF-8
#langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
#mouse generic3ps/2

#--- X-Windows (use "skipx" directive to skip X-Windows configuration)
skipx

#--- Network configuration
# Add some default or else Anaconda will pop a window and ask
network --device eth0 --bootproto stat ic --ip 192.168.1.20 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.168.1.1 --hostname vandan

#--- Authentication and security
rootpw vandan
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5

#--- timezone
timezone --utc Asia/Kolkata

#--- Boot loader
bootloader --location=mbr

#--- clear mbr
zerombr
clearpart --all --initlabel

part /boot --fstype ext3 --size=50
part pv.3 --size=200 --grow
volgroup VolGroup00 --pesize=16384 pv.3
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=176
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=720

#--- Reboot machine
reboot

#--- Select packages
%packages
@core
%end


Tejas Barot

unread,
Mar 21, 2009, 7:09:51 AM3/21/09
to VG...@googlegroups.com
Hi Vivek,

If You want to Skip NetworkManager into your kickstart file.Do following.....

Open your Kickstart Configuration by exectuting system-config-kickstart from your terminal.(if system-config-kickstart command is not available then install it by yum -y install system-config-kickstart)

Go to Package selection -> Go to Desktop Environments -> Tick on Gnome Desktop Environment

After Clicking on it.Right Side at Bottom you will see Optional packages Click on it.

One window will appear and Just Find and Untick the NetworkManager Package then Close that window and Generate Kickstart File.

Do the same if you want to skip NetworkManager into KDE Environment.

That's it.

May it helps you.
--
Thanks & Regards,
Tejas Barot
http://barot.wordpress.com
Red Hat Certified Engineer,
Linux peoples are smart peoples.

Vandan Joshi

unread,
Mar 23, 2009, 7:03:45 AM3/23/09
to VGLUG

hi tejas,
thnx for the replay.

I have removed the whole gnome desktop portion. even i have removed the core packages also.
So nw my kickstart pkg selection portion looks like below
======================
#--- Select packages

%packages

%pre

%post

%end
======================
then also its prompting me like "Waiting for NetworkManager to configure eth0..."

and if i m removing the network cable it fails and my installation aborts.

And after formatting the file system its prompting that "Retriving installation information for fedora 10-i386...", and at tht time if i remove the internet cable a bug occures says like "no internet connection" and instllation aborts.

do i have any way so tht i can make kickstart installation without using internet ???

---------- Original message ----------
From:Tejas Barot< network...@gmail.com >
Date: 21 Mar 09 16:39:51
Subject: [VGL UG] Re: how to skip NetworkManager in kickstart ?
To: VG...@googlegroups.com

Hi Vivek,

If You want to Skip NetworkManager into your kickstart file.Do following.....

Open your Kickstart Configuration by exectuting system-config-kickstart from your terminal.(if system-config-kickstart command is not available then install it by yum -y install system-config-kickstart)

Go to Package selection -> Go to Desktop Environments -> Tick on Gnome Desktop Environment

After Clicking on it..Right Side at Bottom you will see Optional packages Click on it.

Tejas Barot

unread,
Mar 23, 2009, 7:24:40 AM3/23/09
to VG...@googlegroups.com
Why are you removing cable ??? I think if you are installing using kickstart then you have to give your ftp path for the installation so it will not go to internet it will go to your ftp server from where you are installing

Which Version you are Installing Fedora 9 or 10 ?

By which method you are installing ????

PXE or FTP ?


Actually a bit confused. can you explain me exactly how you are installing?

Vandan Joshi

unread,
Mar 24, 2009, 12:17:14 AM3/24/09
to VGLUG

dear Tejas,
I am removing the cable bcoz for the cdrom installtion u dont need internet, (i mean it shudnt be compulsory, isnt it ?)
The installation method is cdrom, I want to install fedora 10.

another thing is tht, I have appended the following entry in cdrom:/isolinux/isolinux.cfg file, to make def selection of kickstart option.
---------------
label ks
menu label ^Express Install (KickStart)
menu default
kernel vmlinuz
append ks=cdrom:ks.cfg initrd=initrd.img ramdisk_size=8192
---------------


and below is my ks.cfg
===========================

authconfig --enableshadow --enablemd5

#--- timezone
timezone --utc Asia/Kolkata

#--- Boot loader
bootloader --location=mbr

#--- clear mbr
zerombr
clearpart --all --initlabel

#part /boot --fstype ext3 --size=100
#part /home --fstype ext3 --size=3000
#part / --fstype ext3 --size=2000
#part swap --size=2000

#part /boo t --fstype ext3 --size=50
#part pv.3 --size=200 --grow
#volgroup VolGroup00 --pesize=16384 pv.3
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=176
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=720


part /boot --fstype ext3 --size=50
part pv.0 --size=200 --grow
volgroup vg0 pv.0
logvol / --fstype ext3 --name=lv0 --vgname=vg0 --size=1500
logvol swap --fstype swap --name=lv1 --vgname=vg0 --size=176


#--- Reboot machine
reboot

#--- Select packages
%packages
#@core

#--- pre-installation script
%pre

#--- post-installation script
%post

%end
===========================
After Clicking on it...Right Side at Bottom you will see Optional packages Click on it.
Reply all
Reply to author
Forward
0 new messages