[blfs-support] moving lfs

Baho Utot baho-utot at columbus.rr.com
Wed Mar 20 17:55:12 PDT 2013


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.






More information about the blfs-support mailing list