Re: Identifying CPU and current OS
Michael Stone composed on 2025-09-28 11:51 (UTC-0400):
> On Sun, Sep 28, 2025 at 10:01:05AM -0400, Felix Miata wrote:
>>If it's an IBM compatible PC or laptop, boot into BIOS setup. Odds are, if
>>you see EFI mentioned anywhere, the CPU is 64bit, but somewhere at least
>>there will be some indicator of bus width.
> There were definitely 32 bit x86 machines with EFI so I would not advise
> using that as an indicator.
Hence, "odds are"..."but".
> On Sun, Sep 28, 2025 at 15:25:49 -0000, Greg wrote:
>>dpkg --print-architecture (userland)
> This is the best answer, also
> dpkg --print-foreign-architectures
> to identify whether multiarch is configured.
Best only if the installed OS boots.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata
Reply to: