LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-06-2014, 04:13 AM   #1
studyete
Member
 
Registered: Feb 2013
Posts: 40

Rep: Reputation: Disabled
KickStart Server


Hello, I have recently setup a centos6 using kickstart network server. I have flowed tutorial found online. However, I have to define partition scheme at kickstart file. Is there any way to install centos from kickstart without defining partition scheme? I mean if you use normal installation from DVD, it will gave us whole HDD and let us do our custom partitioning. Is there any way to get similar system?

One more question, what technology can be use to install OS to a remote server which we do not have physical access?
 
Old 04-06-2014, 09:33 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by studyete View Post
Hello, I have recently setup a centos6 using kickstart network server. I have flowed tutorial found online. However, I have to define partition scheme at kickstart file. Is there any way to install centos from kickstart without defining partition scheme? I mean if you use normal installation from DVD, it will gave us whole HDD and let us do our custom partitioning. Is there any way to get similar system?
to get the default partitioning I use the following in my kickstart files:
Code:
zerombr
clearpart --all --initlabel
autopart
You may only need the "autopart" line. For Scientific Linux 6 this results in LVM with separate / and boot and swap. I don't know the algorithm it uses to determine the relative sizes of the partitions. Note also that you can look at /boot/anaconda-ks.cfg on any system to see what was actually done, and reuse it on your own kickstart files.

Quote:
One more question, what technology can be use to install OS to a remote server which we do not have physical access?
I think you can do this with IPMI, but that depends on the hardware in question. See for example
https://en.wikipedia.org/wiki/Intell...ment_Interface

HTH,

Evo2.
 
Old 04-07-2014, 12:23 AM   #3
studyete
Member
 
Registered: Feb 2013
Posts: 40

Original Poster
Rep: Reputation: Disabled
thank you evo2,
Quote:
to get the default partitioning I use the following in my kickstart files:
I actually wanted to to perform installation just like we do by DVD installation where we normally use below partitioning scheme

Quote:
/boot 300MB
swap /8000MB (double the ram size)
/fill the maximum size available
From my kickstart file, I can not allocate maximum disk available on my HDD, I always left with some space. My current ks.cfg partition table is as below:

Quote:
clearpart --all
# Disk partitioning information
part /boot --fstype="ext4" --size=300
part / --fstype="ext4" --size=460800
part swap --fstype="swap" --size=8000
MY HDD size is 512G
 
Old 04-07-2014, 12:37 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,


hmm, I'm not sure how to tell it to make the last partition fill the remaining part of the disk. Perhaps something like
Code:
part /boot --fstype="ext4" --size=300
part swap --fstype="swap" --size=8000
part / --fstype="ext4" --grow
More info at https://fedoraproject.org/wiki/Anaco...t_or_partition and https://access.redhat.com/site/docum...2-options.html.

Evo2.
 
Old 06-04-2014, 04:24 PM   #5
tomaslt87
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
studyete
Which tutorial did you use?

Quote:
Hello, I have recently setup a centos6 using kickstart network server.
I have flowed tutorial found online.
Thank you
 
Old 06-04-2014, 11:01 PM   #6
studyete
Member
 
Registered: Feb 2013
Posts: 40

Original Poster
Rep: Reputation: Disabled
followed this tutorial
 
  


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
[SOLVED] Kickstart server project.linux.proj Linux - Server 2 12-11-2012 03:09 AM
network kickstart without dhcp server mancdaz Red Hat 9 01-28-2012 05:38 AM
how to create kickstart server aman jas Linux - Newbie 1 11-13-2011 02:50 AM
how to configure kickstart server malli Linux - Server 2 10-24-2011 04:44 PM
Kickstart configuration server deepak_message Linux - Server 1 08-09-2011 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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