On Wed, Feb 06, 2019 at 03:35:36AM +0000, Ken Moffat via lfs-dev wrote: > On Wed, Feb 06, 2019 at 02:43:04AM +0000, DJ Lucas via lfs-dev wrote: > > > I was not aware that SystemRescueCD was still current enough to build LFS. > > Maybe it isn't - but it has some useful tools and will give > confirmation that whichever 'magic' key I hold down on a cold boot > (maybe F2, but depends who wrote the UEFI) does let me boot from a > stick. >
Well, I started looking at this just over a week ago, and then put it to one side until various updates were completed. In the meantime, it turns out that a new version of SRCD was released (6.0.0). The old versions were based on gentoo, the new one is based on Arch with (among other things) pacman and Python-3.7.2. So maybe it will be good enough to build current LFS. Interestingly, it runs linux-4.19 (a very recent version) and has firefox-65.0 (in xfce). Booting was slightly frightening (blank screen for several seconds) but then it seemed a lot more straightforward than the old versions, with a note at the end on how to set the keymap. But what I really need is nfs - all my first-stage backups, as well as my sources, are on nfs v3. Compared to the old versions, mounting was a breeze (no existing mounts in /mnt, but I created /mnt/lfs), so after mounting the main system partitions I just typed a mount command specifying -t nfs (or nfs3, I forget) the ip4 address:/directory and /mnt/lfs/sources : and there it was. Simples. The usb instructions are a lot more straightforward than they used to be: http://www.system-rescue-cd.org/Installing-SystemRescueCd-on-a-USB-stick/ Just a few comments: I used fdisk to create the "disklabel" (i.e. MBR style) and to create the fat32 partition (type c), then mkfs.vfat. For the SYSRESCCD label I used fatlabel. Then parted (on the "drive", not the partition) to set the boot and lba flags: I was using sdb, so parted /dev/sdb set 1 boot on set 1 lba on Then as it says, mount the partition (on /media/stick in my case) and loopback mount the iso (on /media/loop). Then just copy: cp -v /media/loop/* /media/stick After that, the edits for the archisolabel : In this version theentries were already in boot/grub/grubsrcd.cfg except that they had SYSRESCCD-6.0.0 (I assume that is too long for a fat label), so just truncate that. And umount, of course. What I now do depends a bit on how much free space I end up with, but I suspect I'll install a distro to work through the details of wifi. Still haven't looked at the options for distro iso's. Thanks to everyone for the assistance. ĸen -- thread 'main' panicked at 'giraffe', /tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13 -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
