Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: SchulzStefan on September 30, 2016, 09:39:49 PM

Title: Grub - boot *NOT* in last kernel
Post by: SchulzStefan on September 30, 2016, 09:39:49 PM
Running SME 9 up-to-date.

Kernels are

vmlinuz-2.6.32-642.1.1.el6.i686
vmlinuz-2.6.32-642.3.1.el6.i686
vmlinuz-2.6.32-642.4.2.el6.i686

No chance to access the console, everything has to be done remote.

Now - what has to be done to change the default boot kernel back to vmlinuz-2.6.32-642.3.1.el6.i686?

Thank's for any advice.
stefan
Title: Re: Grub - boot *NOT* in last kernel
Post by: janet on October 01, 2016, 01:48:05 AM
SchulzStefan

edit
/boot/grub/grub.conf
& select the kernel you want to boot to
ie I think it's
default=0 (or 1 or 2 etc)
Title: Re: Grub - boot *NOT* in last kernel
Post by: SchulzStefan on October 01, 2016, 08:31:51 AM
janet

thank you for your reply.

Would do a yum remove vmlinuz-2.6.32-642.4.2.el6.i686 also the trick? With this the boot-menu should be newly generated and the vmlinuz-2.6.32-642.3.1.el6.i686 should be the default. I'm not quite sure about this...

It seems that this kernel is not 100% compatible with the motherboard. The machine looses the USB-bus. I opened a bug already.
Title: Re: Grub - boot *NOT* in last kernel
Post by: janet on October 01, 2016, 10:09:08 AM
SchulzStefan

Quote
Would do a yum remove vmlinuz-2.6.32-642.4.2.el6.i686 also the trick?

Should do, but it will be upgraded again next time ....



Title: Re: Grub - boot *NOT* in last kernel
Post by: SchulzStefan on October 01, 2016, 01:57:51 PM
Maybe yum upgrade --exclude kernel?
Title: Re: Grub - boot *NOT* in last kernel
Post by: janet on October 01, 2016, 04:54:42 PM
SchulzStefan

Quote
Maybe yum upgrade --exclude kernel?
Well yes as long as you remember next time.

You seem to be wanting to use a more involved answer, than a simple one.
What's wrong with specifying the kernel version to load using
default=1
in grub.conf
You can make changes in grub.conf & they will be retained.
Title: Re: Grub - boot *NOT* in last kernel
Post by: CharlieBrady on October 01, 2016, 06:29:14 PM
It seems that this kernel is not 100% compatible with the motherboard. The machine looses the USB-bus. I opened a bug already.

bugzilla.redhat.com would be the best place to open that bug.

Check that your BIOS is up to date.