Partitioning for Debian

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
I have been using Red Hat for a little while now and want to change to Debian. I need some advice on partitioning a 20 gig hard drive for a install, can I do with 3 partitions? Not a dual boot, a stand alone system.

Bleep
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
Anywhere from 10-32 Megs for /boot, I usually do 512 Megs for swap, but you may want to fiddle depending on your memory, and the rest for /

Edit: Forgot that /home was listed. Split the remainder after /boot and swap between / and /home.
 

pitupepito2000

Golden Member
Aug 2, 2002
1,181
0
0
I am currently using Debian and this is how I would suggest you to partition your hard drive:
/
swap

You only these two partitions I don't really see any benefit from having the other partitions.

I hope this helps,
pitupepito
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
I have:

512MB /
4GB /usr
768MB /var
50+GB /home

/ is at 24% usage, /usr is at 34% usage, /var is at 54% usage. I have a decent amount of stuff installed and only 1.2GB of /usr used, so honestly I'd say 2 or 3GB should be more than enough for /usr. 768MB seems like a good number for /var, but I suppose that depends. / really only needs probably a couple hundred MB.

Or you could follow others' advice and just make / and /home, or not even make a /home partition.
 

Nighthawk69

Golden Member
Oct 10, 2000
1,113
0
0
Having /home in a separate partition can allow you to reinstall the OS easier without having to shuffle fixes around and back them up (that includes all your settings for all apps too, which would come right back with /home intact) and it would also allow you to keep the users from filling the HDD with personal files.

The size of /home really depends on what you're keeping there. Personally, I have a symlink in my home dir to a directory on my fileserver where I keep all my personal files so my /home/tim dir is pretty small, actually, and I'm the only user on this PC. So for me, I'd use something like 2GB for /home, then a 512 MB swap file (since I don't think I've ever seen Linux use my swap file really ANY that I can remember with 512MB DDR) and then give the rest of that to / .

Those are just my thoughts. Everyone does things differently... I know some people who use a ton of partitions to keep different operations under control, but it just depends on what you're doing.

Good luck!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I usually only do / swap and /home, make / about 6G, swap 1G or so and the rest for /home. I prefer to put /home on a seperate drive but that's up to you.
 

Nighthawk69

Golden Member
Oct 10, 2000
1,113
0
0
Originally posted by: Nothinman
I usually only do / swap and /home, make / about 6G, swap 1G or so and the rest for /home.

That's probably the way to go if you keep your personal files (MP3's, videos, etc.) on your desktop PC.

Why do you put /home on a separate HDD? Something to do with performance...?

 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Nighthawk69
Originally posted by: Nothinman
I usually only do / swap and /home, make / about 6G, swap 1G or so and the rest for /home.

That's probably the way to go if you keep your personal files (MP3's, videos, etc.) on your desktop PC.

Why do you put /home on a separate HDD? Something to do with performance...?
Can't speak for Nothinman, but it's just generally just simpler to keep your data seperate from the os. You can take your /home drive out, chuck your computer into a vat of acid, put your drive into another computer, install some stuff, and it'll be pretty much the same.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Why do you put /home on a separate HDD? Something to do with performance...?

Reliabilty, if the drive containing your root fs goes that can be reinstalled, if you have data in your home directory and it's on the same drive that's a bit nastier. And if you really want you can share /home between distros, installs, etc.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |