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

Submitter:  John Hall <esotericbyte>
Submitted:  Thu 12 Aug 2010 03:55:58 PM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  Wont Fix Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  1.98
Release:  Reproducibility:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-08-12 phcoder StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code