[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Identifying CPU and current OS



Greg composed on 2025-09-28 16:17 (UTC):

> Felix Miata wrote:

>>> 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.

> And if it doesn't boot what would be the purpose of knowing whether the
> unbootable OS installed on the disk is 32 or 64 bit?

Whether there is any point to booting 64bit installation media for the purpose of
upgrading an installed system instead of attempting to install afresh. Systems
mothballed often were on account of no longer booting an installed OS.
-- 
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: