LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-13-2013, 02:00 PM   #1
maximusGeek
LQ Newbie
 
Registered: Jun 2005
Distribution: Red Hat, Fedora, CentOS
Posts: 12

Rep: Reputation: 0
Question Recovery mode with kickstart


I am attempting to make a bootable recovery CD using kickstart to skip over the interactive questions. I have been able to use kickstart to pass the language, keyboard, and boot media but I cannot seem to get the skip over network configuration. Anaconda prompts the user if they want to enable the network, I would like to disable the network completely. Is there a way to skip this? I have tried using the nonet option in the isolinux.cfg file and using the network option in the ks.cfg file but the user is still prompted.

Any help would be much appreciated

Last edited by maximusGeek; 05-13-2013 at 02:12 PM. Reason: spelling
 
Old 05-23-2013, 03:14 PM   #2
orev
LQ Newbie
 
Registered: May 2013
Posts: 10

Rep: Reputation: Disabled
This is what I use for a rescue kickstart config, and it only asks about locating the Linux environment (The rescue environment will now attempt to find...). It does not ask about network, so if you've already figured out how to disable the "Rescue" prompt, add that to what I have here:

Quote:
### pxelinux.cfg/default
LABEL CentOS 5.8 x86_64 - Rescue
KERNEL centos/5.8/x86_64/vmlinuz
APPEND initrd=centos/5.8/x86_64/initrd.img ramdisk_size=100000 text rescue ks=http://192.168.1.10/centos/ks/ks-rescue.cfg
Quote:
### ks-rescue.cfg
lang en_US.UTF-8
keyboard us
url --url http://192.168.1.10/centos/5.8/os/x86_64/
network --bootproto=dhcp
 
Old 05-23-2013, 03:56 PM   #3
maximusGeek
LQ Newbie
 
Registered: Jun 2005
Distribution: Red Hat, Fedora, CentOS
Posts: 12

Original Poster
Rep: Reputation: 0
I am doing something simmilar. I skip the keyboard, language and location of the rescue image, but it still prompts me with "Do you want to start the network interfaces on this system?". I have tried setting as a static IP as well, but does not seem to work.

ks.cfg:
lang en_US.UTF-8
keyboard us
cdrom
network --bootproto=dhcp
 
Old 05-24-2013, 09:33 AM   #4
orev
LQ Newbie
 
Registered: May 2013
Posts: 10

Rep: Reputation: Disabled
Maybe it is unable to get an address via DHCP?
 
Old 05-29-2013, 05:19 PM   #5
maximusGeek
LQ Newbie
 
Registered: Jun 2005
Distribution: Red Hat, Fedora, CentOS
Posts: 12

Original Poster
Rep: Reputation: 0
Ive using DHCP and static addressing, both cases, it still asks me if I want to enable the network. Tried both unplugged and plugged into the network. Tested that DHCP is working with other systems.
 
Old 05-29-2013, 06:28 PM   #6
orev
LQ Newbie
 
Registered: May 2013
Posts: 10

Rep: Reputation: Disabled
If you actually go through the network prompt, does it pick up an IP address? Maybe it's not supporting your network card or something. Do you see any network devices in the output of the 'dmesg' command?
 
Old 05-29-2013, 07:04 PM   #7
maximusGeek
LQ Newbie
 
Registered: Jun 2005
Distribution: Red Hat, Fedora, CentOS
Posts: 12

Original Poster
Rep: Reputation: 0
It does see the network card, it lists the MAC address if I opt to enable the network. It defaults to DHCP. If I include static config in the kickstart file, it does not fill in my configuration. I read that if the asknet option is used, then other network options are ignored. Its like recovery mode is defaulting to the asknetwork option.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Control of partition sizes using kickstart in interactive and text mode steve3275 Linux - Server 1 06-28-2012 03:09 PM
ignoredisk not working in kickstart upgrade mode linux_us Linux - Enterprise 7 02-01-2012 04:00 PM
Make a recovery image from a RHEL 5.2 system to install via anaconda Kickstart sandricky Linux - Server 3 12-10-2010 06:53 AM
Lilo and recovery mode kofucii Linux - Newbie 1 08-27-2009 11:44 AM
recovery mode raphtor Linux - Newbie 1 09-19-2008 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration