Minimum space for a boot partition
Hi
I have to clear my doubt on the boot partition ... The minimum size required for a boot partition ?? Most commonly use 100MB as the /boot size.. But I noticed the usage of the /boot partition in most of the system is less than 25% Here I quote the disk usage of one of my system here only 9% is used. ======================================================= [root@newvision ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hda3 37G 7.9G 27G 24% / /dev/hda1 99M 8.4M 86M 9% /boot none 125M 0 125M 0% /dev/shm 192.168.1.200:/usr/home 73G 51G 16G 77% /home ======================================================= Why we wasted the rest of the space... Please made suggestions about that ..... Thanks In Advance...........:cool: |
You've got 16 Gig unused in /home, and you're worried about 86 *MEG* ????
|
How big is that hard drive?
And you're worried about 86M of space? I have many files larger than that. If you won't be adding anything else, then it looks like 9M is large enough. But why push yourself and make it too small to add another kernel? Here's mine on one of 6 comps: Code:
/dev/sda5 93M 26M 68M 28% /boot |
By Niht Pvt.ltd. Jaipur-+91-9829251646
Hi,
when your system boots at that time it creats some temporary files that's why we required some extra space for boot partition in linux/windows |
space of boot partition depends on your kernels...
if you have many kernels run in your pc, size of boot partition must be larger than 86MB . good luck. |
a standard desktop system can make due with 15-20 MB of space easily, and even less. however, having spare space allows, for example, sharing a /boot partition between multiple distros, or having previous or alternate kernels, for example, an rt kernel for music mixing, and a standard kernel for every day work stuff.
if you considder that you can't buy a harddrive smaller than 40G today, allocating 100M to /boot is perfectly reasonable. of course, if you're setting up a desktop, running only one distro, and using ext2 or any filesystem that grub supports natively, don't even bother with /boot. |
I just want to know the size of the boot partition mainly. The disk usage I mentioned is for showing the boot partition usage.
Is it possible to create temperory files in the /boot. At boot up the partitions are mounted as readonly then how it is possible ??? |
A separate /boot partition is not required at all...If you think you need one, then there is no real penalty for making it 100MB.
I think that some systems initially mount partitions read-only, but then later change to read-write. Run the "mount" command after bootup to see. |
A separate boot partition is a good idea if your main partition is an LVM volume. If you reinstall in the future you could make the /boot partition smaller. 40-50MB would be fine and allow for 4 or more kernel/initrd's.
|
Hi
The main reason behind a separate '/boot' partition was to get under the '1024 cylinder limit' problem. This problem doesn't exist with modern Linux systems. The use of the '/boot' is for the system kernel(s), system information and possible 'initrd' uses. If the 'OP' is using multiple boots and needs separate kernels and such then '100MB' in modern computer HDD is really small in comparison for a '/boot'. As stated this is a 'PC' and should be able to do as he/she wishes. |
Quote:
As for size of a boot partition - some installers make ridiculous assumptions. On two separate systems I have had to increase my boot to accommodate Ubuntu upgrades because the partition was reported as too small. One had 48 Meg free. |
Hi,
Quote:
|
The bottom line is that you really don't want to run out of space in there, assuming that you have the necessary files for, say, "two or three" kernel-versions: the current one and a couple of earlier ones that you can use as fallbacks.
Many distros supply several kernel-images "just in case" you need them; if you know you don't, you can remove them. For example, your distro has installed four possibilities:
As usual, "wasteful equals convenient," and sometimes "convenient" wins. If you're concerned about having too much space here, I think I'd worry about other things first. If you do determine what's the "minimum" size-requirement, well, you might do so by means of regret! |
The /boot partition is separate from the boot loader so that the boot loader can load in the kernel and initrd. A 50-100MB partition out of a 60GB drive doesn't amount to much.
|
a /boot partition is required because grub doesn't support such things as raid1, 5. lvm, encrypted, and compressed file systems as root. nor does lilo. you have to have the kernel and the initrd in a location that grub can find them. once they're loaded, you can have root wherever you want.
if grub can read your / partition, IE ext2, ext3, etc.. you can do without a /boot |
Quote:
Quote:
A message in the booting process i quoted below Quote:
|
Is it all the partitions are mounted as readonly or not ?
|
Hi
What is the importance of /etc/mtab and what is meant by mounting filesystem without writing /etc/mtab ? Thanks Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:33 PM. |