LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-20-2003, 08:04 PM   #1
MrJBot
LQ Newbie
 
Registered: Oct 2003
Location: Waynesboro, PA
Posts: 21

Rep: Reputation: 15
Partitioning Question


I'm about to partition my main HD and install Linux Mandrake 9.1. What should the file system type be?

NTFS
Linux Ex2
Linux Ex3
Linux Swap

Thanks!
 
Old 10-20-2003, 08:11 PM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
You probably want some swap. The amount you need is dependent on your RAM and what you are doing with your system. Given the other choices, for the most part you want ext3, though I tend to keep my /root and /boot partitions as ext3 because it provides a generally simpler boot process. You certainly do not want NTFS.
 
Old 10-20-2003, 08:14 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Use ext3 as your native linux paritions and create one swap partition.

NTFS is Windows only format, you can't install Linux on an NTFS filesystem, better yet you can't even write to an NTFS filesystem.
 
Old 10-20-2003, 08:19 PM   #4
MrJBot
LQ Newbie
 
Registered: Oct 2003
Location: Waynesboro, PA
Posts: 21

Original Poster
Rep: Reputation: 15
So I can make the ext3 partition around 40,000MB and how big should I make the swap partition?


Quote:
Originally posted by trickykid
Use ext3 as your native linux paritions and create one swap partition.

NTFS is Windows only format, you can't install Linux on an NTFS filesystem, better yet you can't even write to an NTFS filesystem.
 
Old 10-20-2003, 08:54 PM   #5
gdiersing
LQ Newbie
 
Registered: Oct 2003
Location: Indianapolis, IN
Distribution: SuSE 9.0 and Mandrake 9.2
Posts: 9

Rep: Reputation: 0
Mandrake Partitions

True, I'm no expert, but I like using the following:

/boot - ext2 (or ext3) 16mb
swap - 1.0 - 1.5 times the amount of RAM
/ - ReiserFS (or ext3) remainder of HDD

After the install I mark all of /boot to read only, this will prevent corruption of the boot partition and keep things more stable.

Not sure why I like ReiserFS, I'm sure if I went with ext3 I prolly wouldn't notice the difference. As long as you use a journaling file system you'll be fine.

Again, just the ramblings of a novice user.
 
Old 10-20-2003, 11:05 PM   #6
banderson
Member
 
Registered: Oct 2003
Location: Salt Lake City, UT
Distribution: RedHat 9
Posts: 35

Rep: Reputation: 15
I'd make the boot around 100MB, you have plenty of room. I make the swap 2x RAM. ext3 for the rest.
 
Old 10-20-2003, 11:45 PM   #7
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Creating a seperate partition for /home is a good idea IMHO. It makes it easier to keep all of your data and custom desktop settings for kde, gnome, evolution, licq, or what have you. You can reinstall to / without overwriting your home directory. If you are going to use 40gb's, maybe set it up with like 15gb's for / and 25 for /home.

Whatever you like. I am using seperate partitions for /boot, /etc, /, and /home. /etc is where you system config files are located.
 
Old 10-21-2003, 05:35 PM   #8
MrJBot
LQ Newbie
 
Registered: Oct 2003
Location: Waynesboro, PA
Posts: 21

Original Poster
Rep: Reputation: 15
So which partition should I install Mandrake 9.2 on? The biggest? I don't understand the boot or swap situation...
 
Old 10-21-2003, 05:52 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by banderson
I'd make the boot around 100MB, you have plenty of room. I make the swap 2x RAM. ext3 for the rest.
Why would you need that much space? Usually the only thing that is fairly large in size is the kernel which is usually no bigger than 1mb.

I'd suggest 16mb instead really, unless your just going to have tons of kernels compiled and to choose from.

Swap, well, if your using this as a desktop and you have more than 256 megs of RAM, then I'd suggest no more than 200mb for swap.

/boot = 16mb
swap = 125mb
/ = The rest for everything else should work and make things simple.
 
Old 10-21-2003, 06:03 PM   #10
gdiersing
LQ Newbie
 
Registered: Oct 2003
Location: Indianapolis, IN
Distribution: SuSE 9.0 and Mandrake 9.2
Posts: 9

Rep: Reputation: 0
MrJBot, Mandrake will then install to the / partition.

Think of swap as virtual memory in Windows, its just some hard drive space the system will use during memory usage.

The /boot partition is where the MBR (Master Boot Record) will be held and I advised 16mb because mine about 4mb. During an install of Gentoo the documentation explained keeping it as a small partition and setting it to read only to prevent corruption. Since there aren't many files and there small in nature, you won't see the advantages of a journaled file system so ext2 will work fine. As far as swap, I always set to 1.5 times actual memory from my Windows days (that is what MS suggests as ideal). But tricky is correct, in should be smaller. But I could have sworn reading that it should equal to actual memory. Anywho, you've got 40GB to play with, enjoy.

Hope that helps clear the water a little.
 
Old 10-21-2003, 06:18 PM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
The /boot partition is where the MBR (Master Boot Record) will be held and I advised 16mb because mine about 4mb.
The /boot partition is where you keep stuff like kernels, initrds, and the bootloaders. Basically just booting stuff, which shouldn't take up alot of space. ~20mb should be enough. Having it seperate is useful if you plan to use another Linux distrobution with Mandrake. You can also set it as read-only like gdiersing said, so you don't accidentally mess up things. The MBR is just the first sector of the hard disk (not on any partition).
 
Old 10-21-2003, 06:34 PM   #12
banderson
Member
 
Registered: Oct 2003
Location: Salt Lake City, UT
Distribution: RedHat 9
Posts: 35

Rep: Reputation: 15
I just like plenty of room on the boot partition. I just checked and it is currently at 25MB, with four kernel versions. I do like to try things and compile my own kernels, doesn't everyone?

As for the swap, I guess I'm stuck on windows mentality, hard to change that sometimes. It gets to be automatic after a while.
 
Old 10-21-2003, 07:36 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by banderson
I just like plenty of room on the boot partition. I just checked and it is currently at 25MB, with four kernel versions. I do like to try things and compile my own kernels, doesn't everyone?
Sure but actually in my case it doesn't affect me since my kernels reside on my / partition...
My boot partition info and space taken up:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1              14M  426k   12M   4% /boot
Cheers...
 
  


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
Partitioning Question gamedev86 Linux - General 5 03-01-2005 07:13 PM
Another Partitioning Question Wamzlee Mandriva 5 02-14-2005 04:11 PM
partitioning question pablowablo Linux - General 2 02-12-2005 11:38 PM
re-partitioning question shilo Slackware 8 07-16-2004 04:36 AM
Question re: partitioning Seventh Linux - Newbie 6 01-04-2004 01:32 PM

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

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