update uefi install
This commit is contained in:
parent
2a7dabe1b3
commit
06cb810f38
@ -103,23 +103,25 @@ myawesomemenu = {
|
|||||||
-- import external generic application menu:
|
-- import external generic application menu:
|
||||||
xdg_menu = require("archmenu")
|
xdg_menu = require("archmenu")
|
||||||
|
|
||||||
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
|
||||||
{ "Applications", xdgmenu },
|
{ "Applications", xdgmenu },
|
||||||
{ "Terminator", "terminator", "/usr/share/icons/hicolor/scalable/apps/terminator.svg" },
|
{ "Terminator", "terminator", "/usr/share/icons/hicolor/scalable/apps/terminator.svg" },
|
||||||
{ "Firefox", "firefox", "/usr/share/icons/hicolor/16x16/apps/firefox.png" },
|
{ "Firefox", "firefox", "/usr/share/icons/hicolor/16x16/apps/firefox.png" },
|
||||||
{ "Chromium", "chromium", "/usr/share/icons/hicolor/16x16/apps/chromium.png" },
|
{ "Chromium", "chromium", "/usr/share/icons/hicolor/16x16/apps/chromium.png" },
|
||||||
{ "Filezilla", "filezilla", "/usr/share/icons/hicolor/scalable/apps/filezilla.svg" },
|
{ "Filezilla", "filezilla", "/usr/share/icons/hicolor/scalable/apps/filezilla.svg" },
|
||||||
{ "Thunar", "thunar", "/usr/share/icons/hicolor/scalable/apps/Thunar.svg" },
|
{ "Thunar", "thunar", "/usr/share/icons/hicolor/scalable/apps/Thunar.svg" },
|
||||||
{ "Edn", "edn", "/home/heero/.local/application/edn.app/share/edn/icon.png"},
|
{ "Edn", "edn", "/home/heero/.local/application/edn.app/share/edn/icon.png"},
|
||||||
{ "Zeus Video", "zeus-player-video", "/home/heero/.local/application/zeus-player-video.app/share/zeus-player-video/icon.png"},
|
{ "Zeus Video", "zeus-player-video", "/home/heero/.local/application/zeus-player-video.app/share/zeus-player-video/icon.png"},
|
||||||
{ "Zeus Audio", "zeus-player-audio", "/home/heero/.local/application/zeus-player-audio.app/share/zeus-player-audio/icon.png"},
|
{ "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"},
|
{ "Zeus Picture", "zeus-viewer-picture", "/home/heero/.local/application/zeus-player-audio.app/share/zeus-viewer-picture/icon.png"},
|
||||||
{ "ARandR (multiscreen config)", "arandr"},
|
{ "ARandR (multiscreen config)", "arandr"},
|
||||||
|
{ "Virtualbox", "virtualbox", "/usr/share/icons/hicolor/scalable/mimetypes/virtualbox.svg"},
|
||||||
{ "BlueBerry (Bluetooth management)", "blueberry"},
|
{ "BlueBerry (Bluetooth management)", "blueberry"},
|
||||||
{ "Record screen", "simplescreenrecorder"},
|
{ "Record screen", "simplescreenrecorder"},
|
||||||
{ "Image to poster", "posterazor"},
|
{ "Image to poster", "posterazor"},
|
||||||
{ "Draw.io", "chromium --profile-directory=Default --app-id=pebppomjfocnoigkeepgbmcifnnlndla", "/home/heero/.local/share/icons/hicolor/128x128/apps/chrome-pebppomjfocnoigkeepgbmcifnnlndla-Default.png" },
|
{ "Blender (3D edition)", "blender", "/usr/share/icons/hicolor/scalable/apps/blender.svg"},
|
||||||
{ "X-lock", "xlock"}
|
{ "Draw.io", "chromium --profile-directory=Default --app-id=pebppomjfocnoigkeepgbmcifnnlndla", "/home/heero/.local/share/icons/hicolor/128x128/apps/chrome-pebppomjfocnoigkeepgbmcifnnlndla-Default.png" },
|
||||||
|
{ "X-lock", "xlock", "/usr/share/icons/hicolor/scalable/actions/screensaver-unlock-symbolic.svg"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -52,8 +52,7 @@ mkfs.ext4 /dev/sda4
|
|||||||
mount all...
|
mount all...
|
||||||
```
|
```
|
||||||
mount /dev/sda3 /mnt
|
mount /dev/sda3 /mnt
|
||||||
mkdir /mnt/{boot,home}
|
mkdir /mnt/home
|
||||||
mount /dev/sda1 /mnt/boot
|
|
||||||
mount /dev/sda4 /mnt/home
|
mount /dev/sda4 /mnt/home
|
||||||
swapon /dev/sda2
|
swapon /dev/sda2
|
||||||
```
|
```
|
||||||
@ -61,8 +60,7 @@ Install the base system
|
|||||||
-----------------------
|
-----------------------
|
||||||
Replace \<foobar\> by what you want...
|
Replace \<foobar\> by what you want...
|
||||||
```
|
```
|
||||||
pacstrap /mnt base base-devel syslinux vim git gptfdisk
|
pacstrap /mnt base base-devel vim git gptfdisk
|
||||||
genfstab -L -p /mnt >> /mnt/etc/fstab
|
|
||||||
arch-chroot /mnt
|
arch-chroot /mnt
|
||||||
echo <laptop-name> > /etc/hostname
|
echo <laptop-name> > /etc/hostname
|
||||||
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
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
|
echo "KEYMAP=<fr-latin9/jp106>" > /etc/vconsole.conf
|
||||||
|
|
||||||
mkinitcpio -p linux
|
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...
|
Pacman...
|
||||||
activate Color and multilib in /etc/pacman.conf
|
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]
|
connect to network: nmcli dev wifi connect <name> password <password> [iface wlan1]
|
||||||
or use the ncurse ui tool "nmtui"
|
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
|
Archlinux package config
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
@ -110,7 +131,7 @@ useradd -g users -m -s /bin/bash <username>
|
|||||||
```
|
```
|
||||||
Adding user to a group:
|
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:
|
Change pasword:
|
||||||
```
|
```
|
||||||
|
@ -1,9 +1,19 @@
|
|||||||
|
Set-up interface GUI
|
||||||
|
====================
|
||||||
|
|
||||||
|
|
||||||
Set first the Xautority:
|
Set first the Xautority:
|
||||||
|
|
||||||
```
|
```
|
||||||
touch ~/.Xauthority
|
touch ~/.Xauthority
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
pacman -S mesa
|
||||||
|
pacman -S xf86-video-intel
|
||||||
|
pacman -S bumblebee
|
||||||
|
pacman -S xf86-video-nouveau
|
||||||
|
```
|
||||||
|
|
||||||
gui
|
gui
|
||||||
---
|
---
|
||||||
@ -29,7 +39,7 @@ echo exec cinnamon-session >> ~/.xinitrc
|
|||||||
OR
|
OR
|
||||||
```
|
```
|
||||||
# when no graphic engine
|
# when no graphic engine
|
||||||
echo \#exec awesome > ~/.xinitrc
|
echo awesome > ~/.xinitrc
|
||||||
```
|
```
|
||||||
|
|
||||||
other gui tools
|
other gui tools
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# cp noTurboAtStartUp.sh /usr/bin
|
# 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]
|
[Unit]
|
||||||
Description=Disable turbo capability when system start
|
Description=Disable turbo capability when system start
|
||||||
After=network.target remote-fs.target nss-lookup.target
|
After=network.target remote-fs.target nss-lookup.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user