Perspectives
Actually I was looking for Pi OS AArch64 but it was a beta version. It's suppose to me Fedora 35 Server AArch64 would be the best alternative of Pi OS AArch64. Actually Fedora 35 Server AArch64 needed to build Quarkus AArch64 native image using Podman.
It was the first time Fedora 35 Server AArch64 downloaded and written into a Samsung 32GB EVO Plus micro SD card using Raspberry Pi Imager. It was a very easy installation but there were some strict dependencies with some external peripheral like HDMI Monitor, Micro HDMI Converter & Keyboard.
Fortunately I able to manage those peripherals. Unfortunately I unable to bypass this installation and configuration process over the ethernet using SSH like Pi OS.
So far I can remember, I never have to use any external peripherals like HDMI Monitor, Micro HDMI Converter or Keyboard to install or configure Pi OS. Only I have to rely on existing WiFi Router & CAT6 ethernet cable.
Configurations
This the first time I've to use such peripheral devices instead of CAT6 ethernet cable. I'm a bit worried as it might not be cost effective for the beginners as well for the learners. Anyway I was able to install and configure Fedora 35 Server AArch64 as following:
sudo nmcli dev wifi rescan
sudo nmcli dev wifi
sudo nmcli dev
sudo nmcli dev wifi con 'ChorkeOrg_2.4GHz' password 'sadaqah!'
sudo nmcli dev wifi con 'ChorkeOrg' password 'sadaqah!'
sudo nmcli con
sudo timedatectl set-timezone 'Asia/Kuala_Lumpur'
sudo hostnamectl set-hostname fedora
sudo timedatectl set-ntp true
disable_overscan=1
added at the end of the line of /boot/efi/config.txt
to disable overscan. It will be reduced booting time. After reboot I able to access the cockpit https://fedora:9090/.
Issue: Volume Resize
But I disappointed a bit when I can't utilize the total space of Samsung 32GB EVO Plus. Please find the details as following:
lsblk
:'
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 29.8G 0 disk
├─mmcblk0p1 179:1 0 600M 0 part /boot/efi
├─mmcblk0p2 179:2 0 1G 0 part /boot
└─mmcblk0p3 179:3 0 5.4G 0 part
└─fedora_fedora-root 253:0 0 5.4G 0 lvm /
zram0 252:0 0 7.6G 0 disk [SWAP]
'
Would you please guide us how to expand physical volume of /dev/mmcblk0p3
as well logical volume of /dev/fedora_fedora/root
?
fdisk
to resize the partition itself thenresize2fs
to resize the filesystem on it. You can also use the GUI toolgparted
. This doesn't really need to be regurgitated in detail again here as it surely is already dozens of times online, but someone may come along who wants to bother.fdisk
,parted
but issue raised forresize2fs
with message Bad magic number in super-blockresize2fs
is for use with ext2/3/4 filesystems. But 15 seconds with google ("resize xfs") tells me the equivalent command isxfs_growfs
.