From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JbiYj-0003Ld-JL for mharc-grub-devel@gnu.org; Tue, 18 Mar 2008 16:37:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbiYh-0003Kq-KQ for grub-devel@gnu.org; Tue, 18 Mar 2008 16:37:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbiYf-0003KR-1c for grub-devel@gnu.org; Tue, 18 Mar 2008 16:37:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbiYe-0003KO-RC for grub-devel@gnu.org; Tue, 18 Mar 2008 16:37:16 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JbiYe-00071v-Gy for grub-devel@gnu.org; Tue, 18 Mar 2008 16:37:16 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 18 Mar 2008 16:37:15 -0400 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 13972619058 for ; Tue, 18 Mar 2008 16:37:15 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <200803182131.29217.bhyoram@zahav.net.il> References: <200803162241.25560.bhyoram@zahav.net.il> <1205700552.10969.15.camel@dv> <20080318120213.GA13822@thorin> <200803182131.29217.bhyoram@zahav.net.il> Content-Type: text/plain Date: Tue, 18 Mar 2008 16:37:13 -0400 Message-Id: <1205872633.29205.6.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: whereis grub shell ? 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: Tue, 18 Mar 2008 20:37:20 -0000 On Tue, 2008-03-18 at 21:31 +0200, yoram bar haim wrote: > On Tuesday 18 March 2008 14:02:13 Robert Millan wrote: > > But it isn't the "grub shell" any > > So a real grub-hsell functionality does not exist anymore ? It depends on what you mean. > I work on grub2 support in the restart menu of kde4 everything (parsing > grub.cfg and letting the user choose boot option) works except of really > settings the defualt option for next boot... I can modify grub.cfg but is > ugly. is there a good way to do this ? In my opinion, modifying anything by directly accessing the filesystem on a running OS is much, much uglier. > on leggacy grub it is done simply by running "grub --batch" with pipe and > writing "savedefault --defualt=n" to the pipe, what can be done in grub2 ? There is no "savedefault". It hasn't been implemented yet. And if it's implemented, I would actually prefer that grub-emu is only allowed to do it by the means of hostfs, not directly. -- Regards, Pavel Roskin