openSuSE 11.1 32 or 64 bit, how to properly tell?
As per subject, I'm running openSuSE 11.1 and as far as I was aware installed the 64 bit verion, I'm running it on an HP Compaq Centrino due number.
I've been trying to recompile my kernel, change some features and run into some boot problems, which have been attributed to "trying to load a 32bit kernel onto a 64 bit OS". For the time being, I dont have the exact messages showen, but was told that they basically meant this, anyway...
I'm trying to find out if I do indeed have a 64 bit version running, so far:
unmae -a = Linux nemesis 18.104.22.168-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 i686 i686 i386 GNU/Linux
Any and all help is as always appreciated...
Thanks in advance.
In my semi-limited experience, yours looks like a 32bit kernel, therefore it would be running on a 32bit SuSE. I'm not sure EVERY kernel that is 64bit shows in `uname -a` the 'x86_64' piece, but I believe they do (I'm open for correction on this).
As an example:
Hope this helps -- though again, I'm open for correction on this.
EDIT - posting for us the EXACT errors will help :)
The errors are basically, it fails to find modules in /lib/modules
A other indication is that if you are running 64 bits version you mostly
have lib and lib64
In lib you will find a lot .
So we really needs to know what is missing ?
To find out if the OS is 32 (i586) or 64-bit (x86_64) try lsb_release -a. Mine is 32-bit:
This is starting to confuse me even more now, think I'll take a step back and explain things more or less as they happened.
I had a working SuSE install running, which I bgelieved to be a 64 bit version, the results of the uname -a are shown above, this unfortunately is no longer runnable, since on my last kernel install attempt, it got over written, I do hawever still have a working xen kernel which I can still boot into, however when I run the uname -a command from there, I am shown as being 64 bit. /etc/SuSE-release shows openSuSE 11.1 (x86_64), I also have /lib and a /lib64 folders.
So I guess we can assume that I have a 64 bit release installed, so my question should possibly now be, how can I compile a kernel and install it so that it boots properly?
I normally do the following (albeit on slackware)
download the kernel from kernel.org and place it along side the others in /usr/src
I enter the folder in this case: /usr/src/linux-22.214.171.124
I run make menuconfig, use the .config file located in /boot and modify to suit, then
Now the make install, I have never really used before, I normally copied my kernel from /usr/src/linuxkernel/arch/i386orx86/boot/newkernel to /boot/newkernel and then modify grub or lilo but i now understand that make install does this for me.
This is basically where I got to and when trying to boot the new kernel, it would not read the modules and would hang, I was advised that this was down to loading a 32bit kernel on a 64bit OS
All help is appreciated, I don't really want to do a clean install with this but would rather successfully make a new kernel with the options i need from the current working xen one. I was only recompiling to add in RTC and something else which for now escapes me, but it was so I could run vmware.
|All times are GMT -5. The time now is 12:57 PM.|