S
S
StrangeAttractor2015-01-17 20:05:26
linux
StrangeAttractor, 2015-01-17 20:05:26

Are there any limits on the maximum /boot size for Linux?

Now I have a /boot partition of 512 MiB, but periodically, with the next kernel update, the space runs out and I have to clean it. I want to do more to "set it and forget it". For example 2 gigs. I vaguely remember that there were some kind of size restrictions for /boot and quite modest, but I don’t remember exactly what and what caused. Remind me? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
DrLabRus, 2015-01-17
@DrLabRus

A quick search found only a limit of 1024 first cylinders for older versions of lilo here www.tldp.org/HOWTO/Partition/requirements.html
It might be faster to check in a virtual machine than to look for an answer. IMHO, there are no significant restrictions on modern OS / hardware / BIOS.

O
Oioraen, 2015-01-17
@Oioraen

Strange you remember something.
/boot can lie with everything / on the partition and the restriction will be only from the FS.
Exactly the same when it is separate. So, if you have ext4 for /boot, then the limit is 16 tebibytes, well, that is, the limit is 1 exbibyte, and at 16 tebibytes this is due to e2fsprogs, which you will format.
Nothing so modest.

S
Spetros, 2015-01-17
@Spetros

There is no limit on the size of the boot partition.
Its limit is the same as for any other section. It is already after 2TB that difficulties may arise.

O
O Di, 2015-01-17
@insiki

If /boot is not placed on a separate partition, then with a root "/" size of 500GB, will /boot be limited to some mythical maximum size?
What about 1TB? What about 2 TB? :) That's it.

V
Vlad Zhivotnev, 2015-01-17
@inkvizitor68sl

If grub2 - then there is no restriction there.
There were some for the old hornbeam and lila.

E
Eddy_Em, 2015-01-17
@Eddy_Em

Why was there a separate /boot at all? Is the root encrypted?
And how can there be so much garbage in /boot? It is necessary to clean after installing new buckets!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question