Resizing partitions and copying data with dd - SOLVED

McDougall, Marshall (FSH) MarMcDouga at gov.mb.ca
Mon Mar 6 14:18:44 UTC 2006


 Thanks to all who responded.  Jack's method is the closest to what I
finally ended up doing.  The next time I do undertake this exercise, I
will pursue the Live CD method.  I'm sure it will simplify things.
Thanks again everybody.

Regards, Marshall

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Jack Challen
Sent: Monday, March 06, 2006 3:25 AM
To: General Red Hat Linux discussion list
Subject: Re: Resizing partitions and copying data with dd

McDougall, Marshall (FSH) wrote:
> Thanks, Mike, but that didn't work either.  It wanted to take
> everything, including all the data from the other mounts, and put it
> under /newroot, not just the / contents.

You can try using

cp -dpR /* /newroot

however, considering you're doing this from a live system, I think the 
expected results qualify as "undefined" :)
It'll also complain about attempting to copy /newroot inside itself, but

you can ignore that.

If you want to do this the Right Way, boot from a LiveCD and copy 
between the two partitions.

cheers
jack

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list