mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dragoslav Zaric <dragoslav.zaric.kd@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Boot correct kernel
Date: Mon, 9 Mar 2009 15:21:24 +0100	[thread overview]
Message-ID: <2d05c4580903090721p2a6022base9e7dafa719e448e@mail.gmail.com> (raw)

Hello,

I had generic kernel 2.6.27-7 and it worked fine. Then I installed
2.6.28 that had errors during
install, but system anyway booted to 2.6.28. When I did apt-get
install of some app in this bad
2.6.28 kernel I got error messages that something is wrong. So I
entered boot menu and booted
to old 2.6.27-7 kernel and when I tried to do apt-get install of some
app, the system again looked at
2.6.28 like current kernel !!

So I looked where does files of current kernel are copied and there
are few folders (files):
/boot/vmlinuz*VERSION*
/boot/initrd*VERSION*
/boot/System-map*VERSION*
/boot/config-*VERSION*
/lib/modules
and also menu list in /boot/grub/menu.lst

So, when you have more kernels, let's say 4 working and one bad
kernel, when the system
boots selected kernel, should the system copy all files from selected
kernel to all places where
current running system kernel should be ?? That way you will always
have correct kernel running
whole system, and all installed modules for that kernel could be
loaded looking at modinfo of modules
or modules could be sorted into folders for each kernel version.

-- 
Thanks

Dragoslav Zaric
[Programmer ; M.Sc. in Astrophysics]
[Belgrade ; Serbia]

             reply	other threads:[~2009-03-09 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 14:21 Dragoslav Zaric [this message]
2009-03-09 16:39 ` Sitsofe Wheeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d05c4580903090721p2a6022base9e7dafa719e448e@mail.gmail.com \
    --to=dragoslav.zaric.kd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®