Skip to Content.
Sympa Menu

baslinux - Re: [BL] Can BL copy Win98?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Karolis Lyvens <karolisl AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Can BL copy Win98?
  • Date: Tue, 28 Nov 2006 19:28:01 +0200

On Tue, Nov 28, 2006 at 12:52:57AM +0000, sindi keesan wrote:

> > If you need to clone MBR from hda to hdc (there's only one MBR in whole
> > disk, so, AFAIK, you don't need partition number (hda1, hdc1)), then
> > the command is:
> >
> > --
> > dd if=/dev/hda of=/dev/hdc bs=512 count=1
>
> I did that and it messed up the second drive, which was a different size
> from the first (larger) so I had to delete the partitions with fdisk and
> remake and reformat. This was after copying just hda1 to hdc1, where hda1
> was 325MB and the only partition, and hdc1 was 326MB and one of two
> partitions.

Sorry, i did not take in consideration that dd's MBR cloning doesn't
really work for hard drives of different sizes.

So it copied a bigger disk's boot record+partition table to a smaller
disk, and overwrited smaller disk's own partition table...




Archive powered by MHonArc 2.6.24.

Top of Page