Koozali.org: home of the SME Server

Grub - boot *NOT* in last kernel

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Grub - boot *NOT* in last kernel
« 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
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Grub - boot *NOT* in last kernel
« Reply #1 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)
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Grub - boot *NOT* in last kernel
« Reply #2 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.
« Last Edit: October 01, 2016, 08:35:00 AM by SchulzStefan »
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Grub - boot *NOT* in last kernel
« Reply #3 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 ....



Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Grub - boot *NOT* in last kernel
« Reply #4 on: October 01, 2016, 01:57:51 PM »
Maybe yum upgrade --exclude kernel?
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Grub - boot *NOT* in last kernel
« Reply #5 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Grub - boot *NOT* in last kernel
« Reply #6 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.