LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2012, 09:29 PM   #1
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Rep: Reputation: 3
anaconda-ks.cfg


hello again,

I always seem to post here every few weeks and ask for some help; and you guys always show up.
Background:
I am using centos 6.2
it is a virtual host server trying to set up virtual machines through KVM. I currently have 1 up and running, 1 i cloned, now I'm trying to make another one using a kickstart file.

At first i had some errors in the ks.cfg file, i fixed them. So it doesn't stop there anymore. Now when i connect to my virtual ftp server to retrieve the ks.cfg file it works, however i get this error and it stops.

could not allocate requested partiitions: not enough free space on disks.

i tried a couple different things such as deleting the .img file and creating another one.

I'm not sure what I'm doing wrong on this one. If you guys need any more info let me know.

Thanks,
 
Old 01-27-2012, 11:50 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

This error happens when you design your partition scheme in kickstart in such a way that they cannot be created on the destination disk(s). Can you post the partition section, the one that has the part and logvol commands (if you use LVM)? Also post information about diskspace on the destination.

Kind regards,

Eric
 
1 members found this post helpful.
Old 01-28-2012, 07:47 AM   #3
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
haha so i figured out why it was stopping there. i set up the virtual hard drive for 12gb however i forgot to include the /swap & /home partitions as well. So that is why it said i didn't have enough space. So i bumped up the virtual hard drive space to 16GB and it ran no problems.
Thanks guys
 
Old 01-28-2012, 08:28 AM   #4
malak33
Member
 
Registered: Dec 2011
Location: Amish Country PA, USA
Distribution: CentOS 6.2
Posts: 104

Original Poster
Rep: Reputation: 3
also i noticed that i forgot the . when i was copying over files so it didn't find the repomd.xml
i had to delete the files i already copied over, remount the .iso
recopy it to the destination folder "cp -ar /media/. /var/ftp/pub/inst"
then change some selinux commands
make sure the firewall is off
iptables -F
then restart the ftp server
 
Old 01-28-2012, 10:52 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Nice! Glad you figured out what was wrong. If you consider your problem solved then please mark the thread as such.

Kind regards,

Eric
 
  


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
anaconda-ks.cfg anon091 Linux - Newbie 5 09-02-2009 04:56 PM
anaconda-ks.cfg problem on RHEL5 matrol Red Hat 0 12-09-2007 03:02 AM
Accidently deleted anaconda-ks.cfg deepanvenkatesh Linux From Scratch 4 01-23-2007 07:07 AM
how to get back anaconda-ks.cfg jam_newbiew Linux - General 2 02-02-2005 03:11 AM
Cron and anaconda-ks.cfg jjrowan Linux - Software 3 11-17-2004 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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