-
Backup MBR on linux server....
Backup MBR on Linux server
How to take a backup for hard disk partition table on any Linux server is given below.
It is always recommended that one should take backup of hard disk partition table that is MBR.
we can use dd command to take a backup for MBR.
=================================
[root@sweden ~]# dd if=/dev/hdX of=/tmp/hda-mbr.bin bs=512 count=1
=================================
Please replace X with the actual device name. ex. /dev/hda or /dev/sda
In order to restore it back on the server, use following command
=================================
[root@sweden ~]# dd if= hda-mbr.bin of=/hev/hdX bs=1 count=64 skip=446 seek=446
=================================
Last edited by tejaswini; 11-02-2008 at 07:23 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks