64-bit Ubuntu seems to contain the 32-bit version as well
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
64-bit Ubuntu seems to contain the 32-bit version as well
Hi,
I'm new and have a basic question.
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?
the 64bit version cannot run on a 32bit system at all. That is not possible (as far as I know). But you can run both 32bit and 64bit OS on a 64bit system.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi chrstrbrts,
I'm not a Ubuntu user, but I can think of 2 plausible explanations for this:
1) The 64-bit ISO does in fact also contain the 32-bit installer. This would be similar to the case with Arch, the system I use, which for the last couple of years before the discontinuation of the 32-bit version, delivered both versions in the same ISO. This, in my opinion, is the least likely explanation, since if it were the case, there would be no need to continue to deliver two distinct ISOs and Canonical would likely be more specific about their ISO being dual-architecture.
2) The i386 directory you see in the installation package contains specific 32-bit code that may be required for running 32-bit applications on the 64-bit version of the operating system (a fairly common occurrence, although decreasingly so ...). Essentially, these would most likely be 32-bit versions of libraries required by these 32-bit applications.
Exactly ... a 64-bit operating system has to be able to place the processor into 32-bit compatibility mode (or, sometimes, worse ...) in order to run legacy software in the environment that it expects.
A 32-bit OS cannot run 64-bit software, but a 64-bit OS can run both 64-bit and 32-bit software side-by-side. 64-bit applications might need to talk to ("thunk!!") 32-bit libraries. And, so on.
Last edited by sundialsvcs; 10-11-2017 at 01:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.