ARCH
Line 15: | Line 15: | ||
pacstrap /mnt/Arch1-30 xorg xorg-xinit | pacstrap /mnt/Arch1-30 xorg xorg-xinit | ||
− | 4. after installing everything and the kitchen sink, it's time to chroot into the install, and proceed to set up some parameters (users and such) & install more software. | + | 4. after installing everything and the kitchen sink, it's time to chroot into the install, and proceed to set up some parameters (users and such) & install more software. There's a limit to the installs you can do before configuring the system, since without a User for instance, Wine couldn't set up a drive_c anywhere; so basically one install as much base stuff as needed, then configure, then install end-user stuff. |
+ | |||
+ | [root@ThinkDMX2 /]# lsblk -dno UUID /dev/sdb4 | ||
+ | ad860c96-ba47-4eac-8783-66e623213331 | ||
+ | [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab | ||
+ | [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab | ||
+ | [root@ThinkDMX2 /]# genfstab -U /mnt/Arch1-30 >> /mnt/Arch1-30/etc/fstab | ||
+ | [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab | ||
+ | [root@ThinkDMX2 /]# arch-chroot /mnt/Arch1-30 | ||
+ | [root@ThinkDMX2 /]# less /etc/fstab | ||
+ | [root@ThinkDMX2 /]# ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime | ||
+ | [root@ThinkDMX2 /]# hwclock --systohc | ||
+ | [root@ThinkDMX2 /]# nano /etc/locale.gen | ||
+ | [root@ThinkDMX2 /]# locale-gen | ||
+ | Generating locales... | ||
+ | en_GB.UTF-8... done | ||
+ | fr_FR.UTF-8... done | ||
+ | Generation complete. | ||
+ | [root@ThinkDMX2 /]# nano /etc/vconsole.conf | ||
+ | [root@ThinkDMX2 /]# nano /etc/locale.conf | ||
+ | [root@ThinkDMX2 /]# nano /etc/hostname | ||
+ | [root@ThinkDMX2 /]# nano /etc/hosts |
Revision as of 14:47, 7 April 2020
Installing Arch quick and dirty without 1000 hyperlinks.
1. From arch, to new drive, use the arch-install-scripts. Or burn an arch linux .iso to a fresh thumb drive (use sudo mkfs.vfat /dev/sdX –I for that. Do not use the trailing partition number!) with the 'dd' command and boot it. Reminder : dd works as if=/source/file of=/destination/folder where if means Input File and of means Output File. Don't confuse your /dev/sdX stuff, or you gonna erase something else.
2. Mount your target drive(s) ie root and home, possibly others to suit your taste.
3. Lets say your root is in /mnt of your target installation :
# pacstrap /mnt base linux linux-firmware
And any other package you wish to have at hand at once, ie fucking networking for instance I say again: WIRELESS networking. Nano, sudo also probably. linux-lts if a fallback is in order 'current kernel dev' is moving great, but with way too much issues)
pacstrap /mnt/Arch1-30 base linux-lts nano sudo nfs-utils iwd netctl dhcpcd networkmanager pacstrap /mnt/Arch1-30 mpg123 xmms2 mpv mplayer lame imlib2 pacstrap /mnt/Arch1-30 xorg xorg-xinit
4. after installing everything and the kitchen sink, it's time to chroot into the install, and proceed to set up some parameters (users and such) & install more software. There's a limit to the installs you can do before configuring the system, since without a User for instance, Wine couldn't set up a drive_c anywhere; so basically one install as much base stuff as needed, then configure, then install end-user stuff.
[root@ThinkDMX2 /]# lsblk -dno UUID /dev/sdb4 ad860c96-ba47-4eac-8783-66e623213331 [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab [root@ThinkDMX2 /]# genfstab -U /mnt/Arch1-30 >> /mnt/Arch1-30/etc/fstab [root@ThinkDMX2 /]# nano /mnt/Arch1-30/etc/fstab [root@ThinkDMX2 /]# arch-chroot /mnt/Arch1-30 [root@ThinkDMX2 /]# less /etc/fstab [root@ThinkDMX2 /]# ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime [root@ThinkDMX2 /]# hwclock --systohc [root@ThinkDMX2 /]# nano /etc/locale.gen [root@ThinkDMX2 /]# locale-gen Generating locales... en_GB.UTF-8... done fr_FR.UTF-8... done Generation complete. [root@ThinkDMX2 /]# nano /etc/vconsole.conf [root@ThinkDMX2 /]# nano /etc/locale.conf [root@ThinkDMX2 /]# nano /etc/hostname [root@ThinkDMX2 /]# nano /etc/hosts