64-bit Ubuntu seems to contain the 32-bit version as well

jj1984

Member
Hi,

I burned 32-bit Ubuntu version 16 to a USB and successfully ran it on a 64-bit machine without installing.

This is to be expected as 32 bit Intel code will run on a 64 bit Intel machine as long as you stay in protected mode or go into legacy mode.

I checked the files burned on the USB and saw that under the dists/xenial/main and dists/xenial/restricted folders there is a binary-i386 folder.

This makes sense.

Then, I burned the 64-bit Ubuntu version 16 to a USB.

I checked the files burned on the USB and saw that under the dists/xenial/main and dists/xenial/restricted folders there is a binary-amd64 folder and a binary-i386 folder.

Apparently, the 64-bit version has both the 64-bit code and the 32-bit code.

Why?

What happens if you take the 64-bit version and try to run it on a 32 bit system?

Will the bootloader load the 32-bit version and successfully run the OS?
 

Cromewell

Administrator
Staff member
Apparently, the 64-bit version has both the 64-bit code and the 32-bit code.

Why?

What happens if you take the 64-bit version and try to run it on a 32 bit system?

Will the bootloader load the 32-bit version and successfully run the OS?
  1. To run 32 bit applications.
  2. You mean try to boot 64 bit ubuntu on a 32 bit system? If your hardware is not 64 bit it will not work.
  3. The bootloader loads whatever it is told to. If you somehow managed to coerce the installer into running, when it comes time to boot it would fail.
 

beers

Moderator
Staff member
Apparently, the 64-bit version has both the 64-bit code and the 32-bit code.
That's essentially the same question as 'why is there a program files x86 folder in Windows to run 32 bit applications?'
 
Top