Hi,
6.28 | 6.2810.4 | BusterLinux DietPi: 4.19.118-v8+RPi4 4GbOfficial Raspberry pi allimentation 5,1V - 3ASanDiskarm_64bit=1# Force booting in 64bit mode
I can to install this vmtouch_aarch64.deb
Thanks to all, and take care of yourself
Pls don't use the 64bit flag for initial installation on your RPi4. Otherwise an incorrect package is pulled.
So, i must to install with the DietPi 32 bits and then, modify the file config.txt in the boot folder with : arm_64bit=1# Force booting in 64bit mode ?
Yes that would be the way. But keep in mind that the 64bit flag is just forching the kernel into 64bit mode while the user space will be 32bit still.
Anyway the Raspberry Foundation is working on a real 64bit Raspbian OS version. But this is in an early beta stage and not yet supported by DiePi.
Ah shit. If I understand, I can't to install program in 64 bits ?
Well just try it out. Finish the initial setup. Afterwards change the config.txt to force 64bit kernel mode and try using your software.
Well just try it out. Finish the initial setup. Afterwards change the
config.txtto force 64bit kernel mode and try using your software.
Okey. The Kernel will be in 64 bits and that's it, no program in 64 bits ? (Sorry, I m a noob in linux and I'm learning)
What kind of software you are looking for that requires 64bit explicitly?
In fact, I want to install Opensnitch.
And I'm testing to install it with the developer arm64 version
I think I go to speak with him, to have the version with armhf. I will test in my Rock64 with arm64
Opensnitch, Fork of Opensnitch, is a great firewall that runs in service
Just to avoid any confusion. DietPi is not an own Operating System or Distribution. DietPi is a bundle of scripts on top of a standard Debian installation. In case of Raspberry Pi, base image is Raspberry Pi OS (previously called Raspbian). Currently Raspberry Pi OS is available as 32bit version only. Yes you can switch kernel into 64bit mode on RPi3 and 4 but this will not change the package architecture. For verification purposes, I installed an official Raspberry Pi OS 32bit image and added arm_64bit=1 into /boot/config.txt.
pi@raspberrypi:~ $ dpkg --print-architecture
armhf
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.118-v8+ #1311 SMP PREEMPT Mon Apr 27 14:32:38 BST 2020 aarch64 GNU/Linux
pi@raspberrypi:~ $
As you can see, kernel was switched to aarch64, however package architecture remains on armhf.
Probably you would need to wait on Raspberry Pi Foundation to release a real 64bit OS.
https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370
Yes one needs to understand that a 64-bit kernel does not make a 64-bit OS. Actually using a 64-bit kernel on 32-bit OS even causes issues since many installers and config scripts (including ours) use uname -m to check which binary/package architectures they should setup. But a 64-bit binary will have issues calling a 32-bit library e.g. or a 64-bit package might want to pull 64-bit dependencies which either lead to doubled installs, conflicts or are simply not available in the 32-bit repo.
Long story short: As long as you do not use a real 64-bit OS on RPi, do not set arm_64bit=1, it will not have any benefits but only causes havoc earlier or later 馃槈.
But aside from that, Raspberry Pi OS 64-bit (which is in fact regular Debian with arm64 repo) is in early beta and we're working on making DietPi compatible with it. Once done a official 64-bit image will be released.
Thanks to you : @Joulinar and @MichaIng to your time and I understand better and will take your advices
And So, this issues is not really a problem and we must wait a OS in 64 bit. We can close this issues. Are you OK ?
yep I'm going to close the issue, feel free to reopen if needed.
Most helpful comment
Just to avoid any confusion. DietPi is not an own Operating System or Distribution. DietPi is a bundle of scripts on top of a standard Debian installation. In case of Raspberry Pi, base image is Raspberry Pi OS (previously called Raspbian). Currently Raspberry Pi OS is available as 32bit version only. Yes you can switch kernel into 64bit mode on RPi3 and 4 but this will not change the package architecture. For verification purposes, I installed an official Raspberry Pi OS 32bit image and added
arm_64bit=1into/boot/config.txt.As you can see, kernel was switched to
aarch64, however package architecture remains onarmhf.Probably you would need to wait on Raspberry Pi Foundation to release a real 64bit OS.
https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370