LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   questions partitioning new hard drive on mandriva (https://www.linuxquestions.org/questions/linux-newbie-8/questions-partitioning-new-hard-drive-on-mandriva-391008/)

stefan1988 12-09-2005 03:31 PM

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

saikee 12-09-2005 03:59 PM

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.

Cogar 12-09-2005 04:04 PM

I agree with saikee.

Regarding the original question, either ext3 or reiserfs are the preferred filesystems for Linux.

saikee 12-09-2005 04:31 PM

Cogar,

Thanks for addition. I suddenly remeber I haven't advised on the file type.

stefan1988 12-09-2005 04:43 PM

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

saikee 12-09-2005 05:39 PM

"/" 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.

stefan1988 12-10-2005 11:19 AM

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

saikee 12-10-2005 11:23 AM

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.

reddazz 12-10-2005 12:38 PM

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/.

stefan1988 12-11-2005 12:27 AM

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 :confused: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

reddazz 12-11-2005 02:40 AM

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


All times are GMT -5. The time now is 01:15 AM.