Page 1 of 1

[SOLVED] Welcome to emergecy mode!

PostPosted: Jun 7th, '17, 15:08
by pedro
Hi!

My computer locked up and I pressed the powerbutton to get out of there.
No when booting I get this (attached image).

I can start the system normal with ctrl D.

Re: Welcome to emergecy mode!

PostPosted: Jun 7th, '17, 17:24
by RagingRaven
Hey Pedro,

Seeing as you can boot normally with ctrl-D, it seems you can just try to exit emergency mode by typing "systemctl default"

From what I understand of it (and pls correct me if I'm wrong) the system shut down incorrectly (you had to press the power button to get out of the lockup) and therefor get's marked with an 'unclean shutdown'.
When booting mageia, it sees that there was an unclean shutdown and thus boots into emergency mode in order to fix possible issues.
Seeing as there is probably nothing wrong with the installation (seeing as you can continue with ctrl-d) you have to 'exit' emergency mode by booting back into default mode (by using the command "systemctl default").

Hopefully that makes sense.

Re: Welcome to emergecy mode!

PostPosted: Jun 8th, '17, 07:32
by pedro
Thank you!

I tried the "systemctl default" command, but still boots in emergency mode.

Re: Welcome to emergecy mode!

PostPosted: Jun 8th, '17, 15:06
by doktor5000
Then please boot it, then press Ctrl+D to boot normally and then later run the following command as root
Code: Select all
journalctl -ab > /tmp/journal.log

and then attach the resulting file /tmp/journal.log here.

Re: Welcome to emergecy mode!

PostPosted: Jun 8th, '17, 22:49
by pedro
journal.log attached

Re: Welcome to emergecy mode!

PostPosted: Jun 9th, '17, 01:32
by doktor5000
jun 08 22:42:33 localhost.localdomain kernel: EXT4-fs (sda1): re-mounted. Opts: acl,commit=0
jun 08 22:42:33 localhost.localdomain systemd-fsck[752]: /dev/sda6: Inoder som var med i trasig lista över föräldralösa inoder hittad.
jun 08 22:42:33 localhost.localdomain systemd-fsck[752]: /dev/sda6: OVÄNTAD INKONSEKVENS; KÖR fsck MANUELLT.
jun 08 22:42:33 localhost.localdomain systemd-fsck[752]: (d.v.s., utan flaggorna -a eller -p)
jun 08 22:42:33 localhost.localdomain systemd-fsck[752]: fsck failed with error code 4.
jun 08 22:42:33 localhost.localdomain systemd-fsck[752]: Running request emergency.target/start/replace


One of your partitions need a filesystem check. Boot to safe mode again, and then as root run
Code: Select all
fsck -y /dev/sda6

Re: Welcome to emergecy mode!

PostPosted: Jun 16th, '17, 08:40
by pedro
Thank You!

I did the the "fsck -y /dev/sda6" command and no everything is fine!
Had to find out how to unmount the partition first, to have the command run.

Unmounted the partition that needed a check:
Code: Select all
umount /dev/sda6

then run the:
Code: Select all
fsck -y /dev/sda6


Than you doctor doktor5000!

Re: [SOLVED] Welcome to emergecy mode!

PostPosted: Jun 16th, '17, 18:33
by doktor5000
You're welcome :)