LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-09-2008, 03:50 AM   #1
ibkoxls
Member
 
Registered: Jun 2007
Posts: 34

Rep: Reputation: 15
How to install 64-bit kernel?


Hi,

I've got a lenny installation running a 32-bit kernel (2.6.25-2-486) on a 64-bit machine.

I want to install a 64-bit kernel; my googling hasn't turned up any useful guide.

How do I accomplish this, please?
 
Old 08-09-2008, 04:04 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You need to install using the "x86_64" installer rather than "i386". One thing to note with a 64-bit system:

Many proprietary closed-source programs will not run on a 64-bit system, so if you use Skype, Acrobat Reader, Flash, and any other number of such software, you will need to install and maintain some 32-bit libraries as well ("mixed" system)

I don't know of any convenient way to switch from a 32-bit system to a 64-bit system, so I would recommend a reinstall.
 
Old 08-13-2008, 02:26 AM   #3
hkoster1
Member
 
Registered: Dec 2007
Location: Amsterdam
Distribution: Debian testing/Sid (AMD64)
Posts: 32

Rep: Reputation: 15
You must reinstall using an "amd64" installer (there is no "x86_64" installer in Debian), I recommend installing a recent testing (Lenny) version like "testing-amd64-netinst.iso" if you have internet access during the install. Some applications, like Adobe's flash plugin, are still 32-bit, but they run fine on a 64-bit system through the nspluginwrapper package. The 64-bit version of Debian has come a long way in the past few years, to the point that many 64-bit users (like myself) have now gotten rid of their 32-bit backup installation (had that around "just in case", but never used it anymore).
 
Old 08-13-2008, 08:50 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by ibkoxls View Post
I want to install a 64-bit kernel;
If you mean drop a 64-bit kernel into a 32-bit installation of Linux, that won't work.

You can drop in replace a 32-bit kernel with some very different 32-bit kernels (replace non PAE with PAE, etc.) without disturbing the rest of the installation. But you can't do that with a 64-bit kernel.

32-bit programs can run with a 64-bit kernel, so you might expect a whole Linux installation of 32-bit programs would run with a 64-bit kernel. But it doesn't. I'm not expert enough to what what extra pieces would be required.

I'm sure a real Linux guru could add/change just a few things in a 32-bit install of Linux to enable everything to run under a 64-bit kernel. But I've never heard of anyone packaging that for ordinary users. I use a Debian based distribution, in which that sort of kludge would be even harder than it would be in some other distributions, such as Red Hat based. Maybe in some distributions it isn't even hard. I haven't heard of anyone doing it, but maybe it exists.

Switching from 32-bit to 64-bit is generally the same process (and as difficult) as switching to a different Linux distribution. You pretty much preserve your home directory while replacing everything else. I've never tried it, so I can't give you any better instructions.

Last edited by johnsfine; 08-13-2008 at 08:55 AM.
 
Old 08-14-2008, 02:14 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
It is simply not possible. If you have a 64-bit kernel, you need 64-bit drivers, modules and programs. Those are all different from you current installation.

If you do dpkg --get-selections > savefile.txt you are able to install exactly the same packages again after your new installation. If you save your home directory as suggested by someone else, you should be able to retain most of your personal settings. All other custom settings which are stored in /etc are lost unless you have saved them as well.

The benefits of a 64-bits version might be limited. I have the idea it brought me about 10-20% speed increase, but even that is doubted by experts. I can access more than 3GB memory, but I seldom use more than 1GB. However, it gives a warm feeling to run a 64-bit OS on a 64-bit processor, while the system was shipped with 32bits Vista because MS was not able to deliver a stable 64bits version.

I did the switch right after the initial installation on the machines - when I realized that the processor was 64bits and reading the problem reports. Currently the only problem I have is Opera + Flash and that seems to be cross architecture for Opera anyway. Mozilla runs fine.

If you have an installation with a long history, over a few months and the machine is important to you, I would leave it 32 bits and do the 64 bits install on the next machine you buy.

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install HVM FreeBSD 7.0 DomU (32-bit) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 05-01-2008 08:00 PM
LXer: Install Xen 3.1 Solaris domU (64 bit) under CentOS 5 dom0 (64 bit) LXer Syndicated Linux News 0 09-21-2007 12:00 AM
32 bit Kernel didn't install; what to do? pickarooney Linux - Software 2 01-21-2007 03:39 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration