Results 1 to 1 of 1

Thread: Backup MBR on linux server....

  1. #1
    Join Date
    Sep 2005
    Posts
    122

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •