From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RzpDX-0004Y1-Uy for mharc-grub-devel@gnu.org; Tue, 21 Feb 2012 07:53:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzpDQ-0004X0-Vo for grub-devel@gnu.org; Tue, 21 Feb 2012 07:53:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzpDL-0007SB-7I for grub-devel@gnu.org; Tue, 21 Feb 2012 07:53:08 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:37590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzpDK-0007S7-Uy for grub-devel@gnu.org; Tue, 21 Feb 2012 07:53:03 -0500 Received: by eekc13 with SMTP id c13so2785045eek.0 for ; Tue, 21 Feb 2012 04:53:02 -0800 (PST) Received-SPF: pass (google.com: domain of phcoder@gmail.com designates 10.213.4.78 as permitted sender) client-ip=10.213.4.78; Authentication-Results: mr.google.com; spf=pass (google.com: domain of phcoder@gmail.com designates 10.213.4.78 as permitted sender) smtp.mail=phcoder@gmail.com; dkim=pass header.i=phcoder@gmail.com Received: from mr.google.com ([10.213.4.78]) by 10.213.4.78 with SMTP id 14mr3542526ebq.143.1329828782090 (num_hops = 1); Tue, 21 Feb 2012 04:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FwUQYFHX31paG8Vu0ePy5Q8kVIYiOmNgep0Wg+WM3sk=; b=lbVh+HHT/QnOiK9/5H8+tiQNDAZvAS6R02KwCuHLLn8aSJae8aT8lX2PHE5XMSbvIx ynqMlmiIkzebk9IPiF0JhEs0z5ZadWY6CFhMZOJyfuCyThkO2062xsJV0QPQihCpPSID EVPsHHt/INn61c1r6NGzgYXzrkjWhPUSzUwNk= Received: by 10.213.4.78 with SMTP id 14mr2814032ebq.143.1329828782015; Tue, 21 Feb 2012 04:53:02 -0800 (PST) Received: from debian.x201.phnet (17-234.197-178.cust.bluewin.ch. [178.197.234.17]) by mx.google.com with ESMTPS id o49sm89871675eeb.7.2012.02.21.04.52.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Feb 2012 04:53:00 -0800 (PST) Message-ID: <4F4393A9.2070308@gmail.com> Date: Tue, 21 Feb 2012 13:52:57 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0 MIME-Version: 1.0 To: pulkit Subject: Re: grub-0.97 reboot References: <4F436ED0.5050405@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.83.41 Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Tue, 21 Feb 2012 12:53:14 -0000 On 21.02.2012 11:40, pulkit wrote: > > I can upgrade to grub2 but > this can be done with grub2? yes > 2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko > > > On 21.02.2012 10 :21, pulkit wrote: > > Hi all, > > I want to add a small feature to the grub-0.97. > > GRUB Legacy isn't developped anymore. Please upgrade to GRUB2. > > my disk partition layout is > 1)partition1-Main kernel(A) and rootfs image(A) > 2)partition2-Recovery kernel(B) and rootfs(B). > > I have made two entry for these in menu.lst with default set > to 0 i.e always execute the main kernel. > I am checking sha1 of the kernel during boot time and in case > of sha1 mismatch i want to boot with the > second recovery kernel and do firmware recovery. > > My sha1 is working fine but i am not able to boot with the > second kernel during sha1 mismatch. > > Earlier i thought to edit the configuration file(menu.lst) in > case of sha1 mismatch and use grub_reboot. > But no write support is there for ext in grub-0.97. > So I am looking for another methods > > Regards > Pulkit > > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > > > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko