Skip to content

Instantly share code, notes, and snippets.

@danielnunesdc
Last active January 4, 2023 22:16
Show Gist options
  • Save danielnunesdc/af63ff8f9d5c2c0f1c8270b009869c9a to your computer and use it in GitHub Desktop.
Save danielnunesdc/af63ff8f9d5c2c0f1c8270b009869c9a to your computer and use it in GitHub Desktop.
ransaction for graphical.target/start is destructive. Failed to start default target: Transaction for graphical.target/start is destructive (emergency.target has 'start' job queued, but 'stop' is included in the transaction
arquivo /etc/fstab
Se as opções estiverem diferentes dos abaixo, ajuste, os definidos como default recebem as opções zero zero
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p8 during installation
UUID= / ext4 errors=remount-ro 0 1
# /boot was on /dev/nvme0n1p7 during installation
UUID= /boot ext4 defaults 0 2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID= /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda1 during installation
UUID= /home ext4 defaults 0 0
# swap was on /dev/nvme0n1p5 during installation
UUID= none swap sw 0 0
Cuidado arquivos sensiveis, faça backup antes de utilizar
Verificar partições
/etc/fstab
ou
/dev/disk/by-uuid
Recuperar chegar e reparar partição
fsck /dev/diskname
para listar todos os dispositivos, com suas respectivas categorias e sistemas de arquivos, use o comando:
lsblk
$ sudo blkid
Ver partições
sudo parted -I
Montar partição home
sudo mount /dev/sda1 /home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment