Bug 177941
Summary: | Backup MBR during install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | n0dalus <n0dalus+redhat> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | sundaram |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-14 21:08:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
n0dalus
2006-01-16 18:29:34 UTC
can you outline the exact steps one would use to use a backup file? You should be able to do this manually right now via the installer's provided virtual console facilities. Can you generate such a file manually right now and then place it back manually under rescue mode to revert back? Couldn't we just start up with instructions to do this manually using the provided console facilities in the installation guide to aid people who are attempting to do dualboots? -jef (In reply to comment #1) > can you outline the exact steps one would use to use a backup file? Not sure if you mean 'use to make a backup file' or 'take to use a backup file'... I don't know where or how grub-install is called from, but assuming it is passed an argument for the location of the block file to install itself to, the command is: dd if=/dev/hdx of=/mnt/sysimage/root/mbr.backup bs=512 count=1 Where hdx is the hard drive that grub will be installing to (can be SCSI, IDE, it shouldn't matter). Putting the backup file back is as easy as swapping the if= and of= parameters around. This can be done using the console facilities, but putting it in the installer would be great. The command only takes a fraction of a second. This is an admin-specific feature that we're not going to add it to anaconda. We do provide enough facilities to be able to do this sort of thing on your own if you would like it. If you want this because the system is being left in an unbootable state after installation, that's definitely a bug that needs to be fixed. Please file a report if that's the case. Thanks. |