LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   MBR Recovery automatization with Boot-Floppy? (http://www.linuxquestions.org/questions/linux-general-1/mbr-recovery-automatization-with-boot-floppy-437711/)

Sören Schneider 04-22-2006 09:06 AM

MBR Recovery automatization with Boot-Floppy?
 
Well, as I see there are lots of lost Partition here.

Could somebody explain howto make something like this:

A Boot Floppy where the MBR-Backup-File is on.

A Script should copy the MBR-Backup-File to the MBR with dd so after rebooting the OS should find the partitions again.

This shouldn't be so difficult to realize.

Lots of people would be helped.


Thanx

Sören

TigerOC 04-22-2006 04:37 PM

If you are using grub and you have the system correctly configured for the current partitions then you should format a NEW floppy and do as root;
grub-install /dev/fd0
I personally keep bootcd version because it is more reliable than a floppy because a floppy always fails when you need it most.

Sören Schneider 04-22-2006 08:00 PM

OK, but how do I do some like that?

TigerOC 04-23-2006 05:36 AM

Quote:

Originally Posted by Sören Schneider
OK, but how do I do some like that?

make a boot cd?

saikee 04-23-2006 06:51 AM

You should find all the answers in the last link of my sigature. All methods to restore Windws MBR, Grub and Lilo. Making bootable CDs too.


All times are GMT -5. The time now is 11:25 PM.