From: Volker Jung <volker.jung@flexible-solutions.de>
To: grub-devel@gnu.org
Subject: Starting a kernel out of a running kernel...
Date: Tue, 16 Jan 2007 00:53:37 +0100 [thread overview]
Message-ID: <45AC1401.2050503@flexible-solutions.de> (raw)
Hello,
is there a solution for starting a new Linux kernel out of a running Linux
kernel using GRUB or a changed GRUB? First I thought I could use LILO. But LILO
runs in real mode, not having any idea about protected mode. GRUB runs in
protected mode itself - in order to boot an OS it has to switch back to real
mode or to prepare the protected mode control registers of the CPU to start the
OS. So GRUB may be able to pass control from one kernel to the other.
The idea: Instead of using GRUBs abilities to do various things inside a shell
one could use it to boot a complete Linux. Then one can do everything one wants
and afterwards one could start the desired system WITHOUT rebooting.
Perhaps this sounds crazy but there is a problem where this idea would be
helpful: So you could implement a read only failsafe system that starts again
whenever you reset your remote server and out of this system (remotely
controlled via SSH or similar) you could start the desired system WITHOUT having
to reboot which would again start the failsafe system which isn't the thing one
wants. You can call this "GRUB with a fully featured OS"...
In LILO this behaviour could be implemented using the -R option - but this
assumes a read write medium...
Any suggestions?
Thanks in advance
Volker
next reply other threads:[~2007-01-15 23:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 23:53 Volker Jung [this message]
2007-01-16 8:11 ` Starting a kernel out of a running kernel Jan C. Kleinsorge
2007-01-16 14:18 ` Brian Sammon
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=45AC1401.2050503@flexible-solutions.de \
--to=volker.jung@flexible-solutions.de \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.