Re: from / to /usr/: a summary
Stephan Seitz <firstname.lastname@example.org> writes:
> On Fri, Dec 09, 2011 at 08:21:30AM +0100, Goswin von Brederlow wrote:
>>As I mentioned I have a bug open (in the grml bug tracker) about
>>providing a grml.deb. That would install an image in /boot and add
>>itself to the bootloader. The small grml image is more like 180MB than
>>25-50MB but it is a verry good rescue system. And harddisk space is
> Maybe, but none of my systems have such a big /boot partition. Older
> systems have about 50MB, newer systems about 150MB. More is not needed.
> And do you know why this will not change in the next time? Because I
> can upgrade Debian from one release to another without reinstalling
> everything. This is one of the main reasons why I use Debian.
> If you wish to through this great advantage away because of crappy
> software, fine. But be prepared that you will lose people.
> Shade and sweet water!
Grub2 can load the image from /usr/share/rescue-image/rescue.img if you
don't have that encrypted. Space in /boot is indeed precious if you made
that a seperate partitions years ago. Just for comparison:
Kernel without module and a kernel independent initramfs with some
rescue tools included:
-rw-r--r-- 1 root root 4.5M May 14 2011 vmlinuz-2.6.39-rc7-xen-1
-rw-r--r-- 1 root root 3.0M Feb 21 2010 initramfs.2010.02.18
With my own kernel I use up 4.5MB per kernel version I keep around plus
one initramfs for all versions. Or 9-10 kernels for your 50MB /boot.
Debian kernel and initramfs:
-rw-r--r-- 1 root root 2.6M Nov 14 09:21 vmlinuz-3.1.0-1-amd64
-rw-r--r-- 1 root root 11M Nov 29 18:01 initrd.img-3.1.0-1-amd64
With Debians kernel it's down to 4 and no rescue tools included.