⚠ NOTE: I switched to Kitty terminal emulator because of font ligatures. Make sure you download it too using ‚sudo pacman -S kitty‘. The config files in my dotfiles are in the path ~/.config/kitty/kitty.conf. If you prefer Alacritty make sure you edit the i3 config file so when you press Command+Enter the Alacritty terminal starts up! Otherwise nothing happens if you don‘t have Kitty installed. ⚠ NOTE: In my dotfiles I changed the plugin manager from Paq to Packer. You have to download Packer.nvim and when you copied the Nvim config files run `:PackerInstall` instead of `:PaqInstall`, otherwise it won't work!
Hallo! Danke erstmal für die super Anleitung :) Ich habe leider ein kleines Problem mit PackerInstall, ich bin der Anleitung gefolgt, die lua files haben sich ja seit dem Video verändert, also habe ich sie so wie sie auf GitHub waren genommen. Wenn ich nun aber :PackerInstall eingebe, bekomme ich die Fehlermeldung "kein Editorbefehl". Gibt's da eine Lösung? Packer selbst habe ich soweit erfolgreich runtergeladen. Ach und aus irgendeinem Grund ist nach dem Fensterwechsel, sowohl innerhalb der VM als auch außerhalb, immer die Feststelltaste aktiviert, jedoch nur mit Shift zu lösen. Ist das auch ein bekanntes Problem? Danke schonmal, ist erst meine zweite eigene Installation...
This is exactly what I was looking for for a year now since the day I got my m1 air. This is the first guide that worked for me to get a window manager working along with audio. And it comes with an i3 rice. This is great. Although I switched to dwm rice of my own instead because I am more familiar with it and it workes great so far. Just have to figure out a way to fix dpi scaling tho.
Nice, glad to hear it worked! Configuring the system and ricing is a journey on its own but with the basics in the video I try to give people new to Arch a starting point. dwm is also a great window manager I think of switching too.
thanks so much akhi al kareem. the installation/configuration guide you have outlined in your dotfiles github is outstanding and can even serve for future installation reference as it appears clear and organized. I was setting up Arch to create a sandbox play test before committing to my new desktop and unfortunately the network stopped receiving a connection after I closed and reopened it. I've tried changing from shared to bridged and what feels like all possible combinations but can't get it to reconnect. It seems from what I've found online that there is no real solution for this as everyone has a random problem for no apparent reason. I'd suggest looking into it if you haven't already. Jazak'allah khayr.
Thanks for your comment and baarak Allahu feek. I had this problem once and then found out that I didn't enable NetworkManager. Also try to establish a connection using nmcli(1): wiki.archlinux.org/title/NetworkManager#nmcli_examples (supposing you use wifi)
I had the same issue after rebooting, I think the main issue is that network manager stops every time the system is rebooted. I solved it by running: `systemctl start NetworkManager` you can then check the network device using this command: `nmcli device` If `systemctl start NetworkManager` doesn't take effect you can try running: `systemctl daemoon-reload` Many thanks to @Arfan Zubi for the tutorial!
Hey man, great Vid! I'm facing a problem though.While installing the Grub boot-loader my pacman is not working and shows all the downloaded files as corrupted due to some keys. i tried everything from resetting system clock, refreshing and also deleting and repopulating the keys but it still doesn't work. Any clue what i should do......
Thx for your video, i had a lot of struggle with pacman and gpg. pacman wasnt working after the installation. found out that the Keyring is/was missing and trys afterwards to fix it with pacman-key --init / --populate wasn't working. After some trys i found out that put "archlinuxarm-keyring" in the "pacstrap -K" process solve my issue. It is my first time testing /playing around with arch and i have no clue what chanegs there in a year but mayber it helps some others. have all a nice day
Hi Arfan, I tried your guide and it is very helpful but I couldn't install properly the latest (archboot-2024.01.01) ISO from archboot, I had some issues installing packages with pacman (marginal trust), I was able to make it work with "archboot-2023.11.29-15.35" ISO version though without any issue, Im using a Macbook with M3, but I would like to know why I haven't been able to fix that marginal trust issue with the 01.01.2024 version, I tried to disable the SigLevel and enable it back after installing archlinux-keyring and archlinuxarm-keyring but i still get these issues (marginal trust).
@@vinzz1786 i found later that the issue was the gpg version, apparently there is a bug in the newest version, we need to downgrade gpg to 2.2.41 (2.3.xx - 2.4.4 are not working for me)
I am getting an error after i run the command "pacman -S grub efiboomgr" File /var/cache/pacman/pkg/efibootmgt/18-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP Signature)) error: failed to commit transaction (invalid or corrupted package (PGP singature)) Errors occured, no packages were upgraded
@@zubiarfan sorry there have been typos while entering comments here. I was not able to copy paste the error message here. So I had to type it out. During installation I have run the command correctly "pacman -S grub efibootmgr". After this it downloads the required PGP Key and then throws the error
Hi. Is there any way to use arch fully? I have two monitors and a macbook, but I don't like macos, but I like linux with tile window manager using multiple monitors. As I understand it is not possible to fully use multiple monitors with virtualization - м the virtual system runs in one window. Is there any solution for this?
I don't think that's possible but I'm not sure about it. But if you want to use Arch as your main driver I'd suggest you install it on bare metal with Asahi Linux rather than in a virtual box. The performance is much better and you will be able to use your hardware to the fullest.
hello, the command at 26:45 `pacman -S grub efibootmgr` returns "invalid or corrupted package (pgp signature)" i couldn't get around it, the `pacman-key --populate archlinux` command i found for this issue didn't help. i can't get past this step and surprisingly find no other guides for arch on utm.
@@zubiarfan thank you. i want to gradually migrate to linux. i'm planning to install fedora bare metal later on but wanted to try here. i know arch is more complex but i'll try the other arm distros now.
try adding "SigLevel = Optional TrustAll" under repository name Include* line; but don't forget to comment that line after installing a required package as it can raise security issues later.
@@kaswanpradeep Ok, that‘s because the default keymap of Xorg is US English. What language do you prefer? You can set it using ‚setxkbmap ‘. Also change the language in the i3 config file because these are my keymaps (Swiss layout).
Is anyone having keyboard issues? Mine is a keyboard from a different language. I tried ``loadkeys br-latin1-us`` (which seems to match my keyboard), it only worked in that session. Does anyone know how to make it persistent?
@@zubiarfan sry to bother, but there's another issue when running ``sudo pacman -S spice-vdagent``, it says: 'failed retrieving file 'harfbuzz-7.0.1......' : the request URL returned 404'
You tutorial is great but could you please tell me how to solve the the problem of "wrong fs type, bad option, bad super block,..." when running the command. "mount /dev/vda3 /mnt" at 15:59?
Make sure you formatted the root partition: ‚mkfs.ext4 /dev/vda3‘. Also make sure that the name on your system is „vda3“. It could also be „sda3“ or any other name depending on your computer.
@@zubiarfan thank you, I missed that :3 However I then lalter got a problem telling that it could not resolve the resolve the host. I tried several ways, but they didn't work. Have you met this before?
@@baocao1411 Do you have this problem with the Xorg server? If yes, then make sure you have created the .xinitrc file in the home directory of your user account and make sure you are logged in as your user not as root. Also check if xorg-server and i3 are properly installed.
@@zubiarfan Could you please go in more detail on how to check this? I am new to this field of Linux, and I am currently taking an Operating System course so I really want to get over this problem. Thank you very much for your support!
@@baocao1411 Well it‘s hard to tell without context. At which stage in the video are you when the error occurs? Could you maybe provide a timestamp so I understand what‘s going on
First I want to say thank you for developing this useful program. On my computer (MacBook M1 2020) I faced two issues in the aarch64 iso: 1. I could not modify the mapping of my keyboard to my preferred language. 2. Sometimes when entering the settings for the boot loader it would just not respond anymore I couldn't exit the process or do anything.
@@zubiarfan 1. Is fixed in yesterdays images. 2. Which bootloader is hanging? You can always check VC7 to see what's going on. Grub takes some time to build the EFI and I cannot monitor this to the setup script cause it's lot of text. Thanks for your video :). If you find issues just post them to my projects bugtracker, I try to solve things quickly.
@@tobiaspowalowski9846 Great, thanks for linking my video I really appreciate it. Yes I noticed that you maintain your project very actively and I love to use it. The issue concerning the bootloader happened with GRUB.
Thank you so much for these videos. I have been having limitless problems with virtualization on my MacBook. I think I followed everything you did, but when I chroot into the system it says there is no /bin/bash directory
Could it be that when you ran the pacstrap command that you forgot to set /mnt as destination or that you forgot to install the base package? $ pacstrap -K /mnt base base-devel linux linux-firmware e2fsprogs dhcpcd networkmanager sof-firmware git neovim man-db man-pages texinfo
@@zubiarfan i used the arrow keys to go back to the pacstrap command I ran. Everything was included in it, so I just ran it again and now it seems to be working lol. I saw that the archboot guy was in here, so I’ll try to give that a run through soon too. Thanks
⚠ NOTE: I switched to Kitty terminal emulator because of font ligatures. Make sure you download it too using ‚sudo pacman -S kitty‘. The config files in my dotfiles are in the path ~/.config/kitty/kitty.conf.
If you prefer Alacritty make sure you edit the i3 config file so when you press Command+Enter the Alacritty terminal starts up! Otherwise nothing happens if you don‘t have Kitty installed.
⚠ NOTE: In my dotfiles I changed the plugin manager from Paq to Packer. You have to download Packer.nvim and when you copied the Nvim config files run `:PackerInstall` instead of `:PaqInstall`, otherwise it won't work!
Hallo! Danke erstmal für die super Anleitung :) Ich habe leider ein kleines Problem mit PackerInstall, ich bin der Anleitung gefolgt, die lua files haben sich ja seit dem Video verändert, also habe ich sie so wie sie auf GitHub waren genommen. Wenn ich nun aber :PackerInstall eingebe, bekomme ich die Fehlermeldung "kein Editorbefehl". Gibt's da eine Lösung? Packer selbst habe ich soweit erfolgreich runtergeladen. Ach und aus irgendeinem Grund ist nach dem Fensterwechsel, sowohl innerhalb der VM als auch außerhalb, immer die Feststelltaste aktiviert, jedoch nur mit Shift zu lösen. Ist das auch ein bekanntes Problem?
Danke schonmal, ist erst meine zweite eigene Installation...
Thanks, Arfan Zubi, for your dotfiles. I tried your entire setup, and it motivated me to maintain my own dotfiles..✌
Cool! Have fun customizing :)
This is exactly what I was looking for for a year now since the day I got my m1 air. This is the first guide that worked for me to get a window manager working along with audio. And it comes with an i3 rice. This is great. Although I switched to dwm rice of my own instead because I am more familiar with it and it workes great so far. Just have to figure out a way to fix dpi scaling tho.
Nice, glad to hear it worked! Configuring the system and ricing is a journey on its own but with the basics in the video I try to give people new to Arch a starting point. dwm is also a great window manager I think of switching too.
how did you fix the dpi scaling issue
thanks so much akhi al kareem. the installation/configuration guide you have outlined in your dotfiles github is outstanding and can even serve for future installation reference as it appears clear and organized. I was setting up Arch to create a sandbox play test before committing to my new desktop and unfortunately the network stopped receiving a connection after I closed and reopened it. I've tried changing from shared to bridged and what feels like all possible combinations but can't get it to reconnect. It seems from what I've found online that there is no real solution for this as everyone has a random problem for no apparent reason. I'd suggest looking into it if you haven't already. Jazak'allah khayr.
Thanks for your comment and baarak Allahu feek. I had this problem once and then found out that I didn't enable NetworkManager. Also try to establish a connection using nmcli(1): wiki.archlinux.org/title/NetworkManager#nmcli_examples (supposing you use wifi)
I had the same issue after rebooting, I think the main issue is that network manager stops every time the system is rebooted. I solved it by running:
`systemctl start NetworkManager`
you can then check the network device using this command:
`nmcli device`
If `systemctl start NetworkManager` doesn't take effect you can try running:
`systemctl daemoon-reload`
Many thanks to @Arfan Zubi for the tutorial!
Sehr hilfreiches Video! Vielen Dank und Grüße aus Deutschland!
Does anyone know how to get networking enabled? Seems the default UTM + archboot configs don't mix (for me at least)
Same problem here.
Hey man, great Vid! I'm facing a problem though.While installing the Grub boot-loader my pacman is not working and shows all the downloaded files as corrupted due to some keys.
i tried everything from resetting system clock, refreshing and also deleting and repopulating the keys but it still doesn't work. Any clue what i should do......
I had this issue some time ago. Try to do the following steps: github.com/3rfaan/dotfiles#package-install
Hope it works
@@zubiarfan Didn't work for me :(
@@KonstantinKrasser could you elaborate further? At which point are you and what is the error message?
@@zubiarfan works for me, thanks a million🤍
I had the same issue. After including archlinuxarm-keyring during the pacstrap install (go out first by pressing ctrl+d then redo pacstrap) it works
Thx for your video, i had a lot of struggle with pacman and gpg.
pacman wasnt working after the installation.
found out that the Keyring is/was missing and trys afterwards to fix it with pacman-key --init / --populate wasn't working.
After some trys i found out that put "archlinuxarm-keyring" in the "pacstrap -K" process solve my issue.
It is my first time testing /playing around with arch and i have no clue what chanegs there in a year but mayber it helps some others.
have all a nice day
Note for US layout users: setxkbmap us at 51:35
Hi Arfan, I tried your guide and it is very helpful but I couldn't install properly the latest (archboot-2024.01.01) ISO from archboot, I had some issues installing packages with pacman (marginal trust), I was able to make it work with "archboot-2023.11.29-15.35" ISO version though without any issue, Im using a Macbook with M3, but I would like to know why I haven't been able to fix that marginal trust issue with the 01.01.2024 version, I tried to disable the SigLevel and enable it back after installing archlinux-keyring and archlinuxarm-keyring but i still get these issues (marginal trust).
i have the same problem thanks for specifying the archboot version
@@vinzz1786 i found later that the issue was the gpg version, apparently there is a bug in the newest version, we need to downgrade gpg to 2.2.41 (2.3.xx - 2.4.4 are not working for me)
Any ideas on how to get GPU acceleration working? I get a black screen after startx using the virtio-ramfb-gl emulated display card
Did you figure it out, Ben?
I am getting an error after i run the command "pacman -S grub efiboomgr"
File /var/cache/pacman/pkg/efibootmgt/18-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP Signature))
error: failed to commit transaction (invalid or corrupted package (PGP singature))
Errors occured, no packages were upgraded
You have a typo. The package is called „efibootmgr“ (for EFI Boot Manager):
pacman -S grub efibootmgr
Hope it works.
@@zubiarfan sorry just made the typo while writing the comment here. Otherwise it was "efibootmgr" on the virtual machine
@@rzwnhmd But in the file path you provided I see „efibootmgt“:
File /var/cache/pacman/pkg/efibootmgt/18-1-aarch64.pkg.tar.xz is corrupted
@@zubiarfan sorry there have been typos while entering comments here. I was not able to copy paste the error message here. So I had to type it out. During installation I have run the command correctly "pacman -S grub efibootmgr". After this it downloads the required PGP Key and then throws the error
@@rzwnhmd Ok, I understand. In this case follow these steps related to PGP key errors:
github.com/3rfaan/dotfiles#package-install
we need an updated version of this
One question, I installed the UTM arch ARM and the screen is really small when I open nvim or other cli tools. What could be the issue?
Did you install SPICE guest additions?
yes, I installed them via brew
@@darkarie ok but you have to install it in Arch too
Hi. Is there any way to use arch fully? I have two monitors and a macbook, but I don't like macos, but I like linux with tile window manager using multiple monitors. As I understand it is not possible to fully use multiple monitors with virtualization - м the virtual system runs in one window. Is there any solution for this?
I don't think that's possible but I'm not sure about it. But if you want to use Arch as your main driver I'd suggest you install it on bare metal with Asahi Linux rather than in a virtual box. The performance is much better and you will be able to use your hardware to the fullest.
hello, the command at 26:45 `pacman -S grub efibootmgr` returns "invalid or corrupted package (pgp signature)"
i couldn't get around it, the `pacman-key --populate archlinux` command i found for this issue didn't help. i can't get past this step and surprisingly find no other guides for arch on utm.
@@kuchesezik I guess the guide is outdated. I might make another one.
@@zubiarfan thank you. i want to gradually migrate to linux. i'm planning to install fedora bare metal later on but wanted to try here. i know arch is more complex but i'll try the other arm distros now.
try adding "SigLevel = Optional TrustAll" under repository name
Include* line; but don't forget to comment that line after installing a required package as it can raise security issues later.
my keys are fucked, only characters are working properly, special characters and symbols are all mapped incorrect, can u help me with this?
At which stage are they mapped incorrect, in the installation process or after entering the GUI environment?
@@zubiarfan after entering the gui
@@kaswanpradeep Ok, that‘s because the default keymap of Xorg is US English. What language do you prefer? You can set it using ‚setxkbmap ‘. Also change the language in the i3 config file because these are my keymaps (Swiss layout).
I followed your install guide but instead I used asahi linux, for some reason my terminal fonts are overlapping. Can you help?
I‘ve never tried Asahi Linux out. Do you mean the font in the TTY or the font in your terminal emulator?
@@zubiarfan The font in alacritty. I have tried everything but I cant fix it.
@@Princypal1lol could you upload a screenshot somewhere and post the link here so I can see what‘s going on?
@@zubiarfan Sure will do
@@Princypal1lol ok, and alternatively you could use another terminal emulator e.g. kitty is the one I‘m using currently.
Is anyone having keyboard issues? Mine is a keyboard from a different language.
I tried ``loadkeys br-latin1-us`` (which seems to match my keyboard), it only worked in that session. Does anyone know how to make it persistent?
Try using `setxkbmap br`.
You can also make this persistent by adding in your ~/.xinitrc file the following line:
setxkbmap br
Hope that helps
@@zubiarfan Cool, thank you for replying. I'll try this after installing Xorg
@@zubiarfan sry to bother, but there's another issue when running ``sudo pacman -S spice-vdagent``, it says:
'failed retrieving file 'harfbuzz-7.0.1......' : the request URL returned 404'
nevermind, the server is prob syncing or something. just try it some time later
You tutorial is great but could you please tell me how to solve the the problem of "wrong fs type, bad option, bad super block,..." when running the command. "mount /dev/vda3 /mnt" at 15:59?
Make sure you formatted the root partition: ‚mkfs.ext4 /dev/vda3‘. Also make sure that the name on your system is „vda3“. It could also be „sda3“ or any other name depending on your computer.
@@zubiarfan thank you, I missed that :3 However I then lalter got a problem telling that it could not resolve the resolve the host. I tried several ways, but they didn't work. Have you met this before?
@@baocao1411 Do you have this problem with the Xorg server? If yes, then make sure you have created the .xinitrc file in the home directory of your user account and make sure you are logged in as your user not as root. Also check if xorg-server and i3 are properly installed.
@@zubiarfan Could you please go in more detail on how to check this? I am new to this field of Linux, and I am currently taking an Operating System course so I really want to get over this problem. Thank you very much for your support!
@@baocao1411 Well it‘s hard to tell without context. At which stage in the video are you when the error occurs? Could you maybe provide a timestamp so I understand what‘s going on
Hi! I have this message in the "Guest has not initialized display yet". M2
Please tell me what is too buggy in the installer itself? Without knowing I can't fix them ;)
First I want to say thank you for developing this useful program. On my computer (MacBook M1 2020) I faced two issues in the aarch64 iso:
1. I could not modify the mapping of my keyboard to my preferred language.
2. Sometimes when entering the settings for the boot loader it would just not respond anymore I couldn't exit the process or do anything.
@@zubiarfan 1. Is fixed in yesterdays images. 2. Which bootloader is hanging? You can always check VC7 to see what's going on. Grub takes some time to build the EFI and I cannot monitor this to the setup script cause it's lot of text. Thanks for your video :). If you find issues just post them to my projects bugtracker, I try to solve things quickly.
@@zubiarfan Linked your video on archboot homepage.
@@tobiaspowalowski9846 Great, thanks for linking my video I really appreciate it.
Yes I noticed that you maintain your project very actively and I love to use it.
The issue concerning the bootloader happened with GRUB.
@@zubiarfan Please retry latest image, I fixed some parts in grub installation.
Thank you so much for these videos. I have been having limitless problems with virtualization on my MacBook.
I think I followed everything you did, but when I chroot into the system it says there is no /bin/bash directory
Could it be that when you ran the pacstrap command that you forgot to set /mnt as destination or that you forgot to install the base package?
$ pacstrap -K /mnt base base-devel linux linux-firmware e2fsprogs dhcpcd networkmanager sof-firmware git neovim man-db man-pages texinfo
@@zubiarfan i used the arrow keys to go back to the pacstrap command I ran. Everything was included in it, so I just ran it again and now it seems to be working lol. I saw that the archboot guy was in here, so I’ll try to give that a run through soon too. Thanks
I had some weird graphical problems when trying to use i3 or any other de/dm. I had to reinstall without enabling hardware acceleration in utm
@@Q-Ball. I‘ve fixed it in the dotfiles. On a virtual machine you should use xrender instead of glx for rendering of your compositor.
thank you but im not doin all that but good to know it exists thx
grüße aus deutschland
bruder ich KIregs nicht hin
mekk os
when i run mkfs.ext4 /dev/vda3, it shows /dev/vda3 is apparently in use by the system; will not make a filesystem here!
Did you create a GPT Partition Table at the beginning of the partitioning process by pressing ‚g‘? This will wipe the whole disk.
@@zubiarfan i think i did that twice, maybe thats the issue, wil deleting all the partition and doing it from beginning fix it?
@@kaswanpradeep Yes, it happened to me as well. I suggest you do a clean installation: Delete the virtual machine and start over.