how to install arch (with btrfs and without frustration)
Download Endeavour and click through the wizard?
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
how to install arch (with btrfs and without frustration)
Download Endeavour and click through the wizard?
isnt it the same with arch? at least when I tried arch I just clicked through the install menu
isnt it the same with arch?
I once to helped troubleshoot an EndeavourrOS user.
during the process I discovered that their kernel parameters were being reset with every kernel update, this was because Endeavour was using dracut instead of mkinitcpio...
during the process I discovered that their kernel parameters were being reset with every kernel update
That's pretty horrid. They ought to have fixed that since. Right?
Damn, the last time I used it I could've sworn it was just arch with a wizard and some custom dotfiles. Although that was like 3 years ago.
I never actually used archinstall, only manual and derivatives which were essentially arch with a wizard.
Nooooo, you will have that heavily bloated Plasma desktop! That won't run properly on my 4GB Raspberry Pi (it does)!
You can choose the de by clicking in the wizard
Plasma was hell on my x230 (gen3 i5 + 4gb ram), it only worked properly with 8gb. Is it different somehow for ARM versions of Linux?
Heed the 'downside' of using btrfs carefully before choosing that option over say, ext4, especially if you ever do a hard-shutdown, prone to power-outages, etc. It will scramble your system files.
especially if you ever do a hard-shutdown, prone to power-outages, etc. It will scramble your system files.
Btrfs is made precisely so that a power outages don't do that! and you don't end up like ext4 with bad superblock nonsense.
Been using Btrfs for over 3 years at this point, 0 issues and over 400 unsafe shutdowns: https://imgur.com/a/AKXFdKb
In fact it was able to detect when my previous ssd was dying, I thought Btrfs was spewing nonsense until the next day when smartctl began to report issues as well lol.
I have had corrupt filesystem errors with BTRFS on both of my computers due to power outages and one hard shutdown (had to), that was the end of it. I will stick to ext4, a log file system that is more stable. Used ext4 for YEARS (I am old) and never had these issues with such frequency. Stick to what is hardened and solid, BTRFS is still under development. The fanboys love to use it as the next best thing, and it does have some nice features, but stability is not one of them, at least in these type of situations.
I have had corrupt filesystem errors with BTRFS on both of my computers due to power outages and one hard shutdown (had to)
When did this happen? what error did you get?
Btrfs will explicitly go read only when it detects corruption, which is a good thing, with EXT4 you don't know what is going on until it is too late.
fwiw the only time I managed to get info from an user that had "issues" with btrfs, I discovered that what had happened is that they moved the partition that had snapshots, and if you don't know it, this is catastrophic because this unlinks all the snapshots and suddenly everything would take many times more storage.
Used ext4 for YEARS (I am old) and never had these issues with such frequency
The short time I've used EXT4 running into bad superblock errors was something that happened almost every week, but in the end I was always able to repair the disk and recover everything.
I'm from Venezuela, power failures are common here.
Do better
################################################################################# #################################################################################
################################################################################# #################################################################################
echo -e "o\nn\np\n1\n\n\na\nw" | fdisk /dev/sda
cryptsetup -v --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 50000
--use-random --verify-passphrase luksFormat --type luks1 /dev/sda1
cryptsetup open /dev/sda1 root
mkfs.btrfs /dev/mapper/root
mount /dev/mapper/root /mnt
pacman -Sy pacman -S pacman-contrib cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
pacstrap /mnt base linux linux-firmware btrfs-progs lvm2
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
passwd
ln -sf /usr/share/zoneinfo/US/Michigan /etc/localtime
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen echo "LANG=en_US.UTF-8" > /etc/locale.conf locale-gen
export hostname=encom
echo "$hostname" >| /etc/hostname { cat <<-EOF 127.0.0.1 localhost 127.0.1.1 $hostname
::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters EOF } >| /etc/hosts
pacman -S dhclient
#enable wifi pacman -S iw iwd
components="base
udev
autodetect
modconf
keyboard
block
encrypt
lvm2
filesystems
keyboard
fsck"; sed -i "/^HOOKS=/c\HOOKS=(${components})" /etc/mkinitcpio.conf
mkinitcpio -p linux
pacman -S grub
sed -i '/^GRUB_CMDLINE_LINUX=/c\GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda1:root"'
/etc/default/grub
sed -i '/^#GRUB_ENABLE_CRYPTODISK=/c\GRUB_ENABLE_CRYPTODISK="y"' /etc/default/grub
mkdir /boot/grub grub-mkconfig -o /boot/grub/grub.cfg grub-install /dev/sda
################################################################################# #################################################################################
################################################################################# #################################################################################
dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin chmod 400 /crypto_keyfile.bin cryptsetup luksAddKey /dev/sda1 /crypto_keyfile.bin
sed -i "/^FILES=/c\FILES=/crypto_keyfile.bin" /etc/mkinitcpio.conf
mkinitcpio -p linux
dhclient ens33
pacman -S sudo vim wget groupadd sudo
sed -i '/^# %sudo/c%sudo\tALL=(ALL:ALL) ALL' /etc/sudoers
export USERNAME=user useradd -m $USERNAME passwd $USERNAME usermod -G sudo -a $USERNAME
################################################################################# #################################################################################
#################################################################################
################################################################################# #################################################################################
sudo pacman -S i3-wm xorg-server xorg-xinit xf86-video-vesa xorg mesa slim
xorg-xrdb dmenu emacs st git gcc make htop screen
binutils stow