Am Sonntag, den 28.04.2019, 12:54 -0500 schrieb Scott Harvey: > First things first: I apologize if this is an asked-and-answered question, > and second, thanks to the creators and contributors of LFS for a challenging > and rewarding project. > > > I successfully finished and booted my LFS8.4 system last weekend. It boots, I > can bring up the network and ping places, so I consider it a success. > > > But... > > > I built it on my “main” laptop, which has a 4K screen. The size of raw text > on a 4K screen is what... 1/8” at most? > > > I copied all of /mnt/lfs to a USB drive and have been trying to get it > reinstalled on a different laptop, one with a normal 1920x1080 screen. > > > It took me a bit of fiddling to remove the rEFInd boot manager I had been > using and get GRUB back in place. I’ve gotten GRUB to find and add my LFS to > the boot menu, and the entry looks correct. > > > But when I try and boot it, I get some bizarre kernel panics - the most > common being about “failure to dereference a null pointer” or words to that > effect. > > > I backed up in the LFS book and reran everything from unpacking the > LFS-Bootscripts to recompiling and reinstalling the kernel. It still goes > haywire. > > > Do I need to rebuild the whole thing? Or from a certain point? It’s unclear > how transferrable an LFS build is supposed to be. > > > Thanks in advance! > > >
Well, cannot say too much on EFI boots, i'm lucky enough to have only one machine (my VM-host) which is that new and this is setup once and will be hardly touched (except updates). One other thing is to keep in mind when moving a system from one machine to another: Is the CPU architecture of source and target machine compatible? Some packages do aggressive optimisitions to the architecture it it built on. If moving that binaries to another machine which might be less capable, you'll get strange errors. The book does not set CFLAGS to keep stuff compatible, it assumes that the system runs on the machine where it is built. I use "-march=x86-64 -mtune=generic" (and for 32bit machines "-march=i686 -mtune=generic"). That seems to do the trick but all of my VMs where i move systems from time to time do have same processor type of course. That said, compared to other OSs (like one from Redmond), Linux is easy to move, just tar it up and extract it on target, set IP address and boot... -- Thomas
-- 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
