I use ARCH btw

From ZENotes
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
Following the [https://wiki.archlinux.org/title/Installation_guide guide] is mostly ok ;
 
Following the [https://wiki.archlinux.org/title/Installation_guide guide] is mostly ok ;
 
   
 
   
 +
==Yes, but==
 
- '''No need to partition''' if ''there's no need to!'' (esp EFI) You'll run into a permissions nightmare on your /home, but that's better than loosing data :
 
- '''No need to partition''' if ''there's no need to!'' (esp EFI) You'll run into a permissions nightmare on your /home, but that's better than loosing data :
  
 
   When the /home partition is mounted to /mnt/home at 'pacstrap' time, just '''chmod -r 777''' the entire contents of the previous /home folder ;  
 
   When the /home partition is mounted to /mnt/home at 'pacstrap' time, just '''chmod -r 777''' the entire contents of the previous /home folder ;  
   when you make your new user, be sure to give it another name
+
   when you make your new user, be sure to give it another name.
  
- '''Only format your system / partition''' (or root partition) with makefs.<type of filesystem> (ok, and maybe the swap one but it doesn't matter much)
+
- '''Only format your system / partition''' (or root partition) with makefs.<type of filesystem>.
  
 
- It's ok to mount the EFI partition to /boot/efi so as to not fill that small partition with everything in /boot, especially numerous kernels
 
- It's ok to mount the EFI partition to /boot/efi so as to not fill that small partition with everything in /boot, especially numerous kernels
Line 13: Line 14:
 
   ergo, it wouldn't fit, with just 4 kernels + the windows stub
 
   ergo, it wouldn't fit, with just 4 kernels + the windows stub
  
- Default install through pacstrap needs a lot more stuff, you'll probably want:
+
==Default install through pacstrap needs a lot more stuff, you'll probably want==
  
-- base-devel linux-lts os-prober pacman-contrib
+
- base-devel linux-lts os-prober pacman-contrib
  
-- grep rsync nano tar git iwd - snapper ?
+
- grep rsync nano tar git iwd - snapper ?
  
-- gdm gnome networkmamager gedit - or any of your logon manager and desktop evironement you choose
+
- gdm gnome networkmamager gedit - or any of your logon manager and desktop evironement you choose
  
-- bluez bluez-utils
+
- bluez bluez-utils
  
-- firefox vlc smplayer gimp
+
- firefox vlc smplayer gimp
  
When you chroot in, it's normal for os-prober to ''no''t see the M$ partition, even if it is mounted ; you should re-run it, and grub-mkconfig, when you did reboot into the actual system
 
  
- don't forget to start some services, duh...
+
When you chroot in, it's normal for os-prober to ''not'' see the M$ partition, even if it is mounted ; you should re-run it, and grub-mkconfig, when you did reboot into the actual system
  
-- gdm.service
+
==don't forget to enable some systemd services, duh==
  
-- NetworkManager.service
+
- gdm.service
  
-- bluetooth.service  
+
- NetworkManager.service
  
with systemctl enable --now <name of unit>.service
+
- bluetooth.service  
  
Create a basic user with  
+
with systemctl enable <name of unit>.service
 +
 
 +
==And make a basic user==
 +
Then create a basic user with  
  
 
     useradd -m <name of user>
 
     useradd -m <name of user>
Line 45: Line 48:
 
     EDITOR=nano visudo
 
     EDITOR=nano visudo
  
Now you can reboot. Have you installed some network software ? Have you started a graphic shell ? That's the core needs for a functional fresh install to be tuned further as needed.
+
''Now'' you can reboot. Have you installed some '''network software'''? Have you '''enabled a graphic shell''' ? That's the core needs for a ''functional, fresh'' install to be tuned further as needed.
 +
 
 +
Set up aur or flatpak for dropbox and ungoogled-chromium ; add python-gpgme for dropbox.
  
Set up aur or flatpak for dropbox and ungoogled-chromium ; add python-gpgme for dropbox
+
Good luck with btrfs, and snapper, and snap-pac, and grub-btrfs, and don't forget to [https://wiki.archlinux.org/title/Snapper#Booting_into_read-only_snapshots hack mkinitcpio] as described.

Revision as of 16:01, 25 November 2023

Following the guide is mostly ok ;

Contents

Yes, but

- No need to partition if there's no need to! (esp EFI) You'll run into a permissions nightmare on your /home, but that's better than loosing data :

 When the /home partition is mounted to /mnt/home at 'pacstrap' time, just chmod -r 777 the entire contents of the previous /home folder ; 
 when you make your new user, be sure to give it another name.

- Only format your system / partition (or root partition) with makefs.<type of filesystem>.

- It's ok to mount the EFI partition to /boot/efi so as to not fill that small partition with everything in /boot, especially numerous kernels

 On my fresh install, the EFI partition is 260MB which is a factory default - and my /boot partition is already 268MB ; 
 ergo, it wouldn't fit, with just 4 kernels + the windows stub

Default install through pacstrap needs a lot more stuff, you'll probably want

- base-devel linux-lts os-prober pacman-contrib

- grep rsync nano tar git iwd - snapper ?

- gdm gnome networkmamager gedit - or any of your logon manager and desktop evironement you choose

- bluez bluez-utils

- firefox vlc smplayer gimp


When you chroot in, it's normal for os-prober to not see the M$ partition, even if it is mounted ; you should re-run it, and grub-mkconfig, when you did reboot into the actual system

don't forget to enable some systemd services, duh

- gdm.service

- NetworkManager.service

- bluetooth.service

with systemctl enable <name of unit>.service

And make a basic user

Then create a basic user with

   useradd -m <name of user>

Add it to sudoers with

   EDITOR=nano visudo

Now you can reboot. Have you installed some network software? Have you enabled a graphic shell ? That's the core needs for a functional, fresh install to be tuned further as needed.

Set up aur or flatpak for dropbox and ungoogled-chromium ; add python-gpgme for dropbox.

Good luck with btrfs, and snapper, and snap-pac, and grub-btrfs, and don't forget to hack mkinitcpio as described.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox