[AuckLUG] Partitioning suggestions
Daniel Pittman
daniel at rimspace.net
Mon Oct 15 16:13:15 NZDT 2007
"Karl." <kmw1 at free.net.nz> writes:
> I know that this topic has probably been resolved, but I am intrigued
> by the following:
>
> On Thu, Oct 11, 2007 at 12:02:55PM +1000, Daniel Pittman wrote:
>> I would certainly second that advice: a current kernel runs somewhere
>> around 25 to 30MB in /boot;
>
> Looking at my stock Debian kernel:
>
> $ du -h /boot/*22*686
> 84K /boot/config-2.6.22-2-686
> 5.3M /boot/initrd.img-2.6.22-2-686
> 796K /boot/System.map-2.6.22-2-686
> 1.4M /boot/vmlinuz-2.6.22-2-686
>
> It comes to about 8Meg. Do you put sourcecode in /boot, or is there
> something else I'm missing? (I don't mean to be confrontational - I'm
> just curious)
That is a reasonable question: I get around 18.6MB for my current image:
] du -sh /boot/*14*
420K /boot/abi-2.6.22-14-generic
80K /boot/config-2.6.22-14-generic
7.8M /boot/initrd.img-2.6.22-14-generic
7.8M /boot/initrd.img-2.6.22-14-generic.bak
812K /boot/System.map-2.6.22-14-generic
1.7M /boot/vmlinuz-2.6.22-14-generic
(though part of that is the backup of the initramfs image the tools
keep.)
...ah, and there it is. I had some notes on why the larger figure: I
had the "vmlinux" files installed for a while so that oprofile and a
similar system instrumentation tool could work effectively. Those were
considerably large.
> I just did a reinstall on the weekend - I went for 200M /boot - I
> figure that that gives me enough for plenty of kernels, plus a copy of
> DamnSmallLinux (50Meg) as a rescue distro.
It probably does; I should get back to my plan to install a second root
somewhere for that same reason. :)
Regards,
Daniel
--
Daniel Pittman <daniel at cybersource.com.au> Phone: 03 9621 2377
Level 4, 10 Queen St, Melbourne Web: http://www.cyber.com.au
Cybersource: Australia's Leading Linux and Open Source Solutions Company
More information about the AuckLUG
mailing list