update uefi install
This commit is contained in:
parent
2a7dabe1b3
commit
06cb810f38
@ -115,11 +115,13 @@ mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.a
|
||||
{ "Zeus Audio", "zeus-player-audio", "/home/heero/.local/application/zeus-player-audio.app/share/zeus-player-audio/icon.png"},
|
||||
{ "Zeus Picture", "zeus-viewer-picture", "/home/heero/.local/application/zeus-player-audio.app/share/zeus-viewer-picture/icon.png"},
|
||||
{ "ARandR (multiscreen config)", "arandr"},
|
||||
{ "Virtualbox", "virtualbox", "/usr/share/icons/hicolor/scalable/mimetypes/virtualbox.svg"},
|
||||
{ "BlueBerry (Bluetooth management)", "blueberry"},
|
||||
{ "Record screen", "simplescreenrecorder"},
|
||||
{ "Image to poster", "posterazor"},
|
||||
{ "Blender (3D edition)", "blender", "/usr/share/icons/hicolor/scalable/apps/blender.svg"},
|
||||
{ "Draw.io", "chromium --profile-directory=Default --app-id=pebppomjfocnoigkeepgbmcifnnlndla", "/home/heero/.local/share/icons/hicolor/128x128/apps/chrome-pebppomjfocnoigkeepgbmcifnnlndla-Default.png" },
|
||||
{ "X-lock", "xlock"}
|
||||
{ "X-lock", "xlock", "/usr/share/icons/hicolor/scalable/actions/screensaver-unlock-symbolic.svg"}
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -52,8 +52,7 @@ mkfs.ext4 /dev/sda4
|
||||
mount all...
|
||||
```
|
||||
mount /dev/sda3 /mnt
|
||||
mkdir /mnt/{boot,home}
|
||||
mount /dev/sda1 /mnt/boot
|
||||
mkdir /mnt/home
|
||||
mount /dev/sda4 /mnt/home
|
||||
swapon /dev/sda2
|
||||
```
|
||||
@ -61,8 +60,7 @@ Install the base system
|
||||
-----------------------
|
||||
Replace \<foobar\> by what you want...
|
||||
```
|
||||
pacstrap /mnt base base-devel syslinux vim git gptfdisk
|
||||
genfstab -L -p /mnt >> /mnt/etc/fstab
|
||||
pacstrap /mnt base base-devel vim git gptfdisk
|
||||
arch-chroot /mnt
|
||||
echo <laptop-name> > /etc/hostname
|
||||
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||
@ -72,9 +70,24 @@ echo "LANG=\"en_US.UTF-8\"" > /etc/locale.conf
|
||||
echo "KEYMAP=<fr-latin9/jp106>" > /etc/vconsole.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
syslinux-install_update -iam
|
||||
```
|
||||
then edit /boot/syslinux/syslinux.cfg if /dev/sda3 is not correct
|
||||
|
||||
Configure bootloader
|
||||
```
|
||||
pacman -S grub efibootmgr dosfstools os-prober mtools
|
||||
mkdir /boot/EFI
|
||||
mount /dev/sda1 /boot/EFI #Mount FAT32 EFI partition
|
||||
grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck
|
||||
# create the configuration:
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
```
|
||||
|
||||
Now we need to save the partion table of the system
|
||||
```
|
||||
exit
|
||||
genfstab -L -p /mnt >> /mnt/etc/fstab
|
||||
arch-chroot /mnt
|
||||
```
|
||||
|
||||
Pacman...
|
||||
activate Color and multilib in /etc/pacman.conf
|
||||
@ -89,6 +102,14 @@ list network: nmcli con show
|
||||
connect to network: nmcli dev wifi connect <name> password <password> [iface wlan1]
|
||||
or use the ncurse ui tool "nmtui"
|
||||
|
||||
Remove sudo
|
||||
-----------
|
||||
|
||||
sudo generate many security fail, to prevent it remove it
|
||||
```
|
||||
pacman -R sudo
|
||||
```
|
||||
|
||||
Archlinux package config
|
||||
------------------------
|
||||
|
||||
@ -110,7 +131,7 @@ useradd -g users -m -s /bin/bash <username>
|
||||
```
|
||||
Adding user to a group:
|
||||
```
|
||||
usermod -a -G <wheel,audio,video,disk,storage> <username>
|
||||
usermod -a -G <wheel,audio,video,disk,storage,power> <username>
|
||||
```
|
||||
Change pasword:
|
||||
```
|
||||
|
@ -1,9 +1,19 @@
|
||||
Set-up interface GUI
|
||||
====================
|
||||
|
||||
|
||||
Set first the Xautority:
|
||||
|
||||
```
|
||||
touch ~/.Xauthority
|
||||
```
|
||||
|
||||
```
|
||||
pacman -S mesa
|
||||
pacman -S xf86-video-intel
|
||||
pacman -S bumblebee
|
||||
pacman -S xf86-video-nouveau
|
||||
```
|
||||
|
||||
gui
|
||||
---
|
||||
@ -29,7 +39,7 @@ echo exec cinnamon-session >> ~/.xinitrc
|
||||
OR
|
||||
```
|
||||
# when no graphic engine
|
||||
echo \#exec awesome > ~/.xinitrc
|
||||
echo awesome > ~/.xinitrc
|
||||
```
|
||||
|
||||
other gui tools
|
||||
|
@ -1,5 +1,7 @@
|
||||
# cp noTurboAtStartUp.sh /usr/bin
|
||||
# cp noTurboAtStartUp.service /lib/systemd/system/
|
||||
# cp noTurboAtStartUp.service /usr/lib/systemd/system/
|
||||
# systemctl start noTurboAtStartUp
|
||||
# systemctl enable noTurboAtStartUp
|
||||
[Unit]
|
||||
Description=Disable turbo capability when system start
|
||||
After=network.target remote-fs.target nss-lookup.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user