LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-11-2017, 09:00 AM   #1
chrstrbrts
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Rep: Reputation: Disabled
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?
 
Old 10-11-2017, 09:12 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,092

Rep: Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135Reputation: 7135
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.
 
Old 10-11-2017, 10:30 AM   #3
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.

Voilą - hope this helps.

Cheers !
 
1 members found this post helpful.
Old 10-11-2017, 01:18 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,416
Blog Entries: 4

Rep: Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836Reputation: 3836
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.
 
  


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
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 03:02 PM
[SOLVED] Install the 32 bit version and the 64 bit version, on multilib system. Knightron Slackware 12 12-02-2013 10:23 PM
[SOLVED] Overwriting the Ubuntu 64 bit partition with installation of 32 bit version brantkings Ubuntu 7 09-12-2011 12:12 PM
64 bit or 32 bit Ubuntu 10.04 in a multiple boot with windows 64 and 32 bit ? james2b Linux - General 7 09-22-2010 05:12 PM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration