[SOLVED] during installation why give 100mb space for /boot?
Linux - NewbieThis 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.
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.
during installation why give 100mb space for /boot?
when we install linux operating system. for swap we give double space than the ram and remaining space for the root partition but instead of this two we also give 100mb space for /boot. is it required?
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Short answer, no it is not required.
You can partition Linux in a few ways and having a seperate /boot is one way but many people, I'd think most actually, simple have a /, SWAP, and /home.
Hope that is of some help.
P.S. Welcome to LQ, hope your stay here is fruitful and enjoyable.
it's required slightly less these days, but still very useful to have a dedicated real partition to pick up the raw guts of the system on boot. It's where the kernel images and bootloader config are called and there. 100mb is just a fairly arbitrary small amount of space. You can put 3 or 4 different kernels in there fairly comfortably without wasting space. Also it should be noted that *technically* the /boot partition is not part of the distributions, and multiple distros should conventionally all put their own kernel images in the same place, with /boot never actually even being mounted by the main system, leaving it untouched during the vast vast majority of runtime and hardly ever written to, meaning that it's extremely unlikely to ever be corrupted etc.
/boot might be very important if your computer can't boot to a large disk. It is a small amount of room and would help in updated disks in the future. I'd put a bit more than 100M maybe 150M but it is still trivial.
Using /boot can also be necessary if you want a "fancy" filing system on the root partition, as grub doesn't like some of them. It used to be needed if you used logical volume management, as /boot had to be a conventional partition, but I don't know if that's still the case: I've always avoided LVM.
When you do create /boot, you have to be generous or you'll run into trouble if a new version of the boot loader suddenly wants more space. Fedora currently suggests 250MB, not 100.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.