bugGNU GRUB - Bugs: bug #30760, autorecovery module and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30760: autorecovery module and grub-install wrapper

Submitted by:  John Hall <esotericbyte>
Submitted on:  Thu 12 Aug 2010 03:55:58 PM UTC  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Feature Request
Status: Wont FixPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: None
Planned Release: None

Thu 12 Aug 2010 05:31:41 PM UTC, comment #1:

GRUB doesn't write anything on the disk besides grubenv and this
is by design since writing always has an inherent risk of getting
it wrong and corrupting user data. The possible benefits of
saving the configuration or permanent GRUB recovery (as opposed
to one-shot boot) isn't of sufficient value when it's compared to
the risk of losing user data.

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 12 Aug 2010 03:55:58 PM UTC, original submission:

From version 2 forward maintain backward compatibility with a limited number of file system modules and an autorecovery module. This module would work together with a wrapper around grub-install.

The feature in the module would work as follows:
When an error is encountered but before dropping to grub recovery the system will look for and try to load the autorecovery module.

It will alert the user and ask if it should try to recover or drop to the prompt. If the user chooses to recover the autorecovery module will search for a folder containing a file called grubbuild that contains the build id of the stage 1 binary. It will then try to set prefix and insmod and execute normal.

The wrapper or addtion to grub-install would look in the place that grub will look for modules and will check to see that the grubbuild matches the stage 1 binary. If it finds a mismatch it will offer to backup and update this directory with new modules.
It would also ask if you want to retain older versions in a backup folder or discard them.

John Hall <esotericbyte>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by esotericbyte (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 12 Aug 2010 05:31:41 PM UTCphcoderStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1