
You can also use the following command to find out if Linux kernel is running in 32bit or 64bit mode: If you use see i386/i486/i586/i686 it is a 32 bit kernel. X86_64 GNU/Linux indicates that you’ve a 64bit Linux kernel running. Type the following command at the terminal: Example – Find out if running Linux kernel (OS) is 32 or 64 bit Let us see all commands and examples in details. Execute grep -o -w 'lm' /proc/cpuinfo command to determine if you are using 32 or 64 bit CPU.
Run getconf LONG_BIT to see if Linux kernel is 32 or 64 bit. Type uname -a to print system information. How to find if Linux is running on 32-bit or 64-bit /proc/cpuinfo file: Use this file to determine if CPU is 64 bit or 32 bit i.e. uname command: This command prints system information including kernel version and whether kernel (os) is 32 bit or 64 bit. getconf LONG_BIT command: This command check if the OS (kernel) is 32 bit or 64 bit. In most cases, this partition is used as a physical volume for LVM so as to protect several partitions (LVM logical volumes) with the same encryption key, including the swap partition (see sidebar SECURITY Encrypted swap partition). Once this step has been completed, and you have returned to the partitioning tool menu, a new partition will be available in an “encrypted volume”, which you can then configure just like any other partition. The software will then propose to initialize the physical volume with random data (making the localization of the real data more difficult), and will ask you to enter an “encryption passphrase”, which you will have to enter every time you boot your computer in order to access the content of the encrypted partition. After partitioning the disk containing the physical volume to be made, choose “Configure encrypted volumes”. To do so, select a partition and indicate that it is to be used as a “physical volume for encryption”.
To create an encrypted partition, you must first assign an available partition for this purpose.