[blfs-support] moving lfs

Armin K. krejzi at email.com
Wed Mar 20 11:44:10 PDT 2013

On 03/20/2013 07:41 PM, Nicholas McCurdy-Luksch wrote:
> If you do indeed have a spare disk kicking around, I'd make a giant tar of the entire tree as an additional backup.
> And i tend to like using DD (with care) over rsync for whole partition movements too.
> Nicholas McCurdy-Luksch
> mindwarpstudios at aim.com
> lfs65 at cruziero.com wrote:
>>>  From blfs-support-bounces at linuxfromscratch.org Wed Mar 20 18:26:50 2013
>>> Date: Wed, 20 Mar 2013 19:19:46 +0100
>>> From: Sven Bartscher <svenbartscher at yahoo.de>
>>> To: BLFS Support List <blfs-support at linuxfromscratch.org>
>>> Subject: [blfs-support] moving lfs
>>> i want to move my lfs-system on a logical partition because i have
>>> already four primary partitions on my drive and can't create any new but
>>> want a few more. So to do that i would:
>>> copy (with rsync) all the files from the lfs partition on another
>>> temporary partition (on another drive)
>>> delete the old partition and create the new logical partitions
>>> copy everything from the temporary partition back on the logical one
>>> edit /etc/fstab (obviously)
>>> i don't have to create a initramfs because i already have one.
>>> I there something i forgot? Something i don't need to do? Something i
>>> have to take care about? I'm really scared about something goes wrong,
>>> or something goes lost and all my work on my lfs-system is gone. How can
>>> i make sure that everything is copied right? Can i just be sure that
>>> rsync does everything right? Is there something else i should be
>>> scared/afraid of?
>>> with hopefull (and scared) regards
>>> Sven
>> I tend to find that dd and cpio are better than rsync &c for such stuff, as
>> there's less hassle over device-files and such like.
>> rgds,
>> akh

Please don't top post. I am for tar approach, but in that case no need 
for "dd" ... If you use "dd" you'll get a copy of your partition which 
will be the same size as your partition - not cool if you want to resize 
it. Just extract the tarball on the new partition - worked for me always.

More information about the blfs-support mailing list