Backup and Restore MBR
Charles Curley
charlescurley at charlescurley.com
Sun Dec 10 21:30:24 UTC 2006
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 at workingwithit.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061210/917236f8/attachment-0001.sig>
More information about the fedora-list
mailing list