[clug] separate boot partition?

Francis Whittle fj.whittle at gmail.com
Thu Apr 28 06:31:21 MDT 2011


Thanks to GRUB reading its configuration off the boot partition, running
grub-install is not necessary, you should do update-grub instead.  It
doesn't touch the MBR and is less likely to leave you with an unbootable
system.

On Thu, 2011-04-28 at 16:54 +1000, Owen wrote:
> 
> 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