On Thursday 29 May 2003 7:05 am, Jonathan Dlouhy wrote:
> On Wednesday 28 May 2003 11:51 pm, Stephen Kuhn wrote:
> > On Thu, 2003-05-29 at 13:28, Jonathan Dlouhy wrote:
> > > What's the best way to copy the contents of my boot drive to another
> > > drive so I get everything copied over?
> >
> > Boot DRIVE? Or /boot partition?
> >
> > cp -rf /boot/* /finaldestination/whereitgoes/

That wont copy the MBR and partition tables, so you'll need to install lilo on 
the new drive if you want it to be bootable.

> Boot drive. I want to copy the whole drive to another drive because I want
> to save my L-M 9.0 system and try upgrading the other drive with 9.1, which
> I've had problems with when doing a clean install. I realize I should have
> fewer problems dong a clean install, but I don't.

As a quick and dirty copy, dd should be fine, so long as the target drive is 
at least as big as the source drive. You can repartition/reformat it later 
when you've sorted out your problems and got a working install on your 
original drive.
If you end up with the working install on the new drive then you might lose 
any extra space.

If I were you, I'd do the dd in single-user mode (#telinit 1) to reduce the 
chances of the drive's contents changing during the copy.

-- 
Richard Urwin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to