=== ming is now known as Guest47081 === 5EXABD84D is now known as infinity === davmor2_hols is now known as davmor2 [14:57] Guys, not sure if this is the right channel. I have a script that checks for Ubuntu version and kernel version and installs an application based on it. I want to add in a step that will install a supported kernel version if one is not found. That part should be ok, the bit I'm unsure of is how to automate the edit to make sure the newly installed kernel will be set to the dfefault on next boot. Is thi [14:57] s possible? [15:00] puffi, if we are talking x86 you can use the "title" of the kernel in grub to select a specific kernel [15:01] puffi, in /etc/default/grub you can set GRUB_DEFAULT to a string iirc [15:08] apw: Thanks looking into that now [15:09] puffi, pretty sure that is how one switches to [15:10] xen .. [15:11] apw: I'll need to know where it's going to be on the list of previous kernels. [15:11] hmm [15:11] is there a way to work that out before a reboot? [15:11] puffi, i thought you wanted to select a specific version [15:12] apw: I want to automate the edit, eg. automate kernel install, change newly installed to default. reboot new default [15:12] you mean GRUB_DEFAULT="3.2.0-18-generic" for example [15:12] then it will always boot that kernel? [15:13] puffi, that kind of thing yes, you use i think the texttual name of the menuentry [15:13] menuentry 'Ubuntu, with Linux 3.13.0-53-generic' [15:13] in the grub.cfg ... [15:13] smb, i think you use that for xen right ? [15:55] apw: works perfectly [15:55] Thanks [16:58] apw, yes === alvesadrian is now known as adrian === adrian is now known as alvesadrian === hggdh_ is now known as hggdh