[RESOLVIDO] Emergency mode: journalctl -xb, ao iniciar sistema

E ai galera, tive um pequeno problema na minha tela, e acabei desligando o PC no botão. Dai quando fui ligar novamente. O sistema não esta conseguindo dar boot.

Sistema: Mint 19.3, com dual boot. Tenho um SSD que tem o windows + SWAP + raiz. No HD tenho a /home e o disco \D.

mensgem do erro:
You are in emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode. Pressione ENTER para manutenção

Algumas saídas(em liveCD):
Obs: minha raiz esta no sda6

root@mint:~# fdisk -l

Disk /dev/loop0: 1.8 GiB, 1948299264 bytes, 3805272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 502B3AAB-A13F-4CD0-991A-382B9AC16E59

Device Start End Sectors Size Type
/dev/sda1 2048 1023998 1021951 499M EFI System
/dev/sda2 1024000 1228799 204800 100M EFI System
/dev/sda3 1228800 1261567 32768 16M Microsoft reserved
/dev/sda4 1261568 152653823 151392256 72.2G Microsoft basic data
/dev/sda5 152653824 161042431 8388608 4G Linux swap
/dev/sda6 161042432 234440869 73398438 35G Linux filesystem

Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CE0EB285-B82D-4DC8-A435-A68911FBF222

Device Start End Sectors Size Type
/dev/sdb1 34 524290047 524290014 250G Linux filesystem
/dev/sdb2 524290048 1784875007 1260584960 601.1G Microsoft basic data
/dev/sdb3 1784875008 1953523711 168648704 80.4G Linux filesystem

Partition 1 does not start on physical sector boundary.

Meu arquivo fstab esta desta forma:

root@mint:~# cat /etc/fstab

# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=8370d1ea-0b59-4329-afe1-2d7b40a02e9a / ext4 errors=remount-ro 0 1
#(teintei desta forma, sem sucesso) /dev/sda6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=57D5-4F08 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb1 during installation
UUID=679a09d0-1c52-4524-920e-fff323c9365f /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=15a3733a-c947-4798-9093-ff8071387c7b none swap sw 0 0

root@mint:~# lsblk -f

NAME FSTYPE LABEL UUID MOUNTPOINT
loop0 squashfs /rofs
sda
├─sda1 vfat 57D5-4F08
├─sda2 vfat D6C7-79E0
├─sda3
├─sda4 ntfs 1066F0D166F0B914
├─sda5 swap 15a3733a-c947-4798-9093-ff8071387c7b [SWAP]
└─sda6 ext4 8370d1ea-0b59-4329-afe1-2d7b40a02e9a
sdb
├─sdb1 ext4 679a09d0-1c52-4524-920e-fff323c9365f
├─sdb2 ntfs 5C0FD34B13ACBFB3
└─sdb3 ext4 913ea9d7-813f-42db-999c-c1e6c675e723
sdc iso9660 Linux Mint 19.3 Cinnamon 64-bit 2019-12-13-16-58-44-00 /cdrom
├─sdc1 iso9660 Linux Mint 19.3 Cinnamon 64-bit 2019-12-13-16-58-44-00
└─sdc2 vfat Linux Mint 19.3 Cinnamon 64-bit 833C-CDB0

root@mint:~# journalctl -xb

encontrei este erro nos logs (em vermelho)
index

Tentei fazer algumas coisas, como alterar o arquivo fstab. Mudei UIDD para dev/sda6. Mudar as opções de errors=remount-ro, para defaults

Teitei rodar: fsck.ext4 /dev/sd6 , mas como a unidade estava montada, ele me voltava erro e abortava o processo.

Fiz entao um liveCD(USB) e rodando o mesmo comando, obtenho a mesma saida:
root@mint:~# fsck.ext4 /dev/sda6 e2fsck 1.44.1 (24-Mar-2018) /dev/sda6 is mounted. e2fsck: Cannot continue, aborting.

Alguem tem alguma ideia de como posso estar resolvendo este problema?

Já tentou rodar um fsck na partição

fsck /dev/sda6

É depois vê se funciona

1 Curtida

tentei já.

root@mint:~# fsck /dev/sda6

fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
/dev/sda6 is mounted.
e2fsck: Cannot continue, aborting.`

ele não ta deixando pq ta montado a partição, só que eu estou em liveCD, não era pra isso acontecer, ate onde eu sei.

Ok…

Talvez tenha que fazer através de uma imagem de alguma distribuição.

Vc pode tentar desmontar

umount /dev/sda6

Senão só através de uma imagem

1 Curtida

Deu certo.

umount /dev/sda6

fsck /dev/sda6

dei um reboot e o sistema deu boot normal. Vlw pela ajuda!

Estou com problema semelhante, sou bastante leigo, não consegui decifrar a partir do que já foi postado aqui.

Tudo começou quando eu fui atualizar o LinuxMint 18.3 que uso numa partição e o Windows 10 em outra. O computador desligou durante a atualização. Quando iniciei apareceu isso:

Welcome to emergency mode! After loggin in, type ‘‘journalctl -xb’’ to view system logs, ‘‘systemctl reboot’’ to reboot, ‘‘systemctl default’’ to try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue):

A minha SENHA que ele pede não tá funcionando aí.
Se aperto Control + D, ele tenta de novo, mas passa. Fica na mensagem.

Estou usando um LIVE USB (pendrive com a mesma versão linuxmint 18.3)

Na saida do journalctl -xb saiu vermelho essas linhas em negrito

mint mint # journalctl -xb

Jun 29 19:01:53 mint kernel: scsi 4:0:0:0: Direct-Access Kingston DT 100 G2 PMAP PQ: 0 ANSI: 4
Jun 29 19:01:53 mint kernel: scsi 5:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] 15240576 512-byte logical blocks: (7.80 GB/7.27 GiB)
Jun 29 19:01:53 mint kernel: sd 5:0:0:0: Attached scsi generic sg3 type 0
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] Write Protect is off
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] No Caching mode page found
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Jun 29 19:01:53 mint kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk
Jun 29 19:01:53 mint kernel: sdb: sdb1
Jun 29 19:01:53 mint kernel: sd 4:0:0:0: [sdb] Attached SCSI removable disk
Jun 29 19:01:53 mint kernel: random: crng init done
Jun 29 19:01:53 mint kernel: EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
Jun 29 19:01:53 mint kernel: EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
Jun 29 19:01:53 mint kernel: aufs 4.x-rcN-20170206
Jun 29 19:01:53 mint kernel: Adding 1998844k swap on /dev/sda6. Priority:-1 extents:1 across:1998844k FS
Jun 29 19:01:53 mint systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ
Jun 29 19:01:53 mint systemd[1]: Detected architecture x86.
Jun 29 19:01:53 mint systemd[1]: Set hostname to .
Jun 29 19:01:53 mint systemd[1]: Listening on LVM2 metadata daemon socket.
Jun 29 19:01:53 mint systemd[1]: Reached target Remote File Systems (Pre).
Jun 29 19:01:53 mint systemd[1]: Created slice User and Session Slice.
Jun 29 19:01:53 mint systemd[1]: Reached target Encrypted Volumes.
Jun 29 19:01:53 mint systemd[1]: Listening on udev Kernel Socket.
Jun 29 19:01:53 mint systemd[1]: Started Trigger resolvconf update for networkd DNS.
Jun 29 19:01:53 mint systemd[1]: Reached target User and Group Name Lookups.
Jun 29 19:01:53 mint kernel: lp: driver loaded but no devices found
Jun 29 19:01:53 mint kernel: ppdev: user-space parallel port driver
Jun 29 19:01:53 mint systemd-journald[953]: Journal started

mint@mint ~ $ sudo fdisk -l

Disk /dev/loop0: 1.8 GiB, 1869492224 bytes, 3651352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfec28985

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 203880447 203673600 97.1G 7 HPFS/NTFS/exFAT
/dev/sda3 203880448 204802047 921600 450M 27 Hidden NTFS WinRE
/dev/sda4 204804095 962392063 757587969 361.3G f W95 Ext’d (LBA)
/dev/sda5 204804096 228239359 23435264 11.2G 83 Linux —AQUI É A PARTIÇÃO “/
/dev/sda6 228241408 232239103 3997696 1.9G 82 Linux swap / Solaris
/dev/sda7 232241152 526032895 293791744 140.1G 83 Linux – aqui é a /home
/dev/sda8 526047232 962392063 436344832 208.1G 7 HPFS/NTFS/exFAT

Partition 4 does not start on physical sector boundary.

Disk /dev/sdb: 7.3 GiB, 7803174912 bytes, 15240576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0039c399

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 15240575 15238528 7.3G c W95 FAT32 (LBA)
mint@mint ~ $

mint@mint ~ $ sudo fsck /dev/sda5

fsck from util-linux 2.27.1

e2fsck 1.42.13 (17-May-2015)

/dev/sda5: clean, 510569/732960 files, 2330210/2929408 blocks

re@logan ~ $ sudo blkid

[sudo] senha para re:
/dev/sda1: LABEL=“Reservado pelo Sistema” UUID=“F4A0A935A0A8FEEC” TYPE=“ntfs” PARTUUID=“fec28985-01”
/dev/sda2: UUID=“3EFCBAB3FCBA64B5” TYPE=“ntfs” PARTUUID=“fec28985-02”
/dev/sda3: UUID=“908EC17C8EC15B7C” TYPE=“ntfs” PARTUUID=“fec28985-03”
/dev/sda5: UUID=“8d2a903a-4881-4d75-8a10-06e63dd23b9f” TYPE=“ext4” PARTUUID=“fec28985-05”
/dev/sda6: UUID=“c450b96d-5a80-4efa-b3eb-43a0f1a0e085” TYPE=“swap” PARTUUID=“fec28985-06”
/dev/sda7: UUID=“1be607a2-290c-42a7-a1ba-bf711237931e” TYPE=“ext4” PARTUUID=“fec28985-07”
/dev/sda8: LABEL=“ARQUIVOS” UUID=“01D64E22B2F58DE0” TYPE=“ntfs” PARTUUID=“fec28985-08”

mint@mint ~ $

mint mint # cat /etc/fstab

#/etc/fstab: static file system information.

#<file system> <mount point> <type> <options> <dump> <pass>

#Entry for /dev/sda6 :
UUID=8d2a903a-4881-4d75-8a10-06e63dd23b9f / ext4 errors=remount-ro 0 1
#Entry for /dev/sda8 :
UUID=1be607a2-290c-42a7-a1ba-bf711237931e /home ext4 defaults 0 2
#Entry for /dev/sda5 :
UUID=01D1B9BB03D74EC0 /media/ARQUIVOS ntfs-3g defaults,locale=pt_BR.UTF-8 0 0
#Entry for /dev/sda1 :
UUID=F4A0A935A0A8FEEC /media/Reservado_pelo_Sistema ntfs-3g defaults,locale=pt_BR.UTF-8 0 0
#Entry for /dev/sda2 :
UUID=3EFCBAB3FCBA64B5 /media/sda2 ntfs-3g defaults,locale=pt_BR.UTF-8 0 0
#Entry for /dev/sda3 :
UUID=908EC17C8EC15B7C /media/sda3 ntfs-3g defaults,locale=pt_BR.UTF-8 0 0
UUID=2AFE9970FE9934D3 /media/sda3 ntfs-3g defaults,locale=pt_BR.UTF-8 0 0
#Entry for /dev/sda7 :
UUID=c450b96d-5a80-4efa-b3eb-43a0f1a0e085 none swap sw 0 0

não consegui resolver ainda.