On Thu, 22 Nov 2007 13:14:57 +0100 "brullo nulla" <[EMAIL PROTECTED]> wrote:
> > > But I was thinking: if my old drive is 200 Gb and my new drive is > > > 320 Gb, what happens to the partition table? That is, the old > > > partition table will refer to a 200 Gb disk, on a 320 Gb disk. > > > What happens to the 120 Gb left? Are they recognized as an empty > > > partition? Are they left unrecognized? > > > > > > Maybe I should just dd the MBR and then repartition the disk and > > > use cp for the rest. > > > > You'll need to fdisk it with a LiveCD and delete the old small > > partition, then create a new one in its place occupying the rest of > > the new larger disk. *BE VERY CAREFUL* to start the new partition > > *exactly* where the old one starts. Finally, reboot (to read the > > new partition table) and resize the fs to fit the expanded > > available physical space. > > Hmm. Guess I'll just dd the 512-mb grub bootloader and then proceed by > copying everything in new partitions, all from a livecd. 512 _bytes_, not MB! and that includes the (first) partition table and boot signature. So really, you only want to copy 446 bytes. http://www.geocities.com/rlcomp_1999/procedures/mbr.html > m. -- [EMAIL PROTECTED] mailing list