On 08/07/12 19:44, Yasser Zamani wrote: > ---------------------------------------- >> Date: Sun, 8 Jul 2012 18:18:21 +0100 >> From: onepo...@starurchin.org >> To: lfs-support@linuxfromscratch.org >> Subject: Re: [lfs-support] Q: best choice of Live CD to host/rescue LFS? >> >> >> Yasser Zamani wrote: >> >>> I recommend Slax (http://www.slax.org/get_slax.php/); I gracefully >>> finished LFS with that as host. >> I ran the verson check script in Slax and it could not find bison, >> yacc or makeinfo. Did you customise slax with extra packages? >> > > No. I learned from LFS that I can install packages to a specific > > folder by using "--prefix=<PATH>". I also know that when we > > install a package in LFS environment at section 5, it looks for > > dependencies in two places: The Host and the /tools. In another > > side of coin, Slax is a live cd and does not save installations > > on it's virtual file system. So, I think with these information > > the solution is simple. It is installing missed packages to > > /tools via host before continuing to enter LFS environment at > > section 5. i.e. > > > > 1) Ignore version check script and continue with book until > > finishing and the end of section > > "4.2. Creating the $LFS/tools Directory". > > > > 2) Install missed packages just like instructions at section > > 5.X. but from the host not lfs user. > > Appendice "C. Dependencies" can be very helpful at this time > > > > 3) When installation to /tools done, add /tools to your host's > > PATH and re-run version check script. You'll see it recognize > > installed packages ;) > > > > 4) Skip section "4.3. Adding the LFS User" > > because as I said Slax does not save changes to it's virtual > > file system. > > > > 5) While you skipped adding the lfs user, you should enter > > lfs environment by just coping and pasting scripts at > > "4.4. Setting Up the Environment" and running them in > > console. I mean you should not include "cat > X << "EOF"" > > and EOF. > > > > Now all things are ready to continue with rest of the book > > but remember if you rebooted, you should do following again: > > > > 1) 2.4. Mounting the New Partition > > 2) 4.2. Creating the $LFS/tools Directory > > (just "ln -sv $LFS/tools /") > > 3) 4.4. Setting Up the Environment (you should not include > > "cat > X << "EOF""and EOF) > > > > Good Luck! > > > > >> Regards, >> >> Jeremy Henty >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >> Unsubscribe: See the above information page I found this on making slax cd persistent 4th post http://www.slax.org/forum.php?action=view&parentID=27065
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page