Re: [lfs-support] Copy & Shift actual status of LFS to a faster device / compiling with a virtual partition
On 10/29/17 10:05 PM, DJ Lucas wrote: On 10/29/2017 01:39 PM, Michael D. wrote: On 10/29/17 2:04 PM, Axel wrote: Dear all, now I reached chapter6.20. My host is an Aspire one with 4.9.0-4-amd64 and not very fast. But I want to install LFS on this device finally. I think about to use another device with with an amd64 processor as well (Asus) to compile LFS and to shift the final OS to the old Aspire. Hi Axel, That shouldn't be a problem, but be sure to set the correct ARCH/CPU in your C(XX)FLAGS to avoid the compiler to use/implement Instructions Sets on the powerful computer, that isn't available on your target computer. export CFLAGS="-march=" export CXXFLAGS=$CFLAGS f Been a while since I've done anything like this...one other gotcha is the final gmp build, make sure to copy config.fsf. Reminded me of this command: gcc -v -march=native -Q --help=target It'll give you a complete list of flags that's available/unavailable on the Aspire CPU in question. I figure (no guarantees given) that one could use that list in the C(XX)FLAGS on the ASUS to make it match the Target CPU's capabilities. ./Michael -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Copy & Shift actual status of LFS to a faster device / compiling with a virtual partition
On 10/29/2017 01:39 PM, Michael D. wrote: On 10/29/17 2:04 PM, Axel wrote: Dear all, now I reached chapter6.20. My host is an Aspire one with 4.9.0-4-amd64 and not very fast. But I want to install LFS on this device finally. I think about to use another device with with an amd64 processor as well (Asus) to compile LFS and to shift the final OS to the old Aspire. Unfortunately I have no free space an the Asus and do not like to change anything on the LVM partitions. Can I create a virtual partition (file) with dd and mount it instead of a "real" partition on the Asus? Can I copy the actual status on the Aspire to the virtual partition of the Asus to build the next steps faster? Hi Axel, That shouldn't be a problem, but be sure to set the correct ARCH/CPU in your C(XX)FLAGS to avoid the compiler to use/implement Instructions Sets on the powerful computer, that isn't available on your target computer. export CFLAGS="-march=" export CXXFLAGS=$CFLAGS f Been a while since I've done anything like this...one other gotcha is the final gmp build, make sure to copy config.fsf. --DJ -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Copy & Shift actual status of LFS to a faster device / compiling with a virtual partition
On 10/29/17 2:04 PM, Axel wrote: Dear all, now I reached chapter6.20. My host is an Aspire one with 4.9.0-4-amd64 and not very fast. But I want to install LFS on this device finally. I think about to use another device with with an amd64 processor as well (Asus) to compile LFS and to shift the final OS to the old Aspire. Unfortunately I have no free space an the Asus and do not like to change anything on the LVM partitions. Can I create a virtual partition (file) with dd and mount it instead of a "real" partition on the Asus? Can I copy the actual status on the Aspire to the virtual partition of the Asus to build the next steps faster? Hi Axel, That shouldn't be a problem, but be sure to set the correct ARCH/CPU in your C(XX)FLAGS to avoid the compiler to use/implement Instructions Sets on the powerful computer, that isn't available on your target computer. export CFLAGS="-march=" export CXXFLAGS=$CFLAGS $ dd if=/dev/zero of=LFS_Part.img bs=1M count=20480 $ mkfs.ext4 LFS_Part.img $ sudo mount -o loop LFS_Part.img /mnt/lfs Tar/Untar as discussed yesterday :) ./Michael -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style