Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I partially understand the above and I do have a question: What did you use to start with (step 1 from the article: 1. Boot from an existing Linux distro or any live-cd)?
I'm asking because I'm not sure if steps 15, 16 and 17 mentioned in the article will work when using a (LFS) liveCD.
I just created a blog entry about all this, you might want to have a look.
I used BackTrack ( ubuntu base ) for step 1 and you guessed correct for steps 15,16,17 .
I appreciate you because of your excellent blog entry because i saw a helpful texts about LFS by hard booting .
I'm downloading your suggest blog iso and then will boot from it and test it , Maybe solved my problem .
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,612
Rep:
just a question, why are you copying the lfs live cd to the hard drive? the point of the lfs live cd isn't to be an installable system, but rather to provide a platform to bootstrap an lfs installation, that is:
1) partition/format hard drive
2) mount hard drive
3) build temporary system
4) chroot into temporary system
5) build/install actual system
6) build/install kernel/boot loader
7) reboot, customize, build/install any additional software (BLFS)
the LFS live cd really only has enough just to do that, nothing more, nothing less.
if building an lfs system isn't what you're after wouldn't a binary based minimum distribution be a better solution?
What linux distro are you using to do these steps? I tried the procedure using lfs (6.8) and just now tried it using Debian (6.0.2) and both work.
Does your kernel have iso9660 support? (cat /proc/filesystems and check if iso9660 is present)
One other thing that comes to mind: Is your lfs image corrupt? Run the following command: md5sum lfslivecd-x86-6.3-r2145-nosrc.iso the output created should be: 763faec4c00647a41b3987fc371e3821 (LFS liveCD md5 sums). If the output differs: You have a corrupt image, re-dwonload it.
I booted from your lfslivecd-x86-6.3-r2145-nosrc.iso and its MD5 is TRUE .
I did't want to install LFS on my Hard AT ALL , My project goal is to set LFS on a PXE server that my LAN clients could booted from Lan boot rom and load LFS .
Also , if i can load LFS ( [ kernel+initramfs+root.ext2 ] on my hard partition ) , i solved my problem .
because the solve of PXE server depend on hard disk booting of LFS .
Anyways , I'm so glad if you have an idea to solve my goal ( Boot from PXE ) .
Thanks so much .
I did't want to install LFS on my Hard AT ALL , My project goal is to set LFS on a PXE server that my LAN clients could booted from Lan boot rom and load LFS .
Anyways , I'm so glad if you have an idea to solve my goal ( Boot from PXE )
This is a different problem then the one I understood when looking at your thread title and posts you made thus far. My PXE knowledge is basic at best and therefore I cannot help you with that.
My feeling says that what you want to do is not possible. You cannot install LFS using the LFS liveCD. It, the LFS liveCD, is meant to be a perfect platform to build(!) LFS. I'm not sure if this is possible when the liveCD resides on your PXE machine. But like I said before, that is a feeling, not based on facts!
I hope for you that someone else sees this thread and proves me wrong!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.