On Monday 30 January 2006 14:32, Ken Moffat wrote:
> On Mon, 30 Jan 2006, John Gay wrote:
> > Yea, I know, never reply to your own mails, but . . .
> >
<snip known stuff (-;>
 
> > At that stage, I'll be running a 64-bit host from the spare partition and
> > replacing the old 32-bit system with a 64-bit build.
>
>   On your pre-acceptance testing, make sure you have a working bootloader
> in the clfs system, and test how you are going to recover (e.g. if you
> run an excessive 'rm -rf' at the end of a mind-numbing battle with
> jpeg/gtk/pango/firefox/whatever).  My own recovery strategy uses an i586
> rescue CD for both x86 and x86_64, which obviously prevents me chrooting
> to a 64-bit system, but is perfectly adequate for restoring backups,
> either from my lan or from a CD - yes, my rescue CD is adapted to free
> up the same CD drive.
>
My back-up method is don't screw-up my existing box (-; Not great, but keeps 
me on my toes. I was planning to keep my existing boot loader, 32-bit grub 
and just point it to the 64-bit kernel and root file system. This worked with 
a Gentoo trail I did. Basically I'll keep a small boot partition for 32-bit 
grub and kernels et-al, and build into different root file systems as and 
when needed. This adds the extra advantage that the boot partition needs to 
be explicitly mounted when changing anything.

> > I won't need to
> > cross-compile, but my experience from last night showed it's not
> > straight-forward to build LFS on a 64-bit host? Maybe it was just a
> > version thing. Hopefully the new book will be released by then and work
> > better for this deviation build?
>
>   I've never built a 64-bit system without cross-compiling (but then,
> I've only got four boxes that can run as 64-bit).  Nowadays, CLFS is
> what most people do to build on non-x86, which is probably why your
> original posting didn't ring any bells for me.  Yes, we go through the
> process of cross-compiling, even if we don't strictly have to, because
> that's the way the clfs book works.
>
I was afraid of that. I don't see the point in building the cross-compile 
tools when building 64-bit on a 64-bit host. I'll see what happens when using 
the regular LFS build techniques with the CLFS version packages and let you 
all know.

Cheers,

        John Gay
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to