Switching kernel config from x86_64 to i686

I made the mistake of taking a default or selecting the wrong kernel (my
machine is an AMD X2). So I now have a 64 bit kernel (x86_64), which I
have read is "transitional". Since so many packages are only 32 bit, my
life has gotten complex trying to make everything work and with
contemplations of 32 bit UMLs (which apparently have their own issues).
So... I would like to switch my system to a plain old i686 optimized 32
bit version of Debian.

What is the easiest way to do this? I really do not want to reinstall.
I setup a software RAID, have installed a large number of packages,
copied a bunch of data onto the drives, done a fair bit of
configuration, even built 64 bit versions of the Digium drivers. I am
guessing I need to rebuild the kernel as 32 bit (any URLs to doc on how
to do this would be wonderful). Do I need to do anything else to
install 32 bit versions of all the packages? Or am I screwed? I have
primarily used aptitude for package management, except for Asterisk,
which I checked out of Subversion and built. Is there an easy way to
install 32 bit versions of all the packages? Or make sure that a 32 bit
compatible version is installed? Thank you for any help.

Frederick N. Brier

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Switching kernel config from x86_64 to i686

On Sun, Oct 28, 2007 at 07:17:29PM -0400, Frederick N. Brier wrote:
> I made the mistake of taking a default or selecting the wrong kernel (my
> machine is an AMD X2). So I now have a 64 bit kernel (x86_64), which I
> have read is "transitional". Since so many packages are only 32 bit, my
> life has gotten complex trying to make everything work and with
> contemplations of 32 bit UMLs (which apparently have their own issues).
> So... I would like to switch my system to a plain old i686 optimized 32
> bit version of Debian.

What do you mean "transitional"? What exactly are you using for a
kernle? It should be amd64 Current stable Etch kernel uname -a:

Linux titan 2.6.18-5-amd64 #1 SMP Tue Oct 2 20:37:02 UTC 2007 x86_64 GNU/linux

The _only_ thing you can't do on Etch amd64 directly is flash player for
the browsers since there is no such thing as an amd64 flash player. In
Etch, you need to put the browser and flash in an i386 chroot (which
isn't that much of a deal); on Lenny there's a wrapper to make that
un-necessary.

What do you mean by "so many packages are only 32 bit?"

If you have 32-bit apps (other than flash), they will likely work
directly if you install the 32-bit libs since amd64 can run 32-bit apps
concurrently.

>
> What is the easiest way to do this? I really do not want to reinstall.
> I setup a software RAID, have installed a large number of packages,
> copied a bunch of data onto the drives, done a fair bit of
> configuration, even built 64 bit versions of the Digium drivers. I am
> guessing I need to rebuild the kernel as 32 bit (any URLs to doc on how
> to do this would be wonderful). Do I need to do anything else to
> install 32 bit versions of all the packages? Or am I screwed? I have
> primarily used aptitude for package management, except for Asterisk,
> which I checked out of Subversion and built. Is there an easy way to
> install 32 bit versions of all the packages? Or make sure that a 32 bit
> compatible version is installed? Thank you for any help.

If you installed amd64 and want i386 then you have to reinstall.

Doug.

--

Switching kernel config from x86_64 to i686

In the root of the kernel sources do a make menuconfig, goto processor type
and features and select the wanted option, recompile the kernel, install
the kernel, update the bootloader and you're done, for the other stuff I
don't
know because me english it's a little scarse (yet),
good luck friend.

olr
===
El Dom, 28 de Octubre de 2007, 6:17 pm, Frederick N. Brier escribió:
> I made the mistake of taking a default or selecting the wrong kernel (my
> machine is an AMD X2). So I now have a 64 bit kernel (x86_64), which I
> have read is "transitional". Since so many packages are only 32 bit, my
> life has gotten complex trying to make everything work and with
> contemplations of 32 bit UMLs (which apparently have their own issues).
> So... I would like to switch my system to a plain old i686 optimized 32
> bit version of Debian.
>
> What is the easiest way to do this? I really do not want to reinstall.
> I setup a software RAID, have installed a large number of packages,
> copied a bunch of data onto the drives, done a fair bit of
> configuration, even built 64 bit versions of the Digium drivers. I am
> guessing I need to rebuild the kernel as 32 bit (any URLs to doc on how
> to do this would be wonderful). Do I need to do anything else to
> install 32 bit versions of all the packages? Or am I screwed? I have
> primarily used aptitude for package management, except for Asterisk,
> which I checked out of Subversion and built. Is there an easy way to
> install 32 bit versions of all the packages? Or make sure that a 32 bit
> compatible version is installed? Thank you for any help.
>
> Frederick N. Brier
>
>
> --

Re: Switching kernel config from x86_64 to i686

I've a little bit the same issue: a kernel i386 installed on a i686 server (Ubuntu Client 8.04 LTS, standard kernel not compiled for this server).
The problem is we cannot reinstall it as it's used as a production server (LTSP) and we cannot stop it in any case.
Could be this the solution?

>In the root of the kernel sources do a make menuconfig, goto processor type
>and features and select the wanted option, recompile the kernel, install
>the kernel, update the bootloader and you're done, for the other stuff I
>don't
>know because me english it's a little scarse (yet),
>good luck friend.
>
>olr

Or I've just to install i686 kernel from package manager and modify grub?
What are possible issues we can experience with packages already installed on this computer?
FYI, I'm talking about a Compaq ProLiant 6400R server with 4CPU PIII Xeon 550MHz and 2GB RAM
Thanks in advance!!!

Syndicate content