LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-19-2003, 08:46 AM   #1
Noffie
LQ Newbie
 
Registered: Dec 2003
Location: Wisconsin, USA
Distribution: Debian 'lenny', Knoppix, Ubuntu
Posts: 13

Rep: Reputation: 0
Question Where and what type of Linux partiton? (EXT2 vs EXT3, 1st or 2nd HD, etc)


Over christmas break, I decided It might be fun to put multiple OSs on my computer (P4 2.2 Ghz, GeForce 4 TI 4200, 80GB HD, 512MB DDR ). I already have Windows XP Pro, So I thought I'd try puttin Linux on here too. Especially since I'm getting a Brand new 120GB HD for Christmas, and recently obtained PartitionMagic 8.0.

Here's my first Linux Newb question:
(Bear in mind I have RedHat 9.0 CD's)

Where Should I put my Linux Partition? And What type of Partition should I use (EXT2 vs. EXT3, Primary vs Logical)? Also, does 5GB sound like enough, too much, or just right for Size of Partition? And what about this SWAP stuff i hear about?

After today or tomorrow, my Hard drive configuration will look like this:

Hard Drive 0:
|| ~80GB NTFS Partition w/ WinXP Pro || 7.8 MB Unallocated||

Hard Drive 1: (brand new drive)
|| 120 GB Unallocated ||


Both Drive are 7200RPM.
Thanks in Advance!
Noffie-San

PS: Anyone Know what's up with the 7.8 MB unallocated on HD 0 ???
I think i've heard that has something to do with Extended partitions, which I have none!
 
Old 12-19-2003, 10:51 AM   #2
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
OK. I'm going to attempt to tackle this. If you want to put your Linux partition on your 80GB drive that's fine but you will have to resize your NTFS partition. Make sure you defrag it before you do anything or you may have some big problems. You will probably want to use ext3. Ext3 is a newer file system and is pretty robust. Ext2 is older and if I'm not mistaken does not use journalling. So use ext3.

Your swap partition is basically space that the computer will use when RAM starts to get low. Kinda. You want your swap partition to be double the size of physical memory you have. Since you have 512MB you should make a swap partition of 1GB.

The 7.8MB Unallocated has to do with how NTFS formats the drive. There is really nothing you can do about it so don't worry. There is always "unallocated space" at the end of a drive because of the size of the blocks I think.

5GB should be enough but you may feel a little cramped by it. It sounds like you have a ton of disk space so why not use 10 or 20?

You can put the linux file system (i.e. /, /swap, and /boot) on the second hard drive (hd1?) but you will need to install the boot loader (i.e. GRUB or LILO) on the master boot record of the first drive. If that sounds scares you then you can make a boot disk and just use that when you want to use Linux. You can also install just on the second drive I think.

When you fdisk that second drive I'm guessing you will want to use some of that for Windows so make sure you leave some of the space open for that.

Anyway, I hope this helps to shed some light on your situation.

Later,
Phekno
 
Old 12-19-2003, 11:10 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
use 8 gigs of space.
skip the swap-you don't need it with that much ram. you don't need a
boot partition either. if you want it simple, no swap, not boot partition either,
and ext2.
if you want to be fancy, use xfs, jfs, or reiserfs, and have and boot and swap
partitions, but you may end up having to compile a kernel to get something
working on your machine, and your fancy setup will complicate things.
if you want to get really fancy, use software raid, and have a single raid
volume split over 2 hard drives for extra thruput.
the unallocated space at the beginning and end of the drive has to do with
the fact that the fdisk parameters of the drive have nothing to do with
the drive's real internal setup. that's taken care of by the drive's controller.
the amount of space on the drive doesn't come out to an even variable
of 255 heads 63 sectors per track and however many cylinders. the
bios, or linux just tries to fit as many of the 255x63x(cylinder number)
units as it can. the drive really just has 1-8 heads unless you're running
something fancy.
anyway, you can install the linux however you want. just leave windows
at the front of the disk, so it doesn't get all confused and jealous of the
other operating systems.
 
Old 01-05-2004, 09:05 AM   #4
Noffie
LQ Newbie
 
Registered: Dec 2003
Location: Wisconsin, USA
Distribution: Debian 'lenny', Knoppix, Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for advice.

I just put a 500MB swap partition and the main Linux partition (/, 7.5 gigs) at the end of the first HD, and installed GRUB (which is included in the setup of Red Hat, along with LILO if you wish). Everything works pretty cool.
 
  


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
1st Linux + 2nd WinXP !!! E@zyVG Linux - General 10 04-02-2005 12:00 PM
Linux on 1st windows on 2nd hd... Teclavow Linux - Newbie 1 02-02-2004 06:12 PM
Can't boot 1st OS now after installing 2nd jillyt Linux - Newbie 3 01-05-2004 05:01 PM
Installing Linux on the 1st partition and booting Windows off the 2nd Rav Linux - General 15 12-21-2002 02:33 PM
Creating an ext2 partiton from an old fat32 kabads Linux - General 7 10-09-2002 06:05 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration