cbsw
2014-09-09 20:47:13 +08:00
看看各发行版内核都有多大,除了 Gentoo 内核是自己编译的外其它发行版都用的官方内核
$ du -h /boot/*
17M /boot/initramfs-linux-fallback.img
3.3M /boot/initramfs-linux.img
3.9M /boot/vmlinuz-linux
$ du -h /run/media/cbsw/gentoo/boot/*
4.7M /run/media/cbsw/gentoo/boot/kernel-x86_64-3.8.13-gentoo
3.2M /run/media/cbsw/gentoo/boot/System.map-x86_64-3.8.13-gentoo
$ du -h /run/media/cbsw/ubuntu/boot/*
836K /run/media/cbsw/ubuntu/boot/abi-3.5.0-40-generic
148K /run/media/cbsw/ubuntu/boot/config-3.5.0-40-generic
56K /run/media/cbsw/ubuntu/boot/grub/locale
4.4M /run/media/cbsw/ubuntu/boot/grub
15M /run/media/cbsw/ubuntu/boot/initrd.img-3.5.0-40-generic
176K /run/media/cbsw/ubuntu/boot/memtest86+.bin
176K /run/media/cbsw/ubuntu/boot/memtest86+_multiboot.bin
2.9M /run/media/cbsw/ubuntu/boot/System.map-3.5.0-40-generic
5.0M /run/media/cbsw/ubuntu/boot/vmlinuz-3.5.0-40-generic
$ du -h /run/media/cbsw/mint/boot/*
900K /run/media/cbsw/mint/boot/abi-3.8.0-19-generic
152K /run/media/cbsw/mint/boot/config-3.8.0-19-generic
2.1M /run/media/cbsw/mint/boot/grub/i386-pc
2.2M /run/media/cbsw/mint/boot/grub/fonts
16K /run/media/cbsw/mint/boot/grub/locale
6.4M /run/media/cbsw/mint/boot/grub
31M /run/media/cbsw/mint/boot/initrd.img-3.8.0-19-generic
176K /run/media/cbsw/mint/boot/memtest86+.bin
176K /run/media/cbsw/mint/boot/memtest86+_multiboot.bin
3.0M /run/media/cbsw/mint/boot/System.map-3.8.0-19-generic
5.2M /run/media/cbsw/mint/boot/vmlinuz-3.8.0-19-generic
$ du -h /run/media/cbsw/debian/boot/*
152K /run/media/cbsw/debian/boot/config-3.14-1-amd64
152K /run/media/cbsw/debian/boot/config-3.14-2-amd64
652K /run/media/cbsw/debian/boot/grub/locale
2.4M /run/media/cbsw/debian/boot/grub
14M /run/media/cbsw/debian/boot/initrd.img-3.14-1-amd64
14M /run/media/cbsw/debian/boot/initrd.img-3.14-2-amd64
2.4M /run/media/cbsw/debian/boot/System.map-3.14-1-amd64
2.4M /run/media/cbsw/debian/boot/System.map-3.14-2-amd64
2.9M /run/media/cbsw/debian/boot/vmlinuz-3.14-1-amd64
2.9M /run/media/cbsw/debian/boot/vmlinuz-3.14-2-amd64
$ du -h /run/media/cbsw/fedora/boot/*
140K /run/media/cbsw/fedora/boot/config-3.15.10-200.fc20.x86_64
2.8M /run/media/cbsw/fedora/boot/grub2/themes/starfield
8.5M /run/media/cbsw/fedora/boot/grub2/themes/system
12M /run/media/cbsw/fedora/boot/grub2/themes
2.4M /run/media/cbsw/fedora/boot/grub2/locale
2.0M /run/media/cbsw/fedora/boot/grub2/i386-pc
2.5M /run/media/cbsw/fedora/boot/grub2/fonts
19M /run/media/cbsw/fedora/boot/grub2
25M /run/media/cbsw/fedora/boot/initramfs-0-rescue-ebd2213d65914d07a1a4ae8cc123a920.img
12M /run/media/cbsw/fedora/boot/initramfs-3.15.10-200.fc20.x86_64.img
572K /run/media/cbsw/fedora/boot/initrd-plymouth.img
2.8M /run/media/cbsw/fedora/boot/System.map-3.15.10-200.fc20.x86_64
4.9M /run/media/cbsw/fedora/boot/vmlinuz-0-rescue-ebd2213d65914d07a1a4ae8cc123a920
5.3M /run/media/cbsw/fedora/boot/vmlinuz-3.15.10-200.fc20.x86_64
另外 boot 无需单独分出来,/ 50G 就足够了,swap 可以有但不必须,home 要足够大,我的 home 只有几百兆了,主要几个虚拟机太大