All of lore.kernel.org
 help / color / mirror / Atom feed
* grub-0.97 reboot
@ 2012-02-21  9:21 pulkit
  2012-02-21 10:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 5+ messages in thread
From: pulkit @ 2012-02-21  9:21 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hi all,

I want to add a small feature to the grub-0.97.
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

[-- Attachment #2: Type: text/html, Size: 1006 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: grub-0.97 reboot
  2012-02-21  9:21 grub-0.97 reboot pulkit
@ 2012-02-21 10:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-02-21 10:40   ` pulkit
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-02-21 10:15 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: pulkit

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: grub-0.97 reboot
  2012-02-21 10:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-02-21 10:40   ` pulkit
  2012-02-21 12:52     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 5+ messages in thread
From: pulkit @ 2012-02-21 10:40 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

I can upgrade to grub2 but
this can be done with grub2?
2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>

> 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
>
>

[-- Attachment #2: Type: text/html, Size: 2227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: grub-0.97 reboot
  2012-02-21 10:40   ` pulkit
@ 2012-02-21 12:52     ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-02-21 13:29       ` pulkit
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-02-21 12:52 UTC (permalink / raw)
  To: pulkit; +Cc: The development of GNU GRUB

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 <phcoder@gmail.com 
> <mailto:phcoder@gmail.com>>
>
>     On 21.02.2012 10 <tel:21.02.2012%2010>: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 <mailto:Grub-devel@gnu.org>
>         https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
>
>     -- 
>     Regards
>     Vladimir 'φ-coder/phcoder' Serbinenko
>
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: grub-0.97 reboot
  2012-02-21 12:52     ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-02-21 13:29       ` pulkit
  0 siblings, 0 replies; 5+ messages in thread
From: pulkit @ 2012-02-21 13:29 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1904 bytes --]

k..
But i was able to switch to second kernel in case of tampered kernel

Anyways I'll try grub2

2012/2/21 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>

> 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 <phcoder@gmail.com<mailto:
>> phcoder@gmail.com>>
>>
>>
>>    On 21.02.2012 10 <tel:21.02.2012%2010>: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 <mailto:Grub-devel@gnu.org>
>>
>>        https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>>
>>    --     Regards
>>    Vladimir 'φ-coder/phcoder' Serbinenko
>>
>>
>>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>

[-- Attachment #2: Type: text/html, Size: 3134 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-21 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21  9:21 grub-0.97 reboot pulkit
2012-02-21 10:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-21 10:40   ` pulkit
2012-02-21 12:52     ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-21 13:29       ` pulkit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.