Browse Source

add medion e10 arch blog post

Thomas Buck 2 years ago
parent
commit
82dc07ac24
1 changed files with 129 additions and 0 deletions
  1. 129
    0
      input/blog/2022/2022_01_18_medion_crawler_e10_arch.md

+ 129
- 0
input/blog/2022/2022_01_18_medion_crawler_e10_arch.md View File

@@ -0,0 +1,129 @@
1
+title: Blog
2
+post: Arch Linux on Medion Crawler E10
3
+description: Installation and keyboard LED setup
4
+date: 2022-01-18
5
+---
6
+
7
+Together with a friend of mine we installed Arch Linux on her Medion Crawler E10 gaming laptop.
8
+Some quick googling and we found out this seems to be a re-branded Clevo model notebook.
9
+Installation was very straight forward, everything seems to work fine pretty much out-of-the-box.
10
+
11
+These are the basic steps we had to take, maybe it helps someone else.
12
+Some parts have been kept short, so always consider the current [Arch Installation Guide](https://wiki.archlinux.org/title/Installation_guide) as well!
13
+
14
+Prepare the storage (SSD as cache for HDD, as described [here](https://unix.stackexchange.com/a/443415) / [here](https://lucaswerkmeister.de/posts/2018/05/12/luks-on-lvm/)), with full disk encryption and format the filesystems.
15
+
16
+<pre class="sh_sh">
17
+# set disk mode in UEFI to AHCI
18
+
19
+fdisk
20
+# /dev/sda1 128GB swap
21
+# /dev/sda2 800GB data
22
+# /dev/nvme0n1p1 300MB EFI
23
+# /dev/nvme0n1p2 475GB data
24
+
25
+pvcreate /dev/sda2 /dev/nvme0n1p2
26
+vgcreate RootVG /dev/sda2 /dev/nvme0n1p2
27
+lvcreate -l 100%PVS -n cryptroot RootVG /dev/sda2
28
+lvcreate --type cache-pool -l 100%PVS -n cryptroot_cache RootVG /dev/nvme0n1p2
29
+lvconvert --type cache --cachepool RootVG/cryptroot_cache RootVG/cryptroot
30
+
31
+cryptsetup luksFormat --type luks2 /dev/RootVG/cryptroot
32
+cryptsetup open /dev/RootVG/cryptroot root
33
+
34
+mkfs.ext4 /dev/mapper/root
35
+mkfs.fat -F32 /dev/nvme0n1p1
36
+mkswap /dev/sda1
37
+
38
+mount /dev/mapper/root /mnt
39
+mkdir /mnt/boot
40
+mount /dev/nvme0n1p1 /mnt/boot
41
+swapon /dev/sda1
42
+</pre>
43
+
44
+Install everything that's needed.
45
+
46
+<pre class="sh_sh">
47
+reflector --verbose --latest 40 --number 15 --sort rate --protocol https --country "Germany" --save /etc/pacman.d/mirrorlist
48
+
49
+pacstrap /mnt base base-devel linux linux-firmware
50
+
51
+genfstab -U /mnt >> /mnt/etc/fstab
52
+
53
+arch-chroot /mnt
54
+
55
+ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
56
+hwclock --systohc
57
+
58
+pacman -Syu vim git sudo intel-ucode
59
+
60
+vim /etc/locale.gen
61
+locale-gen
62
+vim /etc/locale.conf
63
+vim /etc/vconsole.conf
64
+vim /etc/hostname
65
+
66
+pacman -Syu networkmanager
67
+systemctl enable NetworkManager
68
+
69
+pacman -Syu lvm2
70
+vim /etc/mkinitcpio.conf
71
+mkinitcpio -P
72
+
73
+passwd
74
+
75
+bootctl install
76
+vim /etc/pacman.d/hooks/100-systemd-boot.hook
77
+vim /boot/loader/loader.conf
78
+vim /boot/loader/entries/arch.conf
79
+
80
+useradd -m username_here
81
+passwd username_here
82
+gpasswd -a username_here wheel
83
+visudo
84
+
85
+# enable multilib repos & ILoveCandy
86
+vim /etc/pacman.conf
87
+
88
+pacman -Syu xorg-server nvidia nvidia-utils nvidia-settings lib32-nvidia-utils sddm pipewire pipewire-alsa pipewire-pulse pipewire-jack lib32-pipewire lib32-pipewire-jack helvum wireplumber sddm-kcm plasma-meta vlc dolphin dolphin-plugins kdialog kfind ark yakuake libreoffice-fresh openssh breeze-gtk kde-gtk-config ttf-droid ttf-inconsolata ttf-liberation ttf-roboto ttf-dejavu ttf-bitstream-vera terminus-font wine steam gvim firefox firefox-i18n-de firefox-ublock-origin cups cups-pdf print-manager system-config-printer pacman-contrib bluez-utils
89
+
90
+systemctl enable sddm
91
+systemctl enable sshd
92
+fc-cache
93
+systemctl enable cups
94
+systemctl enable paccache.timer
95
+
96
+echo btusb > /etc/modules-load.d/bluetooth.conf
97
+systemctl enable bluetooth.service
98
+
99
+# enable DRM kernel mode settings
100
+# in mkinitcpio and bootloader config
101
+
102
+pacman -Syu nvidia-prime
103
+# use prime-run for PRIME render offloading
104
+
105
+# install AUR helper, we used bauerbill
106
+</pre>
107
+
108
+Setup LED keyboard backlight control. As described [here at NovaCustom](https://configurelaptop.eu/clevo-keyboard-backlight-control-for-linux/).
109
+
110
+<pre class="sh_sh">
111
+# install dmidecode
112
+sudo dmidecode | grep "Product Name"
113
+# --> CRAWLER E10
114
+
115
+# clone pkgbuild from dkms driver
116
+# https://aur.archlinux.org/packages/clevo-xsm-wmi-dkms/
117
+# adjust included patch, replace model name with "CRAWLER E10"
118
+
119
+pacman -Syu dkms linux-headers
120
+makepkg
121
+pacman -U pkgname
122
+modprobe clevo-xsm-wmi kb_color=white,white,white, kb_brightness=1
123
+sudo tee /etc/modules-load.d/clevo-xsm-wmi.conf <<< clevo-xsm-wmi
124
+
125
+# https://aur.archlinux.org/packages/clevo-xsm-wmi-util/
126
+# for graphical control
127
+</pre>
128
+
129
+Afterwards, install required user applications (Gimp, Okular, ...) and configure the KDE desktop to personal preferences. Also check out the [General Recommendations in the Arch Wiki](https://wiki.archlinux.org/title/General_recommendations).

Loading…
Cancel
Save