Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Re: cloning bootable hard drive



 
On Wed, 2008-02-27 at 09:46 -0500, Derek Atkins wrote: 
> Jarod Wilson <[hidden email]> writes: 
> 
> >> How are you copying the drive?  I would do: 
> >> 
> >>  dd if=/dev/<olddrive> of=/dev/<newdrive> bs=1m 
> > 
> > Assuming <newdrive> is at least as big as <olddrive>, that should work 
> > too. Some potential fixups needed to make proper use of additional space 
> > on a larger drive though. I went from a 120G drive to a 250G drive in my 
> > laptop, and wanted to expand each of my partitions, so my previously 
> > mentioned rsync method worked much better for me. 
> 
> True, the dd assumes the new drive is >= the old drive, 
> which is usually the case nowadays.  Yes, you need to do 
> some special work to make more use of the space.  However 
> if you wanted to redo ALL the paritions then you will lose 
> your bootability because the MBR wont point to the right 
> place to find the boot loader.  So you'd need to re-install 
> grub. 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org