Re: [lfs-support] create an ISO of the whole LFS system
There is an application for that...g4l-v0.49.iso on sourceforge.net On Sun, Oct 18, 2015 at 7:11 PM, Paul Rogers wrote: > > I have finished LFS and BLFS ver7.7 (init) according to book Please > > excuse me if this has already been asked, I was wondering if it is > > possible to build a distro & create an ISO of the whole system, and > > then when booting the newly burned CD/DVD to install it on > > different PCs? > > Yes, that's very doable, even advisable! Who wants to have to rebuild > the same thing twice from scratch? > > I've been doing that since my 4.1 build over a decade ago. But rather > than just making an ISO image of the built system, then going in and > editing all the files that are different system to system, what I do is > fold the book's instructions into a script template that uses a package > manager to record all the binaries built at each step and capture those > in tarballs. > > There are three different phases in the book's instructions that are not > well separated because it's assumed one is proceeding step by step > following the book, but need to be for this to work. There is a setup > phase, for example adding a user. One must be very careful about, say, > /etc/passwd getting bolixed by injudicious saving and restoring of > tarballs! Then there's the relatively "safe" build phase where binaries > are made and captured. The finish step is where the system specific > configurations, etc., are done. Also when libraries are installed, this > step does the ldconfig. > > I've attached a copy of my build script template. "pio" is my "Package > Installation Observer", i.e. package manager. > > Then I have a straightforward clone script that package by package > executes the setup phase for the new system, restores the as-built > binaries, and executes the finish phase for the system specific > configurations. It's very much like running through the book again, > very quickly. When I'm careful and get it right (fixing oversights is > just part of the process), I can run through my cloning process on some > temporary host system, e.g. Knoppix or LFS Live, shutdown, move drives > if needed, and boot a configured clone that's ready to go. > -- > Paul Rogers > paulgrog...@fastmail.fm > Rogers' Second Law: "Everything you do communicates." > (I do not personally endorse any additions after this line. TANSTAAFL :-) > > > > -- > http://www.fastmail.com - Send your email first class > > > -- > 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 > > -- 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] create an ISO of the whole LFS system
> I have finished LFS and BLFS ver7.7 (init) according to book Please > excuse me if this has already been asked, I was wondering if it is > possible to build a distro & create an ISO of the whole system, and > then when booting the newly burned CD/DVD to install it on > different PCs? Yes, that's very doable, even advisable! Who wants to have to rebuild the same thing twice from scratch? I've been doing that since my 4.1 build over a decade ago. But rather than just making an ISO image of the built system, then going in and editing all the files that are different system to system, what I do is fold the book's instructions into a script template that uses a package manager to record all the binaries built at each step and capture those in tarballs. There are three different phases in the book's instructions that are not well separated because it's assumed one is proceeding step by step following the book, but need to be for this to work. There is a setup phase, for example adding a user. One must be very careful about, say, /etc/passwd getting bolixed by injudicious saving and restoring of tarballs! Then there's the relatively "safe" build phase where binaries are made and captured. The finish step is where the system specific configurations, etc., are done. Also when libraries are installed, this step does the ldconfig. I've attached a copy of my build script template. "pio" is my "Package Installation Observer", i.e. package manager. Then I have a straightforward clone script that package by package executes the setup phase for the new system, restores the as-built binaries, and executes the finish phase for the system specific configurations. It's very much like running through the book again, very quickly. When I'm careful and get it right (fixing oversights is just part of the process), I can run through my cloning process on some temporary host system, e.g. Knoppix or LFS Live, shutdown, move drives if needed, and boot a configured clone that's ready to go. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - Send your email first class template Description: Binary data -- 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
[lfs-support] 6.10. Adjusting the Toolchain - grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' - LFS 7.8/SVN
Could/should grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' be amended to: grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'|grep -v '\-\linux\-gnu' The documentation currently instructs the user to produce output, but then tells him to ignore part of that output: References to paths that have components with '-linux-gnu' should be ignored Yes, it's a longer command and the amendment might be improved, but eliminating the unwanted output would make the disclaimer above unnecessary. -- 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] create an ISO of the whole LFS system
I would be interested in creating a bootable DVD or USB drive. Can you point the way? Thanks, Craig On Sun, Oct 18, 2015 at 11:55 AM, Bruce Dubbs wrote: > mostafa yasin wrote: > >> Dear all, >> >> I have finished LFS and BLFS ver7.7 (init) according to book Please >> excuse me if this has already been asked, I was wondering if it is >> possible to build a distro & create an ISO of the whole system, and >> then when booting the newly burned CD/DVD to install it on different >> PCs? >> > > Yes, it's possible, but you have to be careful when building some packages > when the build system has more capabilities than the target system. We ran > into that recently with gmp. There is a very long thread that discusses > the problem starting at > > > http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-September/077082.html > > -- Bruce > -- > 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 > -- 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] create an ISO of the whole LFS system
mostafa yasin wrote: Dear all, I have finished LFS and BLFS ver7.7 (init) according to book Please excuse me if this has already been asked, I was wondering if it is possible to build a distro & create an ISO of the whole system, and then when booting the newly burned CD/DVD to install it on different PCs? Yes, it's possible, but you have to be careful when building some packages when the build system has more capabilities than the target system. We ran into that recently with gmp. There is a very long thread that discusses the problem starting at http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-September/077082.html -- Bruce -- 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] Upgrading Between Versions
Pierre Labastie wrote: On 18/10/2015 12:29, Rob wrote: Good morning all. I have built and installed LFS, and a few packages from BLFS 7.7. Now I am looking to now upgrade to 7.8. I did not see anything in the book specifically geared toward going between LFS versions. Do I have to do anything different when doing an upgrade rather than going from scratch? I hope this made a little sense. Thank you. I guess BLFS developers warn against upgrading in place, and would recommend starting anew. Normally, to install a newer version of a package, you should remove the previous one, for example using a package manager. On the other hand, when the new version has no modifications in the names of libraries and executables (check the "installed files" paragraphs) a newer version can usually safely overwrite an older one. Some packages are tricky, though. One example is glibc, which has been discussed several times in the list. See for example: http://lists.linuxfromscratch.org/pipermail/lfs-dev/2013-December/068547.html and the associated thread. I update packages over old versions all the time, but as Pierre says, glibc is a problem. If I need to update that, I rebuild the whole system. That said, you don't have to update just because a new package is released. If you don't know why a new release was made, you probably don't need it. I have one system I use every day that was built in 2012. I rarely have to update a package on that system. -- Bruce -- 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] Upgrading Between Versions
On 18/10/2015 12:29, Rob wrote: > Good morning all. > I have built and installed LFS, and a few packages from BLFS 7.7. Now I am > looking to now upgrade to 7.8. I did not see anything in the book specifically > geared toward going between LFS versions. Do I have to do anything different > when doing an upgrade rather than going from scratch? > I hope this made a little sense. > Thank you. I guess BLFS developers warn against upgrading in place, and would recommend starting anew. Normally, to install a newer version of a package, you should remove the previous one, for example using a package manager. On the other hand, when the new version has no modifications in the names of libraries and executables (check the "installed files" paragraphs) a newer version can usually safely overwrite an older one. Some packages are tricky, though. One example is glibc, which has been discussed several times in the list. See for example: http://lists.linuxfromscratch.org/pipermail/lfs-dev/2013-December/068547.html and the associated thread. Pierre -- 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
[lfs-support] Upgrading Between Versions
Good morning all. I have built and installed LFS, and a few packages from BLFS 7.7. Now I am looking to now upgrade to 7.8. I did not see anything in the book specifically geared toward going between LFS versions. Do I have to do anything different when doing an upgrade rather than going from scratch? I hope this made a little sense. Thank you. -- 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
[lfs-support] create an ISO of the whole LFS system
Dear all, I have finished LFS and BLFS ver7.7 (init) according to book Please excuse me if this has already been asked, I was wondering if it is possible to build a distro & create an ISO of the whole system, and then when booting the newly burned CD/DVD to install it on different PCs? Thank you.. Best Regards, Mostafa YasinLinux system engineer-- 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