[clug] separate boot partition?

Owen rcook at pcug.org.au
Thu Apr 28 00:54:19 MDT 2011


> On Thu, Apr 28, 2011 at 03:15:53PM +1000, Michael James wrote:
>> Is there ANY reason to still have boot in a separate partition?
>>
>> In the dark ages of BIOSs that couldn't understand
>>  deep disk geometry, it protected you when upgrading kernels.
>>
>> Even after that, installs with a separate boot partition
>>  hibernated and resumed faster for some reason.
>>
>> Nowadays Ubuntu wants to store every kernel it ever ran
>>  and my 64 Meg boot partitions are looking very yesterday.
>>
>> Are they?
>
> The main reason I use a seperate boot partition is if I want a "fancy"
> block
> device for my root or if I want to use a filesystem that not supported
> by my
> bootloader.
>
> An example of a fancy block device might be LVM over software RAID.
> For sometime
> ext4 wasn't supported by grub (or yaboot) so if I wanted ext4 on my
> root FS I
> needed a seperate /boot filesystem.
>
> But it's getting harder and harder to size /boot as the distros keep
> doign
> strange stuff with it.  Preciscly because it's typically a primary
> partition
> with a well understood filesystem.


A twitterer I follow came up with this to delete old kernels.


Del old kernels:

dpkg -l 'linux-*'|awk '/^ii/{print $2}'|grep -v -e `uname -r|cut -f1,2
-d"-"`|grep -e '[0-9]'|xargs sudo apt-get purge


I just rm the various kernels and images and rerun grub-install



Owen






More information about the linux mailing list