On 01/31/2022 06:37 AM, Curt wrote:
On 2022-01-31, Richard Owlett <rowl...@cloud85.net> wrote:
Due to historical circumstances, I have laptops which multi-boot various
Debian releases. There be 32 bit and 64 bit versions of the same release
on a particular machine.

1. From current console, how can I determine which is running?
     [ equivalent of /etc/debian_version would be ideal ]

  uname -m

That returns a related piece of information.
"uname -r" better answers the question I asked.
*HOWEVER*, Greg's response, "The real command the OP is looking for is dpkg --print-architecture", answers the question I _should have_ asked.



2. As superuser, how can I determine which is installed on a different
     partition?
     [ My typical installation routine has been a descriptive label for
       each root partition. But not always done ;{ ]

If the superuser doesn't know, I surely don't know.

I was trying to determine what another boot-able OS on the machine would do.

I suspect the appropriate use of the "--admindir=?????" option to "dpkg-query" may be appropriate [I need to carefully re-read man-pages for dpkg-query and dpkg.]



Web search gave plethora of hits related to which to install. Nothing
for my particular question.

Inexplicable.

No. I needed a different set of search terms or an wise search engine.



Thanks for the responses received so far - especially Greg's mind-reading.




Reply via email to