recentpopularlog in

kme : harddisk   14

UNIX / Linux: Copy Master Boot Record (MBR)
IMPORTANT: 446 bytes copies *just* the MBR, not the partition table.

Task: Backup MBR and Extended Partitions Schema

Backup /dev/sda MBR, enter:

# dd if=/dev/sda of=/tmp/backup-sda.mbr bs=512 count=1

Next, backup entries of the extended partitions:

# sfdisk -d /dev/sda > /tmp/backup-sda.sfdisk
solution  mbr  backupandrecovery  linux  dd  sysadmin  partitiontable  storage  harddisk 
october 2011 by kme

Copy this bookmark:

to read