LinuxQuestions.org
Visit Jeremy's Blog.
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 02-28-2007, 09:42 PM   #1
darsunt
Member
 
Registered: Jan 2007
Location: Huntington Beach, CA
Distribution: Red Hat
Posts: 51

Rep: Reputation: 15
How to format disc for linux install


How would you format a disk for an installation of Centos or Redhat ES 4? And which file system would you use?

When I installed mandrake linux, I think there was an option during the install that allowed one to format the disk to the proper file system. Does the installation disk for Centos and Redhat allow for this? I have installed Redhat a year back, my recollection is that you set up partitions in the install but no formatting (installed it on a previously formatted system).

Thanks.
 
Old 02-28-2007, 09:52 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The installer for any distribution is going to be able to format the partitions itself, you don't need to do that ahead of time.
 
Old 02-28-2007, 10:06 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
AND--keep it simple: 1 ext3 partition (~8-10GB) mounted at /, 1 swap partition (1GB)

Be sure to leave empty space (unpartitioned) for future changes/additions
 
Old 03-01-2007, 08:48 PM   #4
darsunt
Member
 
Registered: Jan 2007
Location: Huntington Beach, CA
Distribution: Red Hat
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks

So when the installation partitions the disc, it is automatically formatting the disk to the correct file system?
 
Old 03-01-2007, 08:56 PM   #5
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by pixellany
AND--keep it simple: 1 ext3 partition (~8-10GB) mounted at /, 1 swap partition (1GB)

Be sure to leave empty space (unpartitioned) for future changes/additions
Hmmm ... I mostly agree, but with a catch.

I've been goofing with Linux for a while now. I'm no zen at it, in fact I think I'm just about above noob myself. In my playing I've wanted to try multiple flavors. One of the things that has done me well is to do what pixellany says, except that I think you should create a /home partition also, which is where user data is kept. The reason is, as you're learning Linux you can install flavors, and not worry about the data and personal configurations you've already accumulated.
 
Old 03-01-2007, 09:31 PM   #6
wmoss
LQ Newbie
 
Registered: Mar 2007
Location: Rochester, NY
Distribution: Xandros
Posts: 3

Rep: Reputation: 0
System Rescue CD

I'd recommend burning a cd with Linux System Rescue: http://www.sysresccd.org/Main_Page
This package has several programs (e.g GNU parted), that allow you to manage your partitions. It was really great and fast when I used it.
 
Old 03-01-2007, 10:34 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by darsunt
Thanks

So when the installation partitions the disc, it is automatically formatting the disk to the correct file system?
You will be given options for partitioning AND for setting up the filesystem. (If you have a choice, just go with EXT3)
 
Old 03-02-2007, 01:17 AM   #8
Inchcape
Member
 
Registered: Jan 2007
Location: Switzerland
Distribution: Linux Mint bianca, Xubuntu, Puppy
Posts: 45

Rep: Reputation: 16
I always use a partition for /, a swap partition and a /home partition. This way, although you still need to make a backup to be absolutely sure, you can, in future update your distro or in some cases install a different distro while keeping all your data right there on the hard disk.
I've used this to update between suse versions and it was a very painless way to also keep all my configuration and tweaks and probably saved me many hours of work. It's worth planning for anyway.
 
Old 03-02-2007, 01:18 AM   #9
Inchcape
Member
 
Registered: Jan 2007
Location: Switzerland
Distribution: Linux Mint bianca, Xubuntu, Puppy
Posts: 45

Rep: Reputation: 16
Oooooops, sorry SlowCoder, I just repeated what you'd already said.
 
Old 03-02-2007, 01:19 AM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I would definitely suggest at least 3 partitions as well. You should have /, /home, and swap at the very least.

Especially if you are still starting out with Linux, you are probably going to reinstall a few times, try out different distributions, etc. Being able to carry over your user-specific application configuration and your files between all of those changes makes things a lot easier.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS format HDD - can I install Linux? dms05 Linux - Newbie 15 05-22-2006 10:52 AM
Which format shud i use for the Ubuntu 5.04 installation disc crash_override_me Ubuntu 6 09-01-2005 08:12 PM
80 gig hard disc format mandrkae 10 Nawas111 Linux - Hardware 2 11-30-2004 09:01 AM
Still getting option screen at boot after format of disc Jacksenflamed Linux - Newbie 6 04-02-2004 04:22 PM
Will I have to format my hd to install both XP and RH 7.3 Linux? aaronluke Linux - General 1 09-27-2002 07:49 PM


All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration