Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NR0RH-0006rP-Gb for mharc-grub-devel@gnu.org; Sat, 02 Jan 2010 04:38:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NR0RE-0006qv-Ty for grub-devel@gnu.org; Sat, 02 Jan 2010 04:38:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NR0R9-0006qL-5Q for grub-devel@gnu.org; Sat, 02 Jan 2010 04:38:23 -0500 Received: from [199.232.76.173] (port=57843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR0R9-0006qI-09 for grub-devel@gnu.org; Sat, 02 Jan 2010 04:38:19 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:50794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NR0R8-0005Rm-7j for grub-devel@gnu.org; Sat, 02 Jan 2010 04:38:18 -0500 Received: from [85.180.8.170] (e180008170.adsl.alicedsl.de [85.180.8.170]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MJVXP-1NNzdE1ywN-003Eva; Sat, 02 Jan 2010 10:38:15 +0100 From: Felix Zielcke To: The development of GNU GRUB In-Reply-To: <20100101230531.540b4f22@pbmiha.malagasy.com> References: <20100101230531.540b4f22@pbmiha.malagasy.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 02 Jan 2010 10:38:14 +0100 Message-ID: <1262425094.2862.0.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.29.3.2 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX199tmPpgFe/N6Kg9ryofFfS5vidBxhn50nK4iL LUctqEDlb0Q4UvkNHCVhx6ml8dkKgT6mRujJ+GzOFvNBEJHeeI PzC6I2TazvUTYqp+N3MF5S1+k2IE2L8 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: revert in grub2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 09:38:25 -0000 Am Freitag, den 01.01.2010, 23:05 +0300 schrieb Mihamina Rakotomandimby: > Manao ahoana, Hello, Bonjour, > > How to reproduce the "revert" LILO feature with GRUB2? > > I believe everyone here knows what it is, but a quick explanation for > those not knowing: > With LILO, I can setup a default image to boot on. > But, I also can setup the next entry to boot on, that may be different > to the default one. > After that first following boot, the default entry will be used. > > What usage? > It is usefull for me when testing a kernel on a remote > server. I set the default to a reliable boot image. I set the "revert" > to the testing one. I boot: it boots on the "revert" one. > If it ever doesnt boot, I initiate a hard reboot (electric cutoff) and > then it boots on the safe one. > > I play with LILO just for that feature, I would like to switch to > GRUB. > > Misaotra, Thanks, Merci. Experimental branch has grub-reboot to boot an entry only once for the next reboot. But unfortunately this currently due to a bug just defaults to grub-set-default, i.e. always boot that entry then. -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer