LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-16-2015, 06:05 AM   #1
Dustin Cook
Member
 
Registered: Feb 2015
Posts: 31

Rep: Reputation: Disabled
Kickstart Format Partitions


I have a kickstart that is designed to partition two drives:

Code:
clearpart --all --drives=sda,sdb
part /boot --fstype ext2 --size=50 --ondisk=sda
part /usr --fstype ext2 --size=1500 --ondisk=sda
part /home --fstype ext2 --size=1 --grow --ondisk=sdb
part / --fstype ext2 --size=1 --grow --ondisk=sda
When I run the kickstart, my "/boot" partition formats itself as 'ext4' which I have no issue with, but the other partitions follow the kickstart and format as ext2.

So I have two questions:
  1. The kickstart fails if I change the 'ext2' variables to 'ext4' - and refuses to start. Anyone have any experience with a similar situiation?
  2. How can I setup my kickstart so that it will format the partitions as 'ext3' or 'ext4' - what am I doing wrong?

Any help will be greatly appreciated!
 
Old 09-16-2015, 06:39 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
I don't think there is any difference between ext2/3/4 at the point of creation - but how you mount the filesystem is what determines the difference.

Check the fstab used.

It may also depend on which distribution you are using - current Fedora/RH kickstart does allow for the use of ext4 for fstype.
 
Old 09-16-2015, 07:10 AM   #3
Dustin Cook
Member
 
Registered: Feb 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
This is a Fedora system (an old one at that). Where can I check the fstab - do I need to run through the kickstart proceedure to get it?
 
Old 09-16-2015, 07:49 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It should be included as part of what you install. The /etc/fstab currently appears to mount /boot as ext4, so the other entries should (unless they are created by default) be specifying ext2 rather than ext4.

You can just replace the ext2 entries with ext4 - and on the next boot it will use ext4.
 
  


Reply

Tags
ext3, ext4, kickstart, partition



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
Format partitions? Ubuntu213 Linux - Newbie 3 02-12-2009 04:00 PM
select partitions or format during install junme Solaris / OpenSolaris 4 12-24-2004 06:13 AM
FORMAT the FAT32 partitions??? Pakiman Linux - General 5 09-16-2003 06:12 PM
cant format / partitions shiningstarr Linux - Software 3 06-03-2003 03:40 PM
I cannot format partitions jpinkston Linux - Newbie 6 04-18-2003 06:26 AM

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

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