From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RzmlR-0000hM-GS for mharc-grub-devel@gnu.org; Tue, 21 Feb 2012 05:16:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzmlK-0000gt-45 for grub-devel@gnu.org; Tue, 21 Feb 2012 05:16:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzmlE-0000WX-WF for grub-devel@gnu.org; Tue, 21 Feb 2012 05:15:57 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:45302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzmlE-0000WL-RK for grub-devel@gnu.org; Tue, 21 Feb 2012 05:15:52 -0500 Received: by eaag11 with SMTP id g11so2653401eaa.0 for ; Tue, 21 Feb 2012 02:15:51 -0800 (PST) Received-SPF: pass (google.com: domain of phcoder@gmail.com designates 10.14.28.137 as permitted sender) client-ip=10.14.28.137; Authentication-Results: mr.google.com; spf=pass (google.com: domain of phcoder@gmail.com designates 10.14.28.137 as permitted sender) smtp.mail=phcoder@gmail.com; dkim=pass header.i=phcoder@gmail.com Received: from mr.google.com ([10.14.28.137]) by 10.14.28.137 with SMTP id g9mr12469282eea.94.1329819351581 (num_hops = 1); Tue, 21 Feb 2012 02:15:51 -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=c5SMZwDFbe3kDfERoTuPEREi/I/sLrZbhPF84UOEVdo=; b=gQwzDQz5jvcGeITiYoG83zLpp8mbXlLIsAXSXzRR5sjTbo7a+4IqK+BaFB1sTwrbhm tLkg2fDZJiBxWIVpYFHCLFSo1bmkYL2SeUv0a7ZFt+mV3ETkJ+GMDSOx8RuanBI8EkCu 1I/vvMyj3X8zpcfmJe4z2AUugQhmkaL8d8JGM= Received: by 10.14.28.137 with SMTP id g9mr9956377eea.94.1329819350038; Tue, 21 Feb 2012 02:15:50 -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 n52sm88559082eea.5.2012.02.21.02.15.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Feb 2012 02:15:48 -0800 (PST) Message-ID: <4F436ED0.5050405@gmail.com> Date: Tue, 21 Feb 2012 11:15:44 +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: The development of GNU GRUB Subject: Re: grub-0.97 reboot References: 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: 209.85.215.169 Cc: pulkit 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 10:16:04 -0000 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