On Tue, Dec 02, 2014 at 10:44:19AM -0800, Paul Rogers wrote: > For the most part my attitude about the complexities of udev rules has > been: "As long as it boots and stuff is there, let sleeping dogs lie." > > As I was building 7.2 the box started throwing machine checks! I like > to use HDD adapters so drives can be plugged in using one of the 5 1/4" > slots on the front. So I popped out the drive and slammed it into a > different box and kept going! That meant udev found a different CD/DVD > drive & NIC. No problem, don't need 'em; don't WANT the NIC active! > Different video too, but that was covered by regenerating xorg.conf. > This wasn't expected to be a permanent "move", just hurdling the > roadblock. > > This is an unusual thing for me to do. But I guess I should make a > little script that makes sure everything necessary gets changed. I > suppose that should include deleting the udev persistent net/cd rules. > Yes? Anything else? (It can keep it's "identity" in /etc, for the > most part.) > > (I ran through Ch6 last evening with no real problems, now I'm > studying Ch7 before charging in. That's what brought this question > up.)
I've never moved a system during a build. I have several times used an existing LFS system to initialise a new box, and in the LFS part the only things I recall having to change are the nic rule (in qemu, it got renamed to eth128 until I fixed it!) and the hostname. I've also imported my 7.6 i686 system to qemu and mostly fixed that up, currently using it to build recent LFS/BLFS-svn. For the kernel, my configs are machine-specific so I need to fix up CPU and cpu-related e.g. cpufreq and on 32-bit highmem (64G on my nominally 4G real machine, 4G in my qemu systems which only get 2G) (no lowest-common denominator CPU for me, except in qemu), network driver, and (for framebuffers, kms, Xorg) the FB and DRM settings. In BLFS, I've also had to rebuild Mesa (BLFS-7.6) to run in qemu, because it was trying to use things available to the cpu I had used to build it, and those caused llvm errors to be reported - you might want to remember that for when you eventually get to LFS-7.6 ;-) And I do not think this is worth scripting, I only do it very occasionally (and the kernel changes aren't really scriptable for me). But for rolling out a distro from your build machine to your other boxes, perhaps worthwhile. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- 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
