[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to get the architecture of the machine just booted up
From: |
SteveSi |
Subject: |
Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ... |
Date: |
Sun, 17 Dec 2023 08:53:31 +0000 |
- 15.1.15 grub_cpu
<https://www.gnu.org/software/grub/manual/grub/grub.html#grub_005fcpu>
- 15.1.16 grub_platform
<https://www.gnu.org/software/grub/manual/grub/grub.html#grub_005fplatform>
-
On Sun, 17 Dec 2023 at 08:43, Albretch Mueller <lbrtchx@gmail.com> wrote:
> I can't find it in the documentation:
>
> https://www.gnu.org/software/grub/manual/grub/grub.html
>
>
> https://www.mail-archive.com/search?l=help-grub%40gnu.org&q=architecture+amd64
>
> you could deduce via dmidecode if a machine is 32- or 64-bit, and,
> say, in Debian Linux, after boot up you can get the processor type
> from the OS by running:
>
> $ dpkg --print-architecture
> amd64
>
> $ uname -a
> Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02)
> x86_64 GNU/Linux
>
> How could you get the architecture it is running on from GRUB2?
>
> lbrtchx
>
>
- Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Albretch Mueller, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ...,
SteveSi <=
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Pascal Hambourg, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Albretch Mueller, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Pascal Hambourg, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Albretch Mueller, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Andrei Borzenkov, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Pascal Hambourg, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Narcis Garcia, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Andrei Borzenkov, 2023/12/17
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Narcis Garcia, 2023/12/18
- Re: Is there a way to get the architecture of the machine just booted up by GRUB2: [32|64]-[amd|arm]? ..., Andrei Borzenkov, 2023/12/18