Writing a simple guide to Parabola for newbies

10 Antworten [Letzter Beitrag]
gd_scania
Offline
Beigetreten: 09/13/2017

Just like Trisquel, I also want my friends to easily master Parabola which I have written a nice script of commands, which you must accept that fate there isnt a graphical installer for Parabola, but dnt worry you wont be fallen under an tty, Parabola has a MATE graphical live ISO, to begin, repair, rescue, recover your system, also an LXDE alternative available.
http://mirror.fsf.org/parabola/iso/mate-2016.11.03/parabola-mate-2016.11.03-dual.iso
Note you dnt need sudo permission which the graphical ISO is a root user session.
pacstrap /mnt mkinitcpio git efibootmgr grub os-prober sed syslinux openrc
pacstrap /mnt libnm networkmanager networkmanager-qt nm-connection-editor networkmanager-openrc iputils
pacstrap /mnt network-manager-applet base-openrc openrc-base openrc-desktop polkit-elogind upower
pacstrap /mnt torsocks xorg-xinit xorg-xauth acpi ibam iasl acpi_call libacpi laptop-mode-tools-openrc
pacstrap /mnt sddm qterminal lxqt xscreensaver trisquel-themes breeze breeze-icons oxygen oxygen-icons
genfstab -U /mnt >> /mnt/etc/fstab && arch-chroot /mnt
nano /etc/fstab && nano /etc/hostname && nano /etc/hosts && mkdir /home/hd_scania -p
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 && 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/sudoers
exit

reboot -fi

Do you here see OpenRC? This is exactly a common base init system from Gentoo for the most non-systemd Unix-like systems like Devuan, where Gentoo and Devuan are both best known not using systemd, but Gentoo is nonfree and overly complex commands minimum to be installed (here is why I need to simplify commands installing and initializing Parabola). Some buddies will be happy using Devuan and nice to continuing using it if so.

gd_scania
Offline
Beigetreten: 09/13/2017

Note: /dev/sda5, /dev/sda6, /dev/sda7, /dev/sda12 vary to your machine, and you must have prior well partitioned your drive.
ALSO SEE MY ParabolaWiki FRONTPAGE FOR MY FURTHER CHANGES TO THIS SCRIPT: https://wiki.parabola.nu/user:hd_scania

gd_scania
Offline
Beigetreten: 09/13/2017

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

gd_scania
Offline
Beigetreten: 09/13/2017

Also for the another cloned system, but with generic kernel, systemd instead of OpenRC,
mount /dev/sda12 /opt && rm -rf /opt/*
pacman -Syy --noconfirm parabola-keyring && pacman-key --populate archlinux && pacman-key --populate parabola && pacman-key --refresh-keys
pacman -Su -r /opt --noconfirm linux-libre parabola-keyring archlinux-keyring pacman nano guix sudo mkinitcpio git efibootmgr syslinux libnm networkmanager nm-connection-editor iputils network-manager-applet upower torsocks xorg-xinit xorg-xauth acpi ibam iasl acpi_call libacpi sddm axel iceweasel trisquel-themes jmtpfs mtpfs android-file-transfer libmtp repo android-udev android-tools jadx smali simg2img-git
genfstab -U /opt >> /opt/etc/fstab && arch-chroot /opt
nano /etc/fstab && nano /etc/hostname && nano /etc/hosts && mkdir /home/hd_scania -p
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
mkdir -p /boot/efi && mount /dev/sda5 /boot/efi && mkinitcpio -p linux-libre
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

exit

reboot -fi

gd_scania
Offline
Beigetreten: 09/13/2017

The last cloned system, total 3, but with LTS kernel, backing to OpenRC,
mkdir /lts && mount /dev/sda7 /lts && rm -rf /lts/*
pacman -Syy --noconfirm parabola-keyring && pacman-key --populate archlinux && pacman-key --populate parabola && pacman-key --refresh-keys
pacman -Su -r /lts --noconfirm linux-libre-lts linux-libre-lts-headers acpi_call-lts parabola-keyring archlinux-keyring pacman nano guix sudo mkinitcpio git efibootmgr 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 /lts >> /lts/etc/fstab && arch-chroot /lts
nano /etc/fstab && nano /etc/hostname && nano /etc/hosts && mkdir /home/hd_scania -p
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/conf.d/xdm && nano /etc/hosts && mkdir /home/hd_scania -p
nano /etc/X11/xinit/xinitrcexec sddm
mkdir -p /boot/efi && mount /dev/sda5 /boot/efi && mkinitcpio -p linux-libre-lts
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

exit

reboot -fi

gd_scania
Offline
Beigetreten: 09/13/2017

Extra apps to be installed here,
sudo pacman -Su --noconfirm gparted bleachbit marble-qt qgis gpsprune merkaartor fcitx-table-extra ibus-table noto-fonts-emoji cldr-emoji-annotation nodejs-emojione unicode-emoji scim-anthy fcitx-anthy ibus-anthy peek vlc pdfmod evince pstoedit qt5-svg kvantum-qt5 qpdfview
sudo nano /etc/pacman.conf
# https://desktop.telegram.org
[eduardosm]
SigLevel = Optional TrustAll
Server = https://arch-repos.eduardosm.net/x86_64/eduardosm
[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 telegram-desktop

gd_scania
Offline
Beigetreten: 09/13/2017

No thanks and I am always on my working laptop everyday but Tuesday at 15:45 or later, but also everyday but Thursday at 10:30 or earlier. Parabola, Debian testing, Flidas T8 are my days-to-days systems I am working for my free software theories, I have also installed Devuan but need to reinstall due to some issues.

gd_scania
Offline
Beigetreten: 09/13/2017

Not just Devuan, but asking for help of Parabola also depends on here.
For Debian I also prefer getting help here, which Trisquel is a Debian derivative, but you are needed to be advanced in questioning skills under the Debian forums, even though the system itself is newbies friendly.