mount /dev/sda6 /mnt && rm -rf /mnt/*
pacman -Syy --noconfirm parabola-keyring && pacman-key --populate archlinux && pacman-key --populate parabola && pacman-key --refresh-keys pacman -Su -r /mnt --noconfirm linux-libre-hardened linux-libre-hardened-headers parabola-keyring archlinux-keyring pacman nano guix sudo mkinitcpio git efibootmgr grub os-prober update-grub sed syslinux openrc libnm networkmanager networkmanager-qt nm-connection-editor networkmanager-openrc iputils network-manager-applet base-openrc openrc-base openrc-desktop polkit-elogind upower torsocks xorg-xinit xorg-xauth acpi ibam iasl acpi_call libacpi laptop-mode-tools-openrc sddm qterminal lxqt xscreensaver axel iceweasel trisquel-themes breeze breeze-icons oxygen oxygen-icons jmtpfs mtpfs android-file-transfer libmtp repo android-udev android-tools jadx smali simg2img-git
genfstab -U /mnt >> /mnt/etc/fstab && arch-chroot /mnt
nano /usr/share/openrc/support/sysvinit/inittab && cp -vr /usr/share/openrc/support/sysvinit/inittab /etc/inittab nano /etc/fstab && nano /etc/hostname && nano /etc/hosts && nano /etc/conf.d/xdm && mkdir /home/hd_scania -p
nano /etc/X11/xinit/xinitrcexec sddm
# exec startlxqt
# exec startdde
## Uncomment to default by Deepin instead of LXQt
## sudo pacman -Su --noconfirm deepin
# exec liri-session -platform wayland
## Add the below lines to add Liri repo:
[liri-unstable]
SigLevel = Optional TrustAll
Server = https://repo.liri.io/archlinux/unstable/x86_64
## sudo pacman -Syyu --noconfirm liri-shell-git liri-settings-git liri-terminal-git liri-files-git liri-appcenter-git fluid-git vibe-git liri-wayland-git qt5-wayland qt5-wayland xorg-server-xwayland
## Uncomment to default by Liri instead of LXQt
# exec mate-session
## Uncomment to default by MATE instead of LXQt
## sudo pacman -Su --noconfirm mate
# exec openbox
## The default window manager for LXQt, already present as the LXQt deps
mkdir -p /boot/efi && mount /dev/sda5 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck nano /etc/default/grub && mkinitcpio -p linux-libre-hardened && grub-mkconfig -o /boot/grub/grub.cfg && update-grub
rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime
groupadd sudo && groupadd audio && useradd hd_scania -G sudo,audio && passwd hd_scania && passwd root
nano /etc/sudoershd_scania   ALL=(ALL)   ALL
hd_scania   ALL=(ALL)   NOPASSWD: ALL
# You are not limited to any username you are willing, just use your one instead of hd_scania # You are granting yourself sudo permission w/o asking a password, this should be always aware what you are doing
exit
reboot -fi

Reply via email to