I installed a 64-bit OS in a 32-bit processor
Solution 1
If you installed a 64-bit OS your CPU is necessarily 64-bit capable. In a 32-bit only processor the 64-bit installer not even starts.
In lscpu
output CPU op-mode(s):32-bit, 64-bit means your CPU is both 32-bit and 64-bit capable. Architecture: x86_64 is the current kernel architecture (64-bit).
You can also check 64-bit support running:
grep " lm " /proc/cpuinfo
If it outputs nothing you have a 32-bit CPU. If it outputs something like flags : blah blah lm blah blah blah your CPU supports Long Mode (AKA 64-bit).
Solution 2
From your output it is clear that you have a 64bit CPU. The line CPU op-mode(s):32-bit, 64-bit
means that you have a 64bit CPU.
Therefore there is no problem using a 64bit OS.
Solution 3
Looks like you experienced the same surprise I did a few years ago.
I accidentally put a 64-bit Ubuntu CD in my laptop and installed it, and a bit later I realised "Wait a moment.... I thought my laptop was a 32-bit system?"
If the 64-bit version works on your system, then that means your system is actually a 64-bit system, rather than a 32-bit one as you used to think ;)
Solution 4
Your processor is actually 64-bit processor as this line states:
Architecture: x86_64
If it has been 32-bit, you couldn't have installed a 64-bit OS in the first place. Don't worry, your PC will work just fine.
Related videos on Youtube
![Vandervals](https://i.stack.imgur.com/JK3ja.jpg?s=256&g=1)
Vandervals
Updated on September 18, 2022Comments
-
Vandervals almost 2 years
Initially I was trying to change the look of a
textarea
when it was empty with justCSS
. I thought this would work, but as you can see when writing something and clicking the button, the values are different. Does anyone know of a solution for doing this widthCSS
orJS
is required? Could that be possible with aninput
??var area = document.querySelector("textarea"); var btn = document.querySelector("button"); btn.addEventListener("click", function() { var value = area.value; var attr_value = area.getAttribute("value"); alert("value: " + value + "\nattr value: " + attr_value); });
textarea { background: red; transition: background 0.5s ease; } textarea[value=""] { background: gray; }
<textarea value="Here I am"></textarea> <br> <button>Click me!</button>
-
Mitch almost 11 yearsAccording to the
lscpu
, your Processor is 64bit. -
Marilou almost 11 yearsif you have 32 bit processor, 64bit OS will not even install
-
JustinC almost 11 yearsPentium F4 or Pentium D which are both Intel 64 – NetBurst microarchitecture (according to the CPU Family 15, Model 4 information). The D was a dual core processor, so that's probably not yours.
-
user almost 11 yearsVery few, if any, PCs (and I am using that term broadly here) sold in the last several years have CPUs that are not 64-bit capable. And as has been pointed out in answers, your CPU is 64-bit capable, as evidenced both by the output quoted as well as the fact that it works at all.
-
Admin about 10 yearsHow to install ubuntu 14.04 from USB does it reqires SWAP..??
-
Jaromanda X almost 9 yearstextarea doesn't have a value attribute - input does - is that what you thought you were doing?
-
vsync over 4 yearsYou need to access the
property
and not theattribute
. very different things. Always prefer accessing properties an not attributes, if possible.
-
-
Eric Carvalho almost 11 yearsActually Architecture: x86_64 means there is a 64-bit kernel running. The CPU architecture is shown in line CPU op-mode(s). Of course, a 64-bit kernel wouldn't run in a 32-bit only CPU, so this answer is not wrong.
-
Adnan almost 11 yearsI did the
grep "lm" /proc/cpuinfo
and I got flags blah blah lm blah blah, thus satisfying your check. -
Tom Marthenal almost 11 yearsA lot of times laptops with 64-bit-capable CPUs come with a 32-bit OS anyway (since they often have too little memory for 64-bit to be very useful). This is probably the source of the confusion.
-
That Brazilian Guy almost 11 yearsThere's no blah on my flags. Should I worry?
-
Eric Carvalho almost 11 years@ruda.almeida blah = "a lot of flags you don't need to worry about". lm is the flag that tells you have a 64-bit CPU.
-
kieranpotts almost 9 yearsCorrect. <input> controls DO have value attributes. <select>s do not, but <option> elements can also be given (optional) value attributes.
-
SK. almost 9 years
-
kieranpotts almost 9 yearsMike, you're mistaking properties for attributes. <textarea> elements, as represented in the DOM by HTMLTextAreaElement instances, have value properties. But <textarea> tags do not have value attributes in their markup.
-
SK. almost 9 yearsYes you are right. There is not attribute like
value
from<textarea>
. Verified here : w3.org/wiki/HTML/Elements/textarea -
Vandervals almost 9 yearsJust to make sure: in case it was an input, this would work as expected?
-
kieranpotts almost 9 yearsVandervals: yes, it would work if you swapped the <textarea> for say an <input type="text"> control.
-
kieranpotts almost 9 yearsHaaa. You are right. Sorry, Vandervals. There is a difference. So, even on an input control, the value property will fetch the current value, as edited by the user. But getAttribute('value') will get the original DEFAULT value as defined in the markup with the value attribute: value="Default value". So, if an input control is given a default value, then the user changes it, the value property and getAttribute('value') will return different things. Does that make sense? Sorry, wasn't thinking...
-
Vandervals almost 9 yearsSo, let me see if I get it: for inputs, at the begining attribute value and value are the same, if the user changes it, then it will only update the value, but not attribute value, correct?