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 09-17-2006, 12:45 PM   #1
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Rep: Reputation: 15
Question why kickstart kit can't work unattended ?


Hi,all

my box booted from PXE and installed from kickstart method.
my ks.cfg file content:
Quote:
install
nfs --server 192.168.10.11 --dir /home/nfs
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
mouse none
skipx
network --device eth0 --bootproto dhcp --hostname exp
rootpw --iscrypted $1$lNqbE5qQ$xu7BwD3J8jnvDy5qqBBub/
firewall --disabled
authconfig --enableshadow --enablemd5
timezone Asia/Shanghai
bootloader --location=mbr

clearpart --all

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

part /boot --fstype ext3 --size 100 --ondisk sda
part / --fstype ext3 --size 2000 --ondisk sda
part swap --size 100 --ondisk sda

text

%packages
@ legacy-software-development
@ system-tools
@ development-tools
@ text-internet
@ legacy-network-server
@ dialup
@ network-server
@ kernel-development
@ compat-arch-support
grub
kernel-smp
kernel

%post
on installation process , console prompt this:
Quote:
The partition table on device sda was unreadable....
Would you like to initialize the drive,erasing ALL DATA?
so,I must press Yes for next step,so boring!
pls tell me how to correct my ks.cfg file to get rid of the prompt, very thanks.

Last edited by jiawj; 09-17-2006 at 12:48 PM.
 
Old 09-18-2006, 10:09 AM   #2
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
I'm not positive that it will fix it, but you might try to add "--initlabel". This is what I typically use when kickstarting and don't remember ever having that problem.
Code:
clearpart --initlabel --all

part /boot --fstype ext3 --size 100 --ondisk sda
part / --fstype ext3 --size 2000 --ondisk sda
part swap --size 100 --ondisk sda

Last edited by Chromezero; 09-18-2006 at 10:10 AM.
 
Old 09-18-2006, 12:29 PM   #3
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by Chromezero
I'm not positive that it will fix it, but you might try to add "--initlabel". This is what I typically use when kickstarting and don't remember ever having that problem.
Code:
clearpart --initlabel --all

part /boot --fstype ext3 --size 100 --ondisk sda
part / --fstype ext3 --size 2000 --ondisk sda
part swap --size 100 --ondisk sda

very thanks for Chromezero,but after I add the --initlabel parameter,the prompt still pop-up.
And I find from redhat manual:
Quote:
--initlabel
Initializes the disk label to the default for your architecture (for example msdos for x86 and gpt for Itanium). It is useful so that the installation program does not ask if it should initialize the disk label if installing to a brand new hard drive.
that's funny!
 
  


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
kickstart does not work?? johann_p Ubuntu 3 06-30-2006 01:04 AM
LXer: Linux dev kit targets remote, unattended apps LXer Syndicated Linux News 0 06-14-2006 03:54 PM
Kickstart floppy wont work MidtownMike Linux - General 1 09-11-2003 12:48 PM
Kickstart configuration. Does it really work? R2RO Linux - General 1 05-02-2003 04:42 AM
Unattended boot Sathe Linux - General 4 01-27-2002 10:59 PM

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

All times are GMT -5. The time now is 02:09 PM.

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