LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-11-2009, 07:25 AM   #1
bkimura66
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
Single RHEL5 installation support booting both 32/64-bit kernels?


Greetings,
Can a single RHEL5 installation support booting both a 32-bit AND 64-bit kernel? I'm trying to determine whether or not I need to perform two separate installations in a dual-boot configuration to support this requirement.

Thanks,
- Bill
 
Old 08-11-2009, 07:38 AM   #2
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,107

Rep: Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114Reputation: 1114
You should post your question only once. Not both here and
http://www.linuxquestions.org/questi...lation-746708/

I expect it would be very complex to merge the right things from 32 bit and 64 bit Red Hat to construct a system that would work with either kernel. Probably some of the startup scripts would also need tweaking to make some of the startup steps conditional on which kernel is booted.

Linux is pretty good about supporting both 32 bit and 64 bit versions of the same .so files in one multi-lib environment. But there is no similar structure for two versions of the same binaries.

64 bit Linux uses almost entirely 64 bit binaries, none of which will work with a 32 bit kernel. Most of the 32 bit binaries will work fine with a 64 bit kernel, so the "merged" 32 and 64 bit distribution would want to use mainly 32 bit binaries.

I'm not really certain, but I think there would be several 64 bit binaries that you need or want anyway and those would conflict with the names of 32 bit binaries needed with the 32 bit kernel.

So I think you would need to create a /bin64, /sbin64 and /usr/bin64 and move some 64 bit binaries there from /bin, /sbin and /usr/bin and also adjust some scripts so paths are set to search the 64 bit directories first when a 64 bit kernel is booted and not search them when a 32 bit kernel is booted.

Last edited by johnsfine; 08-11-2009 at 07:45 AM.
 
Old 08-11-2009, 02:00 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Not feasible.
 
Old 08-11-2009, 02:42 PM   #4
bkimura66
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks everyone. I ended up performing 2 separate installations
in a dual-boot configuration, each sharing a common swap partition.
Worked out nicely.

- Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RedHat support booting 32-bit & 64-bit kernels from single installation? bkimura66 Linux - Server 1 08-11-2009 07:45 AM
[SOLVED] HP Proliant DL380G6 dual boot 32-bit and 64-bit RHEL5.0 sekhar_vgt Linux - Server 1 11-05-2008 09:56 AM
Does 160GB SATA HDD support RHEL5 installation? vigram Linux - Software 10 09-04-2008 03:40 PM
RHEL5: Upgrades from RHEL4 give PAE kernels, fresh installs do not tharbin Red Hat 2 10-03-2007 11:31 AM
LXer: Community: Why There is Better Driver Support in 64-bit Linux Than 64-bit Windows XP LXer Syndicated Linux News 0 10-18-2006 09:33 PM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration