Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1F66bN-00026M-M4 for mharc-grub-devel@gnu.org; Mon, 06 Feb 2006 08:40:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F66bH-00024b-VU for grub-devel@gnu.org; Mon, 06 Feb 2006 08:40:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F66bF-00023F-CT for grub-devel@gnu.org; Mon, 06 Feb 2006 08:40:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F66bE-00022L-6i for grub-devel@gnu.org; Mon, 06 Feb 2006 08:40:12 -0500 Received: from [194.109.24.27] (helo=smtp-vbr7.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F66am-0002GU-Ly for grub-devel@gnu.org; Mon, 06 Feb 2006 08:39:44 -0500 Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by smtp-vbr7.xs4all.nl (8.13.3/8.13.3) with ESMTP id k16DagHN062613 for ; Mon, 6 Feb 2006 14:36:44 +0100 (CET) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <8764nve1ic.fsf@xs4all.nl> <1113.213.81.186.66.1139225681.squirrel@mail.morph.sk> From: Marco Gerards Date: Mon, 06 Feb 2006 14:36:40 +0100 In-Reply-To: <1113.213.81.186.66.1139225681.squirrel@mail.morph.sk> (Lubomir Kundrak's message of "Mon, 6 Feb 2006 12:34:41 +0100 (CET)") Message-ID: <87r76gy5g7.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: booting grub, loading kernels and unloading kernels question X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 13:40:18 -0000 "Lubomir Kundrak" writes: >> "adrian15" writes: >> >>> Can we boot grub >>> and boot linux >>> so that >>> linux don't write on grub reserved memory (let's say first 640k) >>> And then make an special halt command >>> that halts linux and boots again grub? (without rebooting) > > When we discussed thhis on IRC i expressed an idea of having grub in linux > kernel format. Then we could use kexec facility to return to grub. But it > would also need patching linux so that it doesnt't clobber BIOS memory. > NetBSD takes care not to do so afaik, so if kloader worked on i386 thhis > could be another option. I personally don't think it is feasible and worth the effort. >> >> GRUB depends on the BIOS to function. I think linux changes the >> hardware state too much. So even if you can return to GRUB, I don't >> think the hardware state is reliable enough for GRUB or the BIOS to >> function reliably and properly, if it is possible at all. > > Hardware state? What hardware is in question, except disks? It can be all hardware. Like how IRQs are routed, which set of keyboard scancodes are used, video state, etc. -- Marco