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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2003, 10:53 AM
|
#1
|
Member
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439
Rep:
|
How big should a boot partition be?
I'm going to repartition my 80GB I know that my swap partition should be double my ram but what about the boot? all my books and posts i've looked through just give ranges. How much does it need? also on install will the installer see them and know what to do with them?
|
|
|
08-16-2003, 11:13 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Swap doesn't necessarily have to be double your ram, but you've got the room so I'll leave it at that...
/boot should be at least 50MB, since you've got the room. It could be as small as say 8 though if you were tight. More than 100 is really wasting the space though.
And will the install pick em up? Not likely, maybe the swap, if it's partition ID is linux swap, but not likely the boot, not as /boot anyway, you'll have to specify that during the install (probably).
Cool
|
|
|
08-16-2003, 11:21 AM
|
#3
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Its up to you whether you want to use a boot partition or not - but it isnt neccesary - in general - when there's no boot partition present the kernel and related files will reside in the boot directory of the relevant root partition.
|
|
|
08-16-2003, 01:32 PM
|
#4
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
basically, most things i've read say that /boot should be 100 megs, the / (root) should be whatever size is necessary to install your distro and have enough space to do what u need (it depends, if you're a gamer, put in lots of space, a student or someone who just needs office tools, probably not more than 2 gigs plus whatever your distro needs); and swap, like said before, is not necessary but go ahead and put it in there, twice the ram is what all things i've read say
i used partition magic and my distros pretty much automatically picked up /boot and swap (i know with redhat, if it is the first linux distro u install, just leave some space unpartitioned and redhat will detect that and format it for u, making the /boot, / , and swap; for my other ones, i had to use partition magic and format the / in ext3 so that the installers could pick them up and then i had the installers format them again to whatever i liked or it needed
as for making a separate /boot partition, i recommend making it a partition in itself just so that if u install other distros, all the kernels will be in one simple place and makes configuring the boot loaders a lot more simple (since they will only need to look into one partition for all kernels)
|
|
|
08-16-2003, 02:00 PM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
For SWAP, how much RAM do you have ?
If you have 1 GB of RAM, creating a 2 GB swap partition is a waste of space.
I suggest 128MB to 512MB max.
If your computer ends up using more than 256 MB of swap, then you need more RAM.
As for the /boot, 50 MB to 75 MB is good enough.
RedHat 9 will create, by default, a 100 MB partition for /boot
More than 100MB is a waste. RedHat does this because some users forget to uninstall old kernels after a successful upgrade of the kernel RPM.
|
|
|
All times are GMT -5. The time now is 11:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|