LinuxQuestions.org
Help answer threads with 0 replies.
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 02-21-2012, 05:25 AM   #16
CrazyGuy158
Member
 
Registered: Feb 2012
Posts: 105

Original Poster
Rep: Reputation: 1

Quote:
Originally Posted by cascade9 View Post
Heh, cool.

No, moving /swap probably wont make much noticable difference to a normal user. Hard to pick the difference between 12MS and 10MS acess times (that is probably exageration anyway) or 80MB/sec from home and 82MB/sec (not exageration). You would see a some difference in benchmarking.

But I consider even (theoretically) unnoticable improvements worthwhile. There is a saying in drag racing- 'seconds are made of of lots of 100ths of seconds'.



Then your doing it wrong. You want 1TB for /boot, 2TB for / and as much as possible for /home, etc..

Joking aside, do you understand what swap is used for? 'Overkill' is not going to help you at all.

If you are only planning on using 1 distro at a time, 2GB /boot isnt going to help you either.

Neither will 100GB /root. I've never heard of ANYONE usign more than 20-25GB..and IIRC even that time / usage dropped back to less than 15GB when he user ran bleachbit (think of it as being a linux version of' ccleaner' if you know windwos programs well)
If I don't feel like putting unused space as LVM and not running more than one Linux distro, what should I do with the remaining excessive space?

I also do not want to install Windows 7 again, at least on this machine. I could hardly play any decent games afterall so I might as well ditch it for Linux ^^
 
Old 02-21-2012, 06:42 AM   #17
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Just because you feel that you wont use a bigger /home partition doesnt mean its 'unused' space.

Making a huge /swap, and /boot partition might make you feel like you've used some of your 'unused' space.....but why bother? You wont get any advantages from having oversized partitions, and it will actually hurt performance, even if its just a little bit.
 
Old 02-21-2012, 10:35 AM   #18
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Since when is 1GB "huge"? 1GB has been in the noise for the last 10 years...

What distros are you guys using? I have many different Fedoras installed right now, here's the current usage:

F12: 124MB /boot, 21GB /
F14: 63MB /boot, 8.4GB /
F15: 68MB /boot, 18GB /
F16: 139MB /boot, 8.1GB /

The F14 and F15 machines only have 100MB /boot partitions, so I've had to do quite a bit of maintenance to keep it under that. The F12 and F16 machines have 500MB+ /boot partitions, so I've just let them go, which is why they're twice the size.

The F12 and F15 machines are servers, with many 32/64 bit libraries, source, and compilers installed, hence the large /. The F14 and F16 machines are desktops with just the OS. All machines have a single DE (gnome) installed. None of these sizes include the /home partition.

He asked me what I would do, and I told him. Just because your usage is different doesn't mean either of them are right or wrong. It just means they're different.

Last edited by suicidaleggroll; 02-21-2012 at 10:36 AM.
 
Old 02-21-2012, 10:45 AM   #19
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Did you even read my original reply?

Quote:
Originally Posted by cascade9 View Post
I dont normally use /boot, but 1GB seems really excessive as well. A few years ago 32-64MB /boot was more than enough for most users...I cant imaging needing more than 250MB.
*typo corrected (needed to needing) in quoting myself, but not the original post.

The OP then moved it to 2GB /boot...which is huge IMO.

Plus, even you say that you are only using 139MB of /boot on your F16 install, even though you've 'let it go'. I'd say that 250MB would have been enough. But like I said, I dont use /boot much so I'm no expert.
 
Old 02-21-2012, 10:58 AM   #20
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
250MB would probably be enough, but what's the point in dealing with "probably" or "maybe"? Like I said, 1GB has been in the noise for the last 10 years. The difference between 250MB and 1GB is 750MB, that's 0.11% of his drive space, it's meaningless.

I don't see anybody preaching for him to use tune2fs to reduce the reserved section of the drive to something more reasonable...default is 5%, that's 32GB. 32GB lost to a "reserved" section which can only be used by root when the drive fills up. Why does it need to be so large? Everybody is freaking out about him making the /boot partition a few hundred MB larger than should be necessary, or making swap a few GB larger than should be necessary, but nobody is mentioning the 32GB that are lost to reserved filesystem blocks?

1GB, 2GB, even 10GB is more or less meaningless when you're dealing with a 640GB drive. Why bother making a partition barely large enough to contain what it needs to contain, when making it just a little larger will ensure you never have a problem, at the expense of what, a few wasted GB? Who cares about a few GB in this day and age.
 
Old 02-21-2012, 11:44 AM   #21
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by suicidaleggroll View Post
Why bother making a partition barely large enough to contain what it needs to contain, when making it just a little larger will ensure you never have a problem, at the expense of what, a few wasted GB? Who cares about a few GB in this day and age.
What's a "litle larger"? His partitions are massively larger not just a little larger.
 
Old 02-21-2012, 12:01 PM   #22
CrazyGuy158
Member
 
Registered: Feb 2012
Posts: 105

Original Poster
Rep: Reputation: 1
I reinstalled Fedora as it wouldn't connect to Internet, but that didn't work. Now my Internet works though thanks to the command update-pciids

While reinstalling Fedora, though, I resized my partitions since you all thought they were massively oversized, and you are the linux pro's

How's this for a change:

/boot ~ 500MB
/ ~ 25GB
Swap ~ 4GB
/home ~ what's left
 
Old 02-21-2012, 05:22 PM   #23
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by CrazyGuy158 View Post
I reinstalled Fedora as it wouldn't connect to Internet, but that didn't work. Now my Internet works though thanks to the command update-pciids

While reinstalling Fedora, though, I resized my partitions since you all thought they were massively oversized, and you are the linux pro's

How's this for a change:

/boot ~ 500MB
/ ~ 25GB
Swap ~ 4GB
/home ~ what's left
CrazyGuy, let me just say whatever floats your boat is ok by me. I'm no linux expert but I do agree with Cascade and his posts about wasting free space in response to yours. I just posted what works for me and explained my reasoning for it.

Having said that I have never needed a /boot and as I said before I find 2GB SWAP is plenty.
 
Old 02-22-2012, 01:46 AM   #24
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by suicidaleggroll View Post
250MB would probably be enough, but what's the point in dealing with "probably" or "maybe"? Like I said, 1GB has been in the noise for the last 10 years. The difference between 250MB and 1GB is 750MB, that's 0.11% of his drive space, it's meaningless.
What do yuo mean by 'in the noise'?

Assuming what I think it means, I really doubt that people have been talkinga bout 1GB /boot for 10 years. I'd like to see an article from 10 years ago talking about 1GB /boot partitions (apart from 'future use').

Quote:
Originally Posted by suicidaleggroll View Post
I don't see anybody preaching for him to use tune2fs to reduce the reserved section of the drive to something more reasonable...default is 5%, that's 32GB. 32GB lost to a "reserved" section which can only be used by root when the drive fills up. Why does it need to be so large? Everybody is freaking out about him making the /boot partition a few hundred MB larger than should be necessary, or making swap a few GB larger than should be necessary, but nobody is mentioning the 32GB that are lost to reserved filesystem blocks?
Strawman.

Quote:
Originally Posted by suicidaleggroll View Post
1GB, 2GB, even 10GB is more or less meaningless when you're dealing with a 640GB drive. Why bother making a partition barely large enough to contain what it needs to contain, when making it just a little larger will ensure you never have a problem, at the expense of what, a few wasted GB? Who cares about a few GB in this day and age.
When you are just dealing with space, thats a valid point. But HDDs arent just about space.

If yuo have 2gb /boot, 100GB / and 8GB swap, then /home, /home on will be slower than if it was closer to the beginning of the drive. When loading programs, etc. it will take longer, not just because of the slight speed difference, but also because the HDD heads need to travel further.

I've got my reasons for haing a smaller / (and your usage numbers for / agree with that). /sawp, who really needs more than RAM + a lite bit (and you dont even need that really) when you have 4GB of RAM? Also, its a laptop, so any tasks that do lead to swap usage isn't something I would run on a laptop given a choice.

I honestly wouldnt even bother with /boot. Just my opinion.
 
Old 02-22-2012, 05:47 AM   #25
CrazyGuy158
Member
 
Registered: Feb 2012
Posts: 105

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by cascade9 View Post
I honestly wouldnt even bother with /boot. Just my opinion.
So, theoretically, I don't need a separate partition for /boot if I'm only running one distro? What if a kernel fails? Then I can reformat and install another kernel + grub files?

Look, I don't know much about Linux, but I'm learning. I'm simply snapping up what I've been reading from various guides. Some say, keep it simple, while others say otherwise. This one guide said that it's sufficient with having root on one partition, home on one and swap on another.
 
1 members found this post helpful.
Old 02-22-2012, 11:16 AM   #26
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
You dont need /boot even if you are running multipule distros.

If you have a kernel failure, you just reboot and load a different kernel from your bootloader. It differs from distro to distro exactly how you are meant to update the kernel (if you are meant to update the kernel at all) and behaviours around that.

Worse case scenario is install the kernel and update the bootloader manually.

Most distros use GRUB/GRUB2, to manually update GRUB all you normally have to do is run 'update-grub'.

Unless you remove the old kernel from the system or the bootloader, the older kernel will stay bootable.

Instaling lots of kernels will take up space, I've had 500MB+ worth of kernels with the system I am using. But I get kernel updates all the time (debian 'sid' based distro), and that was with a lot of kernels installed. I was just too lazy to clean up for a while. Even though the distro I'm using has a handy 'remove old kernels' tool installed stock.
 
Old 02-22-2012, 11:35 AM   #27
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by cascade9 View Post
What do yuo mean by 'in the noise'?

Assuming what I think it means, I really doubt that people have been talkinga bout 1GB /boot for 10 years. I'd like to see an article from 10 years ago talking about 1GB /boot partitions (apart from 'future use').
In signal processing, when a signal falls into the noise, you can't see it, it's gone. There are so many other sources of noise, that you can't tell the difference between the noise and your signal.

When referring to something being "in the noise" outside of the signal processing world, it means it's so small that it's irrelevant, nobody cares about it. More importantly, it means that there are so many other things going on that are random and larger than what you're talking about, that the object of interest is lost.

1GB on a 640GB drive means nothing, there are random processes running here and there that use far more space than that, store it for a while, they might free it, they might not. The point is that you'll never see the difference between having that 1GB and not, that's what I mean by it being "in the noise".
 
Old 02-22-2012, 09:38 PM   #28
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
Why do you try to second guess the experts, the people who work on optimising Fedora? In most cases, you let the Fedora installer know you will use the entire drive, and leave it to Fedora. Logical Volume Managed systems use Ext4 which is a journalized system. With the system deciding on using lvm, your space use is shared between / and everything else. In other cases, just do a manual install by setting /home to a separate partition and let the installer do the rest.
Whether /home is on a partition or /home is within the lvm, on a single drive system, you can always back it up.
 
  


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
[SOLVED] using my full h/d 640gb for linux mint acein1 Linux - Newbie 20 12-20-2010 08:00 AM
Vista Recovery Partition = 640GB? agrestic Linux - Desktop 2 03-06-2010 09:45 PM
Fedora 10 full install on Laptop + External HDD voes !!! Karbon Linux - Laptop and Netbook 0 06-13-2009 07:41 AM
mounting a partition on a second hdd in fedora. Skuggi Fedora 2 02-03-2005 11:12 AM

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

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