On Mon, Mar 07, 2016 at 08:09:07PM +0100, "René Nidegger" wrote: > > <div name="quoted-content">I currently do not have any plan for the transfer. > This is part of the reason for</div> > > <div name="quoted-content">my question. When I skimmed the LFS book on how to > do that, I seemed to</div> > > <div name="quoted-content">find no instructions on how to transfer the > kernel, hence I assumed</div> > > <div name="quoted-content">that the kernel needs to be built on the target > machine.</div> > Sending html to the list makes it very hard to find the text, but I think I managed ;-)
You have a basic problem in your approach - you have not used linux yet. LFS is not for beginners. We occasionally get people with no linux experience who come here and succeed in building and booting LFS. But to me that sounds a *very painful* way of going about it. Start with a distro. If you like that, get some experience with the commandline, perhaps build some software from source (put it in /opt/somewhere or /usr/local or even your home directory - to avoid interfering with the distro's packaging system) and then use it to try to build LFS. That can probably all be done in a VM. About the kernel : it needs a config which works for the hardware (or the apparent hardware, if it is in a VM). In LFS we prefer stripped-down kernels, tuned to our own hardware - the disk drivers and filesystems must be built in, not modules. Most distros do things differently - they need to support as much different hardware as possible, so they build a lot of alternative things, but as modules. They then create an initrd and use that to load the required modules. That approach also allows them to specify the root disk by UUID (helpful if e.g. you sometimes add extra internal drives). Most of us have little experience of doing that. I started out by buildng my own kernels - there is still quite a lot to learn. Others started by building packages which their distro did not provide. But whichever way you begin, experience of using a linux distro, and a basic understanding of such things as devices (/dev) and filesystems and virtual filesystems (e.g. /proc, /sys) will stand you in good stead. And perhaps a little experience with tools such as sed, awk, grep - and using environment variables in bash - will put you in a better position to start LFS. ĸen -- This email was written using 100% recycled letters. -- 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
