grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Starting a kernel out of a running kernel...


From: Volker Jung
Subject: Starting a kernel out of a running kernel...
Date: Tue, 16 Jan 2007 00:53:37 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]