[ale] HOWTO->copy over the MBR to a mirrored HD
Michael Still (mikes)
MikeS at McBurney.com
Fri Jan 25 12:52:49 EST 2002
This is exactly what I ended up doing with my little 'poor man's mirror' I
asked about the other day. I did a dd of the /boot and a dd of the mbr like
so: dd if=/dev/sda of=/dev/sdb bs=512 count=1 and then dd if=/dev/sda1
of=/dev/sdb1 bs=1024 and then an rsync of the / filesystem. works like a
champ. I run it in a cronjob every night now. you have to use dd on the
/boot filesystem because a copy won't guarantee the location of the boot
image file (vmlinuz...)
--------------------------------------
Michael Still (MikeS at McBurney.com)
System Administrator
The McBurney Corporation
--------------------------------------
-----Original Message-----
From: Courtney Thomas [mailto:ccthomas at flash.net]
To: ale at ale.org
Sent: Friday, January 25, 2002 1:53 PM
To: ale at ale.org
Subject: [ale] HOWTO->copy over the MBR to a mirrored HD
Greetings !
I assume that if I copy over the filesystems from one HD to another, and
then the MBR, that I will have a bootable/usable copy of the the
original HD.
How do I duplicate the MBR from one to the other without disrupting the
filesystems to accomplish said goal ?
Debian-2.4.6 if it matters.
Appreciatively,
Courtney
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list