[blfs-support] moving lfs

Kenno Han kennohan at gmail.com
Fri Mar 22 02:23:36 PDT 2013


Pretty simple, I have been successfully copy a whole LFS system to another
media without no problem. What you want to have is just another Linux
distro running to make sure that the dev, proc, sys, and run folder to be
populated.

>From there, just tar it all and untar it anywhere else.
This method works just fine with me.
On Mar 20, 2013 5:55 PM, "Baho Utot" <baho-utot at columbus.rr.com> wrote:

> On 3/20/2013 3:04 PM, Bruce Dubbs wrote:
> > Bruce Dubbs wrote:
> >> Armin K. wrote:
> >>
> >>> 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.
> >> Yes, you can also use a livecd to do something like this:
> >>
> >> mkdir -p /mnt/{oldroot,newroot}
> >> mount /dev/sd<old> /mnt/oldroot
> >> mount /dev/sd<new> /mnt/newroot
> >>
> >> cd /mnt/oldroot
> >>
> >> tar -cf - . | tar -xf -C /mnt/newroot -
> > Let me also add that if you have a new disk, partition it using gdisk to
> > get a GPT Partition table.  No more extended/logical partitions!  Only
> > 128 primary partitions.  It also keeps partitions on 1MiB boundaries
> > which I find useful.
> >
> >     -- Bruce
> >
> >
>
> I have done some (not much) research and it looks like linux only
> supports booting to gtp partitions only if using 64 bit os.  This is
> from the Fedora site.  I am going to Arch linux site to see if they say
> the same.
>
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20130322/27755ac2/attachment.html>


More information about the blfs-support mailing list