Notebookforums
 
 Home 
       
 Forums 
 
 Guides 
   
Old 04-23-2005, 01:19 PM   #1
B Nietsnie
Albeit
 
B Nietsnie's Avatar

Join Date: Jul 2004
Location: Toronto, ON
Posts: 2,522
Credits: 423
 
B Nietsnie is a n00b, but everyone loves n00bs!
Lightbulb Which filesystem should I use?

Hello all,

I am preparing to install Gentoo on my Asus, but I don't know what filesystems to use on each of my paritions (or mounts?). And what paritions (or mounts?) should I have? I am currently going to use / and /boot and /proc I think. Is this right? Would this work well?

Thanks for the help!
B Nietsnie is offline   Reply With Quote

Old 04-23-2005, 01:44 PM   #2
DimGR
Registered User
 
DimGR's Avatar

Join Date: Oct 2004
Location: Athens, GR
Posts: 745
Credits: -113
 
DimGR is a n00b, but everyone loves n00bs!
reiserfs
__________________
Dell Latitude D810


Pentium M i915 1.86Ghz 2GB DDR II PC-4200 X600 128mb 1680x1050 WSXGA+ www.debian.gr
DimGR is offline   Reply With Quote
Old 04-23-2005, 01:49 PM   #3
B Nietsnie
Albeit
 
B Nietsnie's Avatar

Join Date: Jul 2004
Location: Toronto, ON
Posts: 2,522
Credits: 423
 
B Nietsnie is a n00b, but everyone loves n00bs!
For all the directoris (/ /boot /proc)?
B Nietsnie is offline   Reply With Quote
Old 04-23-2005, 02:53 PM   #4
mmarkin
Registered User
 
mmarkin's Avatar

Join Date: Jul 2003
Posts: 1,761
Credits: 125
 
mmarkin has disabled reputation
Use ext2 for boot, just to keep things easier.
mmarkin is offline   Reply With Quote
Old 04-23-2005, 03:00 PM   #5
B Nietsnie
Albeit
 
B Nietsnie's Avatar

Join Date: Jul 2004
Location: Toronto, ON
Posts: 2,522
Credits: 423
 
B Nietsnie is a n00b, but everyone loves n00bs!
So ReiserFS for / and /proc and ext2 for /boot. What are / and /proc and /boot 's called? Mounts? Partitions? Directories?

And are these the only ones that should be separated?
B Nietsnie is offline   Reply With Quote
Old 04-23-2005, 03:11 PM   #6
namaseit
Registered User

Join Date: Jul 2004
Posts: 22
Credits: -335
 
namaseit is a n00b, but everyone loves n00bs!
You really don't need to seperate the partitions. One main partition of reiserfs will be fine. There is no need to split up '/' '/boot' '/proc' etc etc. If you just do '/' as reiserfs it will be fine. If you really want to though just make seperate partitions of /boot at a size of about 50 megs or less and /home at however big you want. Other then that there is no need to seperate the partitions. Oh but if you don't have alot of ram don't forget to make a swap parition.
namaseit is offline   Reply With Quote
Old 04-23-2005, 03:11 PM   #7
vvalerio
Registered User
 
vvalerio's Avatar

Join Date: Dec 2003
Location: Ellicott City, MD
Posts: 170
Credits: -104
 
vvalerio is a n00b, but everyone loves n00bs!
/ and /boot are mountpoints. partitions are /dev/hda1 or /dev/sda1 etc (the 1 being the number of the partition...)

/proc is a virtual interface with the kernel. It doesnt take up space on the harddrive or anything. The only things you should need are /boot (32 - 100 megs or so - depending on the complexity of your kernel and how often you rebuild - or use a variety of kernels) a swap partition - that should take up about 2x your current ram on the HD. and the root drive or /

heres what i use most of the time:

/dev/hda1 = /boot (32M - and use ext2 for this one)
/dev/hda2 = swap (512M assuming your using a system with 256M ram)
/dev/hda3 = / (the rest of the drive. reisersfs is fine. i use ext3 most of the time)

you can have a seperate partition for the /usr section or /home, but thats only if you know exactly how much space you may need for the different sections.

i might have rambled a bit there, but i hope it helped.

*EDIT* - yeah, the boot partition isnt really required or anything - just keeps the kernel isolated.
__________________
Hmm... I used to have a Sager... Then it met a glass of red wine. They didn't get along so well...
vvalerio is offline   Reply With Quote
Old 04-23-2005, 03:49 PM   #8
B Nietsnie
Albeit
 
B Nietsnie's Avatar

Join Date: Jul 2004
Location: Toronto, ON
Posts: 2,522
Credits: 423
 
B Nietsnie is a n00b, but everyone loves n00bs!
Great! Thanks for the help!

I think my setup will be as follows:

/dev/hda1 = Windows XP (30GB with NTFS)
/dev/hda2 = /boot (32MB with ext2)
/dev/hda3 = swap (1024MB)
/dev/hda4 = / (29GB with ReiserFS)

Does that look like it would work?
B Nietsnie is offline   Reply With Quote
Old 04-23-2005, 05:56 PM   #9
vvalerio
Registered User
 
vvalerio's Avatar

Join Date: Dec 2003
Location: Ellicott City, MD
Posts: 170
Credits: -104
 
vvalerio is a n00b, but everyone loves n00bs!
That sounds fine - but out of curiosity, what distribution are you using?
__________________
Hmm... I used to have a Sager... Then it met a glass of red wine. They didn't get along so well...
vvalerio is offline   Reply With Quote
Old 04-23-2005, 06:16 PM   #10
mmarkin
Registered User
 
mmarkin's Avatar

Join Date: Jul 2003
Posts: 1,761
Credits: 125
 
mmarkin has disabled reputation
Guys, I should note that although a separate boot mountpoint is not required, I STRONGLY recommend it. I started out directly with Gentoo and was really surprised when I discovered that most other distros don't separate /boot. The reason you want to separate it is because you want to keep it unmounted or read-only most of the time - this way, if your machine crashes, you know for sure that the data in /boot is safe. In addition, you run no risk of corrupting the boot data yourself with a stupid mistake. On the other hand, if /boot is not a separate mountpoint, you run the risk of corrupting your kernel and without a clean kernel, your machine is not going to boot (you'll need to do some recovery).
mmarkin is offline   Reply With Quote
Old 04-23-2005, 06:20 PM   #11
mmarkin
Registered User
 
mmarkin's Avatar

Join Date: Jul 2003
Posts: 1,761
Credits: 125
 
mmarkin has disabled reputation
Quote:
Originally Posted by B Nietsnie
Great! Thanks for the help!

I think my setup will be as follows:

/dev/hda1 = Windows XP (30GB with NTFS)
/dev/hda2 = /boot (32MB with ext2)
/dev/hda3 = swap (1024MB)
/dev/hda4 = / (29GB with ReiserFS)

Does that look like it would work?
Sounds fine, but such an amount of swap is quite useless. I know, I know, you should have at least the amount of your RAM. However, you will quickly see that it is quite pointless - your machine will hardly ever touch it, especially with 1GB of RAM.

Mikhail
mmarkin is offline   Reply With Quote
Old 04-23-2005, 09:12 PM   #12
bsmith
Just a newb.
 
bsmith's Avatar

Join Date: Jun 2003
Location: South Carolina
Posts: 1,492
Credits: 231
 
bsmith is a n00b, but everyone loves n00bs!
/boot is similar to vi vs emacs. I generally run it as a seperate partition that while I'm trying out different kernels I have it auto mount. However when I get a kernel that I'm happy with and going to stick with as a default. I then vi fstab and the no auto. Mikhail id dead on with his reasons. I've munged up my kernel on occasion due to leaving it writeable. As to swap, even with my meager 512, I've only seen mine get into swap on a couple of occasions. It generally hovers around 500M physical cached. It's up to you but swap isn't entirely necesary. In the end it's your system and your decision. I would also reccomend that you consider making /home a partition oit's own. That way if you do endup formatting / you don't loose personal data.
__________________
Sager 5670 upgraded to 5690 3.06HT, 1G mem, 1x 100G & 1x 40G drives, UXGA LCD, XP Pro dual boot Gentoo 2005.0 from a stage 1, pure udev. I love this beast.
bsmith is offline   Reply With Quote
Old 04-24-2005, 08:42 AM   #13
mmarkin
Registered User
 
mmarkin's Avatar

Join Date: Jul 2003
Posts: 1,761
Credits: 125
 
mmarkin has disabled reputation
Exactly @ 512MB RAM for swap. Thats what I have as well and we are both running Gentoo (if any distro is computationally expensive to maintain, Gentoo is certainly one of them)!

In regards to /home, I would definitely recommend having a separate mountpoint if you have multiple drives - if the drive with the system data crashes, you at least have your /home intact. However, when you only have a single drive, my personal opinion is that there is not much of a point in keeping /home separate. The reason is, if you keep it separate, you must impose an initial size limit on the block of data; if its a personal machine, there is probably not much point in restricting yourself like that (may as well use all the drive space you can, right?). It would certainly be convenient to have /home separately for the sake of easy/safe system rebuilds, but then again I haven't reinstalled my Gentoo since Dec '04 (it was Gentoo 1.4 back then, but the base layout updates have been smooth so I'm running the latest and greatest 2005.0 base).
mmarkin is offline   Reply With Quote
Old 04-24-2005, 12:46 PM   #14
Russo017
Proud to be Russian
 
Russo017's Avatar

Join Date: Apr 2005
Location: Frederick, MD USA or Berlin, Germany or Moscow, Russia
Posts: 11
Credits: -146
 
Russo017 is a n00b, but everyone loves n00bs!
Yeah as it has been made clear to you... i recommedn resierfs as well here my /etc/mtab... on my desktop but for all intents and purposes it doesnt matter

/dev/sda3 / reiserfs rw,noatime 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
/dev/sda1 /boot ext2 rw,noatime 0 0
none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/sdb1 /mnt/windows/c ntfs ro 0 0
192.168.0.102:/home/server/media /mnt/media nfs rw,addr=192.168.0.102 0 0

I have SATA hence the sda vs. hda and i have windows on a seperate hd. But i hope this give you a general idea. /dev/sda1 is boot /dev/sda2 is swap /dev/sda3 is root (/)
__________________

Russo017 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem recovery software bcingubuck Sager & Clevo Notebooks 1 07-05-2003 02:55 PM



All times are GMT -6. The time now is 11:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2001-2010 NotebookForums LLC