LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-09-2005, 03:31 PM   #1
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Rep: Reputation: 15
questions partitioning new hard drive on mandriva


well i got an 80gbs hard drive and im really new to linux on this aspect there are some many filesystem im only used to fat32 and ntfs
and im clueless about what mountpoints are and what filesystem is the best

what im trying to do is partition an 80gb hard drive this is my 2nd drive to put all my files and random stuff
and theres all this filesystem types:

journalized FS: ext 3
linux swap
journalized FS: XFS
linux native
journalized FS: Resiser Fs
journalized FS: JFS
fat32



mount point:

/usr
/mnt/windows
/usr/local
/var/ftp
/tmp
/boot
/opt
/var
/var/www


this also confuses me lets say if i use for mount point:/var and filesystem:journalized FS:reiserFS

it says directory /var already contains data(tmp,lib,log,cache,db

and options are:
hide files or move files to new partition

Last edited by stefan1988; 12-09-2005 at 03:32 PM.
 
Old 12-09-2005, 03:59 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
My advice is to make one swap partition twice the size of your physical memory, usually 1Gb as it is easy to remember.

I recommend one partition for "/" and nothing else and then Linux will put everything as subdirectories to it. My box has about 70 distros and none has ever objected to this arrangement. The good point of it is extremely easy to boot as the partition is the root of your Mandriva. By chopping the Linux into small partitions is a bad idea and not actively pursued by Modern Linux because of the big capacities of the hard drives.

I would recommend a 10Gb for Mandriva, as it should have 4CDs. I store my Linux mostly in 5Gb partition but Mandriva is a big gun and it took uo 20Gb my Sata. The installed footprint is 4.8Gb only.

The mount point is the root of the filing system of the Linux. Everything grows from it just like a directory system in Windows.

Linux allow you to see and work on other partitions by mounting it.

Last edited by saikee; 12-09-2005 at 04:31 PM.
 
Old 12-09-2005, 04:04 PM   #3
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
I agree with saikee.

Regarding the original question, either ext3 or reiserfs are the preferred filesystems for Linux.
 
Old 12-09-2005, 04:31 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Cogar,

Thanks for addition. I suddenly remeber I haven't advised on the file type.
 
Old 12-09-2005, 04:43 PM   #5
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
i already have a swap partition on first hard drive of 1gb and i have 512 mb of ram in my machine
Quote:
I recommend one partition for "/
i din't get that did you forget to put something on there or do i just choose any mount point i want to keep a separated from other things if possible so waht would be the bets mounting point

i don't really like plan to separate the hard drive into many partitions i just think of putting it as a single thing all 80gbs if possible

Last edited by stefan1988; 12-09-2005 at 04:45 PM.
 
Old 12-09-2005, 05:39 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
"/" is the root of a Linux. /boot, /usr, /home, /etc..... are all its subdirectories. All your information are separated in their respectively subdirectories.

Thereafter you mount the root directory only and obtain everything inside. When you want to boot it you just address its "/" and every Linux will find the rest of the information automatically.

My idea of 10Gb for Mandriva is not to mix unnecessarily the personal data with an operating system. By giving the whole 80 Gb to Mandriva you will force the data mixed with Mandriva. If you make Mandriva 10Gb only and put your data in say 30Gb in a FAT32 partition then your data can be read by DOS and windows as well as by every Linux. Don't make a partition bigger than it needs to be because it is a lot harder to get the unallocated empty space back.

My first two disks have 60 and 54 partitions respectively. Every Linux is arranged inside one 5Gb partition. Bigger Linux are stored in two remaining Sata disks which cannot have more than 15 partitions. I have only one large partition storing all my personal data and it is accessible by every system in the box.
 
Old 12-10-2005, 11:19 AM   #7
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Well that solved my problem now I know I can put whatever name I want instead of the /var and the other ones there

thanks for the help
 
Old 12-10-2005, 11:23 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
You are well advised to leave alone the subdirectories created by the Linux. Changing their names will lead to files become unavailable. You can "introduce" your own subdirectories on top of what is already there.
 
Old 12-10-2005, 12:38 PM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
There is a reason why Linux gives those names to directories it creates. Renaming them will stop your system from working properly. To find out why those direcories are given the names they have and what they do, go to http://www.pathname.com/fhs/.

Last edited by reddazz; 12-10-2005 at 12:45 PM.
 
Old 12-11-2005, 12:27 AM   #10
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
what im working here is my 2nd hard drive in not way shape or form im alterating the names linux gives to those folders in the primary hard drive

i dont know if guys realized that im talking about the 2nd hard drive but to me it sounds like that

just to summarize what i did so far i created the partition on my 80gb secondary hard drive the mount point you guys told me that is like directories so i assumed that that "/" equals kind like C: for hard drive in windows so i named the mount point /stefan because if is a directory to store things i dont think the name would affect my system and i made it a reiser FS filesystem

i know if i renamed the directories on 1st hard drive there be a lot of misisng paths and what not problems because cant find certain files
 
Old 12-11-2005, 02:40 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Ok, I get what you mean. You are naming partitions not created by the system to your liking which is alright.
 
  


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
Partitioning a new hard drive soujrnr Linux - Software 2 12-09-2005 04:08 PM
partitioning hard drive marie-p Linux - Newbie 5 01-14-2005 12:23 PM
Second Hard drive partitioning boyzie Linux - Hardware 10 04-26-2004 02:57 PM
partitioning hard drive dilberim82 Linux - General 4 05-02-2001 01:56 AM
partitioning my hard drive stearic Linux - Newbie 1 01-07-2001 10:15 AM

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

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