Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] SMGL migration form 32b to 64b

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: seth AT swoolley.homeip.net
  • To: johnc AT neto.com
  • Cc: seth AT swoolley.homeip.ne, sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] SMGL migration form 32b to 64b
  • Date: Mon, 4 Sep 2006 20:22:31 -0700

On Mon, Sep 04, 2006 at 03:18:32PM -0500, johnc AT neto.com wrote:
> On Friday 01 September 2006 15:35, dgoller AT satx.rr.com wrote:
> > ----- Original Message -----
> > From: seth AT swoolley.homeip.net
> > Date: Thursday, August 31, 2006 11:56 am
> > Subject: Re: [SM-Discuss] SMGL migration form 32b to 64b
> > To: Lubomir Blaha <tritol AT trilogic.cz>johnc
> > Cc: sm-discuss AT lists.ibiblio.org
> >
> > > On Thu, Aug 31, 2006 at 12:59:22PM +0200, Lubomir Blaha wrote:
> > > > Hello.
> > > >
> > > > I bought new hardware (AMD64X2) and I want migrate my existing
> > >
> > > SMGL box
> > >
> > > > (AthlonXP) to 64bit. Is it possible? I don't wanna install
> > >
> > > everything again
> > >
> > > > from x86_64 iso. Sometimes I need to run 32b apps (binary games)
> > >
> > > so I need
> > >
> > > > "Multilib way". I can't find any howto or similar text.
> > >
> > > Install it into a separate partition that you can chroot to. Make
> > > sure
> > > to copy the kernel from the iso into your /boot when you do this so
> > > that
> > > you can boot 64/32 hybrid style. Then you can build a pure 64-bit
> > > kernel from that. If you need details/walkthrough, I'm on irc.
> > >
> > > You have to install everything again from the x86_64 iso to get
> > > enough
> > > 64-bit stuff to bootstrap from. We don't support native
> > > cross-compilation for this converstion yet.
> > >
> > > And we don't technically support multilib. You can enable multilib
> > > in
> > > the relevent spells, but spells that break with multilib are your
> > > own
> > > problem and installing the multilib headers are your own problem.
> > > If
> > > you really want multilib supported, you can volunteer to maintain
> > > the
> > > multlib headers and be the central contact.
> > >
> > > Most of the x86_64 developers/users here run a pure 64-bit 64-bit
> > > system
> >
> > My suggestion is to answer all sorcery question regarding multilib with
> > "N" on glibc and gcc, and cast smgl-emul32 (in the tarball referenced
> > below this has already occured)
> >
> > It is a collection of 32bit libs that allow you to run 32bit
> > applications, it should even allow you to run your 32bit games, as a
> > matter of fact i would like to hear from you if they do not.
> > Then i would work on smgl-emul32 to make sure your games do work with it.
> >
> > The smgl-emul32 spell is in essence what other distros do for multilib,
> > with one major difference, the glibc on other multilib systems is built
> > natively, here everything is static.
> >
> > So follow swooley's suggestion by starting things in a chroot.
> > I would suggest using this tarball to start from:
> >
> > http://distro.ibiblio.org/pub/linux/distributions/sourcemage/mirror/smgl-x8
> >6_64.tar.bz2
> >
> > Installing from the x86_64 CD in existence would have you work around
> > the arch spec change since creation of the CD (CHOST changed from
> > x86_64-unknown-linux-gnu to x86_64-pc-linux-gnu
> >
> > If you have any questions regarding the x86_64/smgl-emul32 install, find
> > me on IRC 'morfic' or 'morphish'
> >
> > hope this helps,
> >
> > Daniel
> >
> > > without multilib because we tend to run everything from source and
> > > not
> > > require proprietary games for our enjoyment (nethack is good enough).
> > >
> > > Again, see me in irc (swoolley) to talk more.
> > >
> > > Seth
> > >
> > > > Thanks for any suggestion
> > > >
> > > > Lubomir
> > > >
> > > > --
> > > > Win98 is called Win98 because it is 98% slower than Linux.
> > > > _______________________________________________
> > > > SM-Discuss mailing list
> > > > SM-Discuss AT lists.ibiblio.org
> > > > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> > >
> > > _______________________________________________
> > > SM-Discuss mailing list
> > > SM-Discuss AT lists.ibiblio.org
> > > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
> Guys,
> I am attempting a conversion myself, and am understandingly interested.
> Couple of questions if I may.
>
> Seth,
> Let me see if I follow you.
> 1) Install into a partition I can chroot into. OK. Is this to be a
> temporary
> install only to chroot into and build a pure 64bit kernel?

I thought you're wanting to convert to 64 bit from 32 bit, so I said
pure, sounds like a hybrid is what you want. So build a 64-bit kernel
with 32-bit binary support with the chroot.

> 2) Copy kernel into my /boot so I can boot into the 64/32 bit kernel. Are
> you
> saying that I can boot into the 64/32 bit kernel using my 32bit "root
> partition", and then can chroot into the install partition from step 1)
> above?

This gets both on the same kernel, and yes. But you'll also be able to
boot directly into 64 and chroot into 32-bit.

> 3) If the answer is yes to above I can now build a pure 64bit kernel
> 4) Since the first install was temporary I install the iso again to a
> permanant partition which will be a pure 64bit bootstrap system. Is
> sorcery
> and a codex installed?
>
> Daniel,
> You say do what Seth recommends but start from the distribution:
>
> http://distro.ibiblio.org/pub/linux/distributions/sourcemage/mirror/smgl-x86_64.tar.bz2.
>
> That distribution doesn't applear to have a kernel. Are you saying to use
> the
> iso for steps 1,2,3) above and the distribution for step 4) to get a
> bootstrap system?

to get the 64-bit system loaded you can unpack the 64-bit chroot, then
copy the kernel from the iso or boot into the iso and chroot into the
64-bit system. From there you can build your hybrid kernel. I think
the iso might even be default hybridized, but I'm not sure. If it is,
then you can just install the iso onto a spare partition and whenever
you want chroot into 32-bit when you want to run a 32-bit program.

Seth

>
> Thanks,
> John
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss




Archive powered by MHonArc 2.6.24.

Top of Page