I've been prepping an LFS 6.1.1 build using a Knoppix 3.7 Live CD as the host and I'd like to note a couple of glitches.
The host disk was completely clean: no OS or partition table. I booted Knoppix with "boot: knoppix26 2" to get a Linux 2.6.9 kernel and a root command line. Chapter 2.3: "mkswap -v <device>" reports "mkswap: warning: truncating swap area to 113890kB". From the man page I guess this means it's making an version 0 swap area. I ditched the -v flag and ran "mkswap <device>" instead. I also had to run "swapon <device>" to activate the new swap area. Obvious, but why not say it explicitly? BTW, if you go with the old-style swap area from "mkswap -v" then swapon complains "version 0 swap is no longer supported"! So you *must* change the mkswap command as above. Chapter 4.3: "groupadd lfs" complains "groupadd: unable to read the group shadow file"! I don't understand this at all but it appears to be because /etc/gshadow is a symbolic link to /KNOPPIX/etc/gshadow . This seems anomalous because none of /etc/{passwd,shadow,group} is a symbolic link. If I replace /etc/gshadow with a copy of /KNOPPIX/etc/gshadow then it's OK. (NB: I also ran " chown root:shadow /etc/gshadow ; chmod 640 /etc/gshadow " .) Hope this helps. I've been a happy LFS 4.1 user for a few years now and I'm looking forward to my new LFS 6.1.1 system! Cheers, Jeremy Henty -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page