Boot Partition - Wasting space?
by admin on Jun.28, 2009, under Linux Blerg
Like many wise linux user, You have your own separated /boot partition which usually comes in 100+ mb size range.
Sure, if you have like 500gb harddisk then 100 mb sound like a reasonable amount of space that you can waste.
Why waste? if you don’t like to keep lots of compiled kernel version lying around the at the most your boot partition will be no more than 20 mb or so, leaving like 80 mb wasted nicely in the partition.
One trick that I use to utilize the space is doing a symlinks to other place. As in my box, my /lib doesn’t require too much space and I have a 150 mb for space in my /boot. So I move all my /lib data to /boot/lib and do a symlinks to /lib by using ln -s command.
The result? I can see no different in the performance or stability of the box whatsoever.
You probably can use other folder to move and symlinks with, such as the /opt folder.
Well, before you do all of the things above, be sure that the /boot will hold the file and never use the mv command but instead use the cp command to move the file, because if you use mv command and for any reason the process failed halfway then you will get a half transfered file which is equal to BIG TROUBLE if you are moving /lib file.
Enjoy and be carefull when moving important file such as /lib file.
-= end transmission =-


















January 29th, 2010 on 5:34 pm
Solid blog. I got a lot of great data. I’ve been keeping an eye on this technology for awhile. It’s fascinating how it keeps varying, yet some of the core factors stay the same. Have you seen much change since Google made their latest acquisition in the arena?