Kernel install in boot with GRUB

jason.morgan at aveillant.com jason.morgan at aveillant.com
Tue Jul 14 12:22:17 UTC 2015


Thanks Colin,

Then I'm guessing my request concerns the stock Ubuntu distribution and 
apt-get dist-upgrade default actions.
I can easily add the links manually, or preseed as you suggest, but it 
means that our installs start to diverge from stock Ubuntu Server.
We plan to roll our own kernel and root file systems in the future, but 
right now we need to make our systems as simple to maintain as possible.
So ideally just a simple list of file copies and apt-get installs to allow 
our roll-outs to go ahead without any specialist knowledge.

BTW: The reason for this is that I've update the AUFS script in 
https://help.ubuntu.com/community/aufsRootFileSystemOnUsbFlash to be more 
generic and handle any filesystem as an AUFS read/write layer, not just 
tmpfs
But this means that we need an easy, safe way to boot read/write - hence 
the custom grub menu.  Happy to post my AUFS script if it's any use?

Can anybody recall the purpose behind the 'historical compatibility' , is 
there a previous bug that I can reference in our documentaiton?

regards
Jason





From:   Colin Watson <cjwatson at ubuntu.com>
To:     ubuntu-devel-discuss at lists.ubuntu.com, 
Date:   14/07/2015 12:57
Subject:        Re: Kernel install in boot with GRUB
Sent by:        ubuntu-devel-discuss-bounces at lists.ubuntu.com



On Tue, Jul 14, 2015 at 10:51:21AM +0100, jason.morgan at aveillant.com 
wrote:
> If the installer were to simply add the symlinks /boot/vmlinuz and 
> /boot/inirtd.img, pointing to the latest kernel things would be much 
> simpler.
> It already adds symlinks in /, so placing them in /boot is trivial.

There's support for this, but it's disabled by default, I think for
historical compatibility of some kind. Preseeding
base-installer/kernel/linux/link_in_boot=true should enable it, though.

-- 
Colin Watson [cjwatson at ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss at lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20150714/658ce901/attachment.html>


More information about the Ubuntu-devel-discuss mailing list