LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-13-2014, 07:26 PM   #1
f0olyc0oly
LQ Newbie
 
Registered: Aug 2014
Distribution: Ubuntu, RHEL, Fedora, SuSe, Scientific Linux
Posts: 4

Rep: Reputation: 0
Question KVM installation using FTP Kickstart


Hi guys,

So basically I'm studying for an exam and I'm at the topic for installing linux (i'm using Scientific Linux) using Kickstarter. I'm still kinda new here, so bare with me

My setup is as follows:
1. I have a VMware with a KVM based VM Scientific Linux with an ftp running with the installation files.
2. I created another separate VM for the installation using kickstarter via ftp.

While installing, I encountered an error..

Quote:
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 retrieve repository metadata (repomd.xml) for repository: Scientific Linux. Please verify its path and try again
Fix I saw from google that I tried but didn't worked:
1. Comment the repo line
2. Change the bootproto from static to dhcp

I tried my own troubleshooting, changing some parameters here and there but all of them didn't work. Hopefully, you guys can help me.

Last edited by f0olyc0oly; 08-14-2014 at 07:03 AM.
 
Old 08-14-2014, 07:01 AM   #2
f0olyc0oly
LQ Newbie
 
Registered: Aug 2014
Distribution: Ubuntu, RHEL, Fedora, SuSe, Scientific Linux
Posts: 4

Original Poster
Rep: Reputation: 0
Below is the updated ks.cfg after doing the steps provided in THIS THREAD PLEASE HELP
Quote:
# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
url --url ftp://192.168.122.1/pub/inst
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
rootpw --iscrypted $6$ACntvrAGnAeJTxkxI34oKpYa.lF71nay5oY9keTjjoeTSm9LH97AT1p6KxzjUfgXeiZBA16RJEN3w.x0LixZvMcq1
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Singapore
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 --drives=sda --all --initlabel
ignoredisk --only-use=sda

part /boot --fstype=ext4 --size=500
part / --fstype=ext4 --size=8192
part swap --size=1024
part /home --fstype=ext4 --size=1024
#part pv.008002 --grow --size=1

#volgroup vg_yin --pesize=4096 pv.008002
#logvol / --fstype=ext4 --name=lv_root --vgname=vg_yin --grow --size=1024 --maxsize=51200
#logvol swap --name=lv_swap --vgname=vg_yin --grow --size=4032 --maxsize=4032

#repo --name="Scientific Linux" --baseurl=ftp://192.168.218.128/pub/inst --cost/=100

%packages
@base
@client-mgmt-tools
@console-internet
@core
@debugging
@basic-desktop
@directory-client
@fonts
@hardware-monitoring
@internet-browser
@java-platform
@large-systems
@misc-sl
@network-file-system-client
@performance
@perl-runtime
@scalable-file-systems
@server-platform
@x11
mtools
oddjob
sgpio
device-mapper-persistent-data
pax
samba-winbind
certmonger
pam_krb5
krb5-workstation
perl-DBD-SQLite
%end
shutdown
firstboot --disabled
%post
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-fre Luis.Villamagua Red Hat 3 10-23-2013 12:45 PM
Error: Cannot retrieve repository metadata ukwho Linux - Desktop 1 10-01-2010 11:55 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 01:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:01 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