On Friday 06 June 2003 10:54 am, Mike Hicks wrote:
> Are you getting a replacement that is the same make/model?  If so, the
> drive should be the same size, so you can do the "Ghetto Ghost" trick of
> something like
>
>   dd if=/dev/hda of=/dev/hdb bs=64k
>
> assuming that you have the old drive as master, and the new one as
> slave..
>
> This *should* also work if the new drive is bigger (but you'd only want
> to do this if there is only a small difference in size -- otherwise you
> could be wasting valuable space)

You can also do this if its larger, and just modify the partition table 
afterwards- either make an additional partition(s) in the other space, or you 
can delete the partition, and add it again (must have the same start boundry 
to work) only larger. If you do that, you need grow2fs (for ext[2|3], other 
utilities exist for other filesystems).  

Jay

-- 
Jay Kline
http://www.slushpupie.com


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list