Instalacion_Express.md: Se añade índice a guía
This commit is contained in:
parent
bca9873e1c
commit
67a8770d63
|
@ -5,10 +5,32 @@
|
|||
### Telegram
|
||||
|
||||
* @lumaro Luis
|
||||
* @tenshalito Tuxliban Torvalds
|
||||
|
||||
-----
|
||||
|
||||
## **ÍNDICE++
|
||||
## **ÍNDICE**
|
||||
|
||||
* [Sistemas de archivos](#Sistemas-de-archivos)
|
||||
* [Instalación método XBPS](#Instalacion-metodo-XBPS)
|
||||
* [Chroot](#Chroot)
|
||||
* [/etc/fstab](#fstab)
|
||||
* [/etc/fstab (EFI)](#fstab-efi)
|
||||
* [/etc/rc.local](#rc-local)
|
||||
* [Locales (Glibc)](#locales)
|
||||
* [Root](#root)
|
||||
* [Kernel](#kernel)
|
||||
* [Grub](#grub)
|
||||
* [Grub EFI](#grub-efi)
|
||||
* [Reconfigurar el sistema](#reconfigurar-sistema)
|
||||
* [Usuario](#usuario)
|
||||
* [Doas](#doas)
|
||||
* [Ngetty](#ngetty)
|
||||
* [Salir](#salir)
|
||||
|
||||
-----
|
||||
|
||||
<a id="Sistemas-de-archivos"></a>
|
||||
|
||||
## Sistemas de archivos
|
||||
|
||||
|
@ -20,6 +42,7 @@
|
|||
# mount /dev/sda1 /mnt/boot/
|
||||
```
|
||||
|
||||
<a id="Instalacion-metodo-XBPS"></a>
|
||||
## Instalación método XBPS
|
||||
|
||||
**Variables**
|
||||
|
@ -40,10 +63,12 @@ xf86-video-nouveau
|
|||
|
||||
# export XBPS_ARCH=x86_64 && xbps-install -S -R https://alpha.de.repo.voidlinux.org/current -r /mnt base-minimal alsa-utils bash bc bgs dejavu-fonts-ttf dhcpcd dmenu dracut dwm ethtool eudev ffmpeg file firefox gcc git grub herbe iproute2 iputils kbd kmod less libreoffice man-pages mesa-vaapi mksh mpv ngetty nnn opendoas pciutils scrot setxkbmap slock slstatus st sxiv tabbed telegram-desktop traceroute trash-cli unzip usbutils vim xclip xdotool xf86-video-ati xfsprogs xorg-minimal xrandr xtools xz zathura-pdf-poppler
|
||||
|
||||
<a id="Chroot"></a>
|
||||
## Chroot
|
||||
|
||||
# for i in sys dev proc; do $(mount --rbind /$i /mnt/$i && mount --make-rslave /mnt/$i); done && cp /etc/resolv.conf /mnt/etc && PS1='(chroot) # ' chroot /mnt /bin/bash
|
||||
|
||||
<a id="fstab"></a>
|
||||
## /etc/fstab
|
||||
|
||||
```
|
||||
|
@ -54,6 +79,18 @@ tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
|
|||
tmpfs /home/<usuario>/path/void-packages/masterdir/builddir tmpfs defaults,noatime,size=2G 0 0
|
||||
```
|
||||
|
||||
<a id="fstab-efi"></a>
|
||||
## /etc/fstab (EFI)
|
||||
|
||||
```
|
||||
# <fs> <dir> <type> <options> <dump> <pass>
|
||||
/dev/sda1 /boot vfat defaults,noatime 0 2
|
||||
/dev/sda2 / xfs defaults,noatime 0 1
|
||||
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
|
||||
tmpfs /home/<usuario>/path/void-packages/masterdir/builddir tmpfs defaults,noatime,size=2G 0 0
|
||||
```
|
||||
|
||||
<a id="rc-local"></a>
|
||||
## /etc/rc.local
|
||||
|
||||
```
|
||||
|
@ -67,10 +104,12 @@ ip route add default via 192.168.1.1 dev <interfaz>
|
|||
wpa_supplicant -B -D nl80211,wext -i <interfaz> -c /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
```
|
||||
|
||||
<a id="locales"></a>
|
||||
## Locales (Glibc)
|
||||
|
||||
# sed -i "s/#es_ES.UTF-8 UTF-8/es_ES.UTF-8 UTF-8/g" /etc/default/libc-locales && xbps-reconfigure -f glibc-locales
|
||||
|
||||
<a id="root"></a>
|
||||
## Root
|
||||
|
||||
```
|
||||
|
@ -78,6 +117,7 @@ wpa_supplicant -B -D nl80211,wext -i <interfaz> -c /etc/wpa_supplicant/wpa_suppl
|
|||
# chown root:root / && chmod 755 /
|
||||
```
|
||||
|
||||
<a id="kernel"></a>
|
||||
## Kernel
|
||||
|
||||
```
|
||||
|
@ -93,18 +133,22 @@ linux-firmware-dvb
|
|||
# xbps-install linuxX.XX dracut linux-firmware
|
||||
```
|
||||
|
||||
<a id="grub"></a>
|
||||
## Grub
|
||||
|
||||
# xbps-install -y grub && grub-install --target=i386-pc /dev/sdX
|
||||
|
||||
<a id="grub-efi"></a>
|
||||
## Grub EFI
|
||||
|
||||
# xbps-install -y grub-x86_64-efi && grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Void"
|
||||
|
||||
<a id="reconfigurar-sistema"></a>
|
||||
## Reconfigurar el sistema
|
||||
|
||||
# xbps-reconfigure -fa
|
||||
|
||||
<a id="usuario"></a>
|
||||
## Usuario
|
||||
|
||||
```
|
||||
|
@ -112,14 +156,17 @@ linux-firmware-dvb
|
|||
# passwd USUARIO
|
||||
```
|
||||
|
||||
<a id="doas"></a>
|
||||
## Doas
|
||||
|
||||
# touch /etc/doas.conf && echo "permit nopass keepenv :wheel" > /etc/doas.conf
|
||||
# echo "permit nopass keepenv :wheel" > /etc/doas.conf
|
||||
|
||||
<a id="ngetty"></a>
|
||||
## ngetty
|
||||
|
||||
# rm -f /var/service/{agetty-tty3,agetty-tty4,agetty-tty5,agetty-tty6} && ln -s /etc/sv/ngetty /var/service
|
||||
|
||||
<a id="salir"></a>
|
||||
## Salir
|
||||
|
||||
```
|
||||
|
@ -127,5 +174,3 @@ linux-firmware-dvb
|
|||
# umount -R /mnt
|
||||
# shutdown -r now
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue