Not to "beat a dead horse", but to document a solution for someone else in this situation, getting from a 32-bit host to a new 64-bit target, to find.
> I think it is a very long time since anybody last mentioned grub- > legacy. The details are so different that I would expect a lot of > pain trying to mix versions of grub. > > Let's try to work out what you need to do: Actually it isn't too bad. On this box I still have my earlier incarnation of LFS-6.6 (I think it is) with GRUB-1.97-2, which WILL make a rescue floppy. I made one of those, and dd'ed it into a file to include with my "distribution" cloning package, to be recreatable as needed. > > You cannot chroot from 32-bit to 64-bit. With the as-built tarballs of the binaries produced by my package manager, to get the LFS Ch. 6 "base" installed, extracting those with tar on a 32-bit host works just fine. The only thing left to make that viable is to create /etc/fstab for it, and that's easily doable with cat and some variable substitutions. And of course to actually boot it. That's no problem if one already has a LFS system on the box, add a stanza to grub.cfg. If it was a "bare metal" box and one was using some LiveCD for the tarball extraction, then the rescue floppy does the job. In the past, when everything was all 32-bit, I had one large script that extracted all those LFS tarballs, then went into the BLFS packages. For the "setup" steps of those, e.g. doing a useradd for exim, or the "finish" steps, e.g. generating config files and/or initializing, it could use the chroot trick. Now, that's a problem. Then I got the insight that I could separate it into two scripts! Lay down all the 64-bit LFS tarballs on the 32-bit host, boot that as a 64- bit system (no problem even for GRUB-1.97-2), then run all the BLFS steps natively. I encountered no special problems this way. > > Good luck! Thanks. With that special insight all the problems really disappeared. > > ĸen > -- > Yes, you CAN fool most of the people some of the time. > Are you perhaps refering to our Donald Trump, or your own Brexit campaign? -- Paul Rogers [email protected] Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - Email service worth paying for. Try it for free -- 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
