The All-In-One quick Arch setup is part of LINUTIL Now!
christitustech / archtitus Goto Github PK
View Code? Open in Web Editor NEWAutomated Arch Linux Install
License: MIT License
Automated Arch Linux Install
License: MIT License
The All-In-One quick Arch setup is part of LINUTIL Now!
I was wondering if you've thought adding of OR have a program already in the ArchTitus install like Rclone and Rclone Browser, I just found out about it and it seems like a really good addition to the package, let me know what you think. Keep up the GREAT work!
Hey Chris, getting lost of fatal errors C++ out of memory and killing processes etc. Install takes over an hour to complete, (330mb internet connection )and I am missing the wifi in the taskbar, unable to adjust screen brightness on the laptop.
laptop has 8gb of ram but obviously some of that ill be allocated to the APU.
screenshot attached.
I would like an option to have a minimal installation as I do not want kde and I'm not forking this on github as I have a problem with how you lay out the pkdgs and am scared of making the script fail. In my opinion you should organise pkdgs as a list of core pkdgs these would include the base, linux and linux-headers etc and a list of extra packdges these are packadges you add to becuase you use them like kde or steam. This would allow me to safely remove all the extra packadges without worry and add custom ones. But thats a completely seperate issue.
After the installation is complete, the boot screen got stucked, tried to uninstall Nvidia drivers but nothing worked for me. Plx help
Script runs fine but upon 1st boot system hangs on KDE loading screen and never reaches the desktop, if load the desktop no app will load/launch. Rebooting does not solve the problem.
System:
Ryzen 7 3700x
16Gb RAM
Radeon 5500XT
Ask all questions at the beginning of the script rather then throughout. Makes it easier for the end user.
If you're installing with the script on e.g. an usb-tethering connection instead of wifi or ethernet, then the hostname will default to archlinux. If that router you're connecting to already has that registered, then no programs will start since they cant find the display.
The solution to this was to disconnect from WIFI, manually change the hostname in the networkmanager config and in /etc/hosts, then do a reboot.
Please add pacman packages...
plasma-nm bluez-utils dtc extra-cmake-modules gwenview filelite kcodecs kcoreaddons kde-plasma-addons kinfocenter kscreen libdvdcss powerdevil python-notify2 python-psutil python-pyqt5
Please add aur package..
lightlyshaders-git
Create a separate file which contains all packages(including system and user), where we dont need to fiddle around multiple scripts files. (probably a json file?)
what is the default package manager that is installed by the script ? pacman or yay
I recently ran the install script on my laptop and it booted ju just fine. I went to add kernels such as the zen kernel and the lts kernel only to realize that grub was not configured at all. I generated the grub config file and something still is preventing the menu from showing up at boot even with holding the shift key. Going deeper into each of the scripts line by line, there is no setup of the grub config file in any of them.
As for the snapper issue, when loading up the snapper gui and running the command to create a snapshot, it says that snapper has not been configured either. Similar story there of snapper not being setup for backups in any of the install scripts.
Just tried installing your archlinux project and somewhere in the compiling phase it runs out of memory on a 4GB machine and fails compiling anything after that. When upping memory to at least 8GB everything runs smoothly.
Thanks for sharing your work Chris.. keep it up!
I used you script and went through the entire install on my roommates machine, rebooted, and once at the login screen could not login. I got the impression it was just stuck not that it was the wrong password. Added his specs below under his account.
please add the function for installing on a partition instead of installing on a whole Ssd or Hdd and also support for dual boot. and also a feature for selecting home partition manually
While this might not need a fix, maybe just a note for future users that try this i ran into the following when trying to install on my low spec HP Cloud laptop, also would probably not run into these issues on more powerful computers
1st. Had to tell archlinux install environment to boot with more of a ramdisk (256mb by default) using cow_spacesize=1G at the end of the kernel parameters, otherwise the script would run out of space when downloading packages.
2nd. for some reason it never mounted the drives after formatting, causing it to install to the booted ramdisk, i got pass this by manually mounting and then running the script without formatting. (also note i formated it again with ext4 instead of btrfs, so i also had to manually set a label of ROOT, and also remove the rootflag "subvol=@" in the syslinux arch.conf
3rd. during install when it was compiling i kept running into OutOfMemory and it would kill an instance of the cc1plus process, i got past this by killall cc1plus in another console, although im not sure if this might have caused other problems, although everything mostly appears fine.
(Laptop Specs - HP Cloud 14, Celeron N3060, 4gb Ram, 32GB SSD seen as mmcblk0)
Otherwise nice work!
So Ive installed Arch with this script 2 times and both times its happened where After the install and I reboot, It starts with a black screen and a mouse cursor but nothing else. I was able to get to the terminal with Alt+Ctl+F2 and do the command sudo systemctl stop SDDM.service and then sudo systemctl start SDDM.service and that seemed to fix it. The issue persists after reboot as well. I just made an account to point out this issue. Hopefully It gets fixed quick and not a lot of others have had this issue as well.
Would it be possible to add a prompt for Swap File and Full Disk Encryption?
Thank you for everything you're doing. I plan to pull this project and learn it so that I might help the project move forward (or fork it and create separate scripts for each of my machines.)
I would like to have the option to have a minimal installation without any software like gimp, brave ...
It would be good if other languages/keyboard layouts could be selected for installation. I changed the language in KDE, checked if there are any updates, then the system stopped while booting
After running the script. I am unable to see the OS to be able to be booted from. I not seeing the initial boot come through either.
Bluetooth service is inactive on default, and can be manually turned on permanently by doing: sudo systemctl enable --now bluetooth
When the the script format my HDD then reboot my system.
Sorry for my English.
I was reading the script and at preinstall I've found something "weird"?
For reference at point 1 and 2: https://github.com/ChrisTitusTech/ArchTitus/blob/a372b52c56f3f88ab6a9143639f5b09d89cf3a0b/0-preinstall.sh#L59L61
Not installing system token, since we are running in a virtualized environment.
Created EFI boot entry "Linux Boot Manager",
cp: cannot stat '/etc/pacman.d/mirrorlist': No such file or directory......
After the script mounts everything, it becomes unable to access the script. It might be an issue with my fork but I'm not sure
The script 3-post-setup.sh is started as root (arch-chroot /mnt /root/ArchTitus/3-post...) but it contains some sudo commands.
In this case all these sudo's are not necessary and can be removed.
Out of scope: If the script would be started as a normal user (like script 2-user.sh), the following command would not work:
sudo cat < /etc/sddm.conf
xxx
EOF
The problem here is that the cat command will have root rights, but writing data to /etc/sddm.conf would have the "user" rights. Such problems can be solved like this:
cat <<EOF | sudo tee /etc/sddm.conf > /dev/null
xxx
EOF
Better explained here: Shellcheck 2024
I live in Panamá and there are no Arch Linux servers here,I noticed that the script assumes always that there are mirrors in the country you live,the problem is where there are no mirrors, /etc/pacman.d/mirrorlist
doesn't exist,causing all the installation hang
Manually setting the country to US
or another supported country solves the issue,but there must be a fallback in case mirrorlist doesn't get created.
I'm trying to add the kernel parameter mitigations=off to /etc/default/grub, but then when I try to update grub, it doesn't let me. I also wanted to try Xanmod kernel, but since I do not get a grub welcome screen, I cannot select another kernel, which complicates things for me. Is there anything I can do to make it work? I know these are probably very noobish questions, so I apologize in advance, I just would really like to use this "distro".
Hello,
I am very new to this. I tried to install the Arch and follow the instruction from the YouTube video. I have created the bootable usb with Ventoy and Rufus, just to see if I am doing something wrong, but each time I try to install I am not getting the step 6. to choose KDE or other.
After install I get the black screen so I do the following:
It would be good if language and keyboard layout could be selected before installation.
After installing and entering to desktop everything works fine until a Wifi connection is established, It sits for a few seconds or so then closes. I've tried manually adding a WIfi connection but it persists. I came across another post saying it could have something to do with the host file but I did not try it as it gets a little more technical.
Ryzen 5 5600x
RTX 2070 SUPER
Samsung EVO SSD
Intel AC 8260 wifi card
Script 0-preinstall.sh contains variable
iso=$(curl -4 ifconfig.co/country-iso)
which is used later by reflector in same script.
Script 1-setup.sh assigns the variable again (copy-paste?) but does not use it afterwards.
I have a query that I have windows installed on my computer so would Arch Titus dual boot with it in legacy bios.
"kde-plasma-addons" should be 'kdeplasma-addons'
Script 3-post-setup.sh calls:
sudo ntpd -qg
sudo systemctl enable ntpd.service
And following errors appear:
sudo: ntpd: command not found
Failed to enable unit, unit ntpd.service does not exist
Solution: add ntp package in the list of packages to install
Doing it manually pacman -S ntp
and executing both commands afterwards works correctly.
if I go to Displays and monitor the screen resolution setting is not there.
Right-click on the main menu the 3rd option is missing (Where you see all the icons) It was before at first release.
After signing in it appears black screen and it doesn't show desktop
Line 100 in 8a59f33
filelite
should probably be filelight
This isn't an issue, just a request. I'd really like to see an encrypted partition install, having a system unencrypted is a major concern on mobile devices. It's possible to create an encrypted BTRFS partition from my research.
Pressed 2 at end of script for other desktop environment.
Script exited in a non-bootable state
I noticed in your video you didn't indicate which file system. Nor did you indicate how many partitions this sets up. I normally go for BTRFS on a single partition with the 200 to 500 meg fat 32 boot partition preceding that. I currently do not have a swap partition or swap file. Thanks for any info.
Can you change things to use Paru instead of Yay, as apparently Paru will take over as default at some point. Maybe an idea to create a symlink to paru, so that people who are still familiar with yay, could issue the yay command, and it would simply point to Paru. I edited the user.sh script and can confirm that using Paru for the aur packages works.
Git clone command used:
git clone https://github.com/ChrisTitusTech/archtitus
instead of
git clone https://github.com/ChrisTitusTech/ArchTitus
Using the first one creates the directory ~/archtitus
The scripts 0-preinstall.sh contains the copy command:
cp -R ~/ArchTitus /mnt/root
which of course can not work.
Possible solution - use this at beginning of script and then use this variable for the copy command:
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.