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 <[email protected] <mailto:[email protected]>>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 [email protected] <mailto:[email protected]> https://lists.gnu.org/mailman/listinfo/grub-devel-- RegardsVladimir 'φ-coder/phcoder' Serbinenko
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
