Intall Archlinux Bootstrap

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

cfdisk

#pvcreate /dev/sdXX

#vgcreate Arch /dev/sdXX

*Borrar un grupo de vlm. vgremove Arch /dev/sdXX

#lvcreate -L 2G Arch -n swapvol

#lvcreate -L 22G Arch -n rootvol

#lvcreate -l 100%FREE Arch -n homevol

#lvs

#lsblk

#mkfs.ext2 /dev/sdXX

#mkfs.xfs /dev/mapper/Arch-rootvol

#mkfs.xfs /dev/mapper/Arch-homevol

#mkswap /dev/mapper/Arch-swapvol

#curl -O https://mex.mirror.pkgbuild.com/iso/2018.05.01/archlinux-bootstrap-2018.05.01-x86_64.tar.gz

#mv archlinux-bootstrap-2018.05.01-x86_64.tar.gz /tmp/archlinux-bootstrap-2018.05.01-x86_64.tar.gz

#cd /tmp

#tar xzf archlinux-bootstrap-2018.05.01-x86_64.tar.gz

#nano /tmp/root.x86_64/etc/pacman.d/mirrorlist

#/tmp/root.x86_64/bin/arch-chroot /tmp/root.x86_64/

#pacman-key --init

#pacman-key --populate archlinux

*Montar particiones y crea directorios

#swapon /dev/Arch/swapvol

#mount /dev/Arch/rootvol /mnt

#mkdir /mnt/boot

#mount /dev/sdXX /mnt/boot

#mkdir /mnt/home

#mount /dev/Arch/homevol /mnt/home

#pacstrap /mnt base base-devel --noconfirm


#pacstrap /mnt networkmanager

#pacstrap /mnt xf86-input-synaptics

#genfstab -U -p /mnt > /mnt/etc/fstab

#arch-chroot /mnt

#echo D1nam0 > /etc/hostname

#echo LANG=es_MX.UTF-8 > /etc/locale.conf

#nano /etc/locale.gen (Borrar “#” de : es_MX.UTF-8 UTF-8 )

#locale-gen

#echo KEYMAP=la-latin1 > /etc/vconsole.conf (Añadir KEYMAP=la-latin1)

#ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime

#hwclock --systohc

#pacman -S grub os-prober freetype2 dosfstools mtools lvm2

#nano /etc/mkinitcpio.conf (Buscar en Hooks y agregar encrypt y lvm2: )

#mkinitcpio -p linux

#grub-install /dev/sda

#grub-mkconfig -o /boot/grub/grub.cfg

#passwd

#systemctl start NetworkManager.service && systemctl enable NetworkManager.service

#useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash

#passwd arcibel

#nano /etc/sudoers

****arcibel ALL=(ALL) NOPASSWD: /home/arcibel/.Scrips/i3blocks/network

#pacman -S xorg-server xorg-apps mesa mesa-demos xorg-twm xorg-xclock

#pacman -S ttf-dejavu ttf-droid ttf-inconsolata ttf-liberation ttf-bitstream-vera ttf-freefont

#pacman -S xfce4 xfce4-goodies network-manager-applet pulseaudio pulseaudio-alsa volumeicon firefox firefox-i18n-es-es linux-lts linux-lts-headers linux-zen linux-zen-headers broadcom-wl-dkms iw ntfs-3g intel-ucode

pacman -S networkmanager networkmanager-vpnc networkmanager-pptp networkmanager-openconnect

#pacman -S dbus

#systemctl enable dbus

#pacman -S gvfs gvfs-afc

#pacman -S xdg-user-dirs
#xdg-user-dirs-update

#nano /etc/X11/xorg.conf.d/10-keyboard.conf

Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "latam"
Option "XkbModel" "pc104"
Option "XkbVariant" "deadtilde,dvorak"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

#grub-mkconfig -o /boot/grub/grub.cfg

#exit

#umount -R /mnt

https://computingforgeeks.com/install-arch-linux-with-lvm-on-uefi-system/

https://medium.com/@ashwinkailas/arch-linux-lvm-dual-boot-with-windows-tutorial-e327ea8f3140

https://medium.com/@coastgrd/installing-arch-linux-with-grub-on-lvm-edbb8bcdad4c

You might also like