[Wylug-help] Switching the system to a new hard drive

James Holden wylug at jamesholden.net
Mon Feb 11 12:38:30 GMT 2008


On Mon, Feb 11, 2008 at 12:33:18PM +0000, John Hodrien wrote:
> On Mon, 11 Feb 2008, James Holden wrote:
> 
> >>I'm a fan of tar for this job - but it helps if the root partition is not
> >>mounted, so boot Knoppix or similar from a cdrom.
> 
> Any real reason to dislike dump?  I've always got on quite well with it, as
> long as you set the blocksize to be something large (which makes quite a
> difference to performance).
> 
> >By bind-mounting the root filesystem, you'll be able to grab a copy of
> >it without getting unwanted /proc or /dev udev cruft.
> 
> Something wrong with --one-file-system?  I know that doesn't catch things 
> that
> are "over mounted", but typically that's not the case.

Because there's often static stuff in /dev/ that needs to be caught
before udev comes up.

I've also come across a situation recently when restoring an Ubuntu box
from tape that meant that unless there was a /var/run directory there
before /var is mounted, the networking failed to start.

James

> 
> jh
> 
> -- 
> "Four boxes to be used in defense of liberty: soap, ballot, jury, ammo - use
>  in that order."                                    -- Ed Howdershelt
> 
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/wylug-help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://list.wylug.org.uk/pipermail/wylug-help/attachments/20080211/d7768061/attachment.bin


More information about the Wylug-help mailing list