LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 09-20-2013, 07:07 AM   #1
rootr9
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
Centos 6.4 kickstart installation not working


Joined: 2013/2/22
From
Posts: 5

I trying to Automate installation of CentOS 6.4 -minimal with kickstart on a DVD


Below is my kick start that was auto generated by anaconda

# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot no --device eth0 --bootproto dhcp --noipv6
rootpw --iscrypted $6$.tHtXJMs5GEzyQRm$52EX5ue3UuFC/zgencUbxuvwHXIPDuLmllkuNs4NRq7/Wa7FsI8ICxwPDsy/KnzSaUfEqfBROLAv0tPMksOhA1
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --drives=sda
#volgroup VolGroup --pesize=4096 pv.008002
#logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --grow --size=1024 --maxsize=51200
#logvol swap --name=lv_swap --vgname=VolGroup --grow --size=4064 --maxsize=4064

#part /boot --fstype=ext4 --size=500
#part pv.008002 --grow --size=1


repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100

%packages --nobase
@core
%end

============================================================

The Problem what I'm facing When the ks.cfg tries to install packages from Repo that is in DVD

ERROR what I'm getting
Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.

cannot find a valid baseurl for repo:CentOS

============================================================

Is this a Bug is there any other way to automate the installation ?

Please Help me with this if there is any alternate solution to Automate the CentOS6.4 minimal


I have tried removing the line

repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100

Problem still persists

then i tried changing to something like this

repo --name="CentOS" --baseurl=file:///mnt/source--cost=100
Problem still persists
 
Old 09-24-2013, 03:55 AM   #2
rootr9
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Even the CentOS.org doesnot reply to this question posted ....
dont know whats happening LOL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Try to compile asterisk in Kickstart installation for creating Live CD of CentOS 5 eboy98 Linux - General 2 01-25-2013 05:50 PM
Kickstart within ISO - CentOS mathrisk Linux - Software 1 03-16-2012 04:30 PM
Minimal centos via kickstart not working abcdefg Red Hat 5 11-01-2008 12:11 PM
Kickstart installation problems with CentOS 5.2 triley Linux - General 3 10-21-2008 12:37 PM
CentOS kickstart installation with nodefaults shubb Linux - Distributions 3 10-13-2008 01:13 PM


All times are GMT -5. The time now is 05:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration