Re: Moving/copying the MBR

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



John R Pierce wrote:
John Summerfield wrote:
Luciano Miguel Ferreira Rocha wrote:
On Wed, Apr 11, 2007 at 10:48:36AM -0700, Mark Hull-Richter wrote:
Are there any tools for working with and moving or copying the MBR?

My machine has 2 PATA drives (hda & hdb) and 2 SATA drives (sda & sdb). The
MBR is on hda,

Actually, its on every drive.

Not exactly, there is space for it, it's the first sector, but 512 bytes of zeroes doesn't really qualify.

the MBR includes the primary partition table in addition to the stage 1 boot code.

except when the drive's not partitioned. New drives are not, and I don't know a reason you must: I'm sure this will work fine:

mke2fs /dev/hda






--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux