Re: Backup and Restore MBR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 10, 2006 at 09:18:09AM -0600, Aaron Konstam wrote:
> On Sun, 2006-12-10 at 07:01 +0530, Vivek J. Patankar wrote:
> > On 12/10/06, Hadders <fedora@xxxxxxxxxxxxxxxxx> wrote:
> > > I'm going to install Vista (dual-boot) and was wondering if it was easy
> > > to just back it up rather than running grub?
> > 
> > # dd if=/dev/hda of=/path/filename bs=512 count=1
> No, No, NO. The MBR is only the first 446 bytes of block 0. The rest is
> the partition table. I assume you don't want to rewrite the partition
> table.

Quite. So you save the partition table separately:

sfdisk -d /dev/hda > foo.txt

For more than you ever wanted to know about how to do this sort of
thing,
http://www.charlescurley.com/Linux-Complete-Backup-and-Recovery-HOWTO.html.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpUnKhcPft4O.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux