[SOLVED] Welcome to emergecy mode!

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Welcome to emergecy mode!

Postby pedro » Jun 7th, '17, 15:08

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.
Attachments
Screenshot_20170607-161836.png
Screenshot_20170607-161836.png (1.2 MiB) Viewed 3961 times
Last edited by pedro on Jun 16th, '17, 08:41, edited 1 time in total.
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Welcome to emergecy mode!

Postby RagingRaven » Jun 7th, '17, 17:24

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.
User avatar
RagingRaven
 
Posts: 60
Joined: Aug 18th, '14, 16:40
Location: Oud-Beijerland, Near Rotterdam, The Netherlands

Re: Welcome to emergecy mode!

Postby pedro » Jun 8th, '17, 07:32

Thank you!

I tried the "systemctl default" command, but still boots in emergency mode.
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Welcome to emergecy mode!

Postby doktor5000 » Jun 8th, '17, 15:06

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Welcome to emergecy mode!

Postby pedro » Jun 8th, '17, 22:49

journal.log attached
Attachments
journal.log
(163.32 KiB) Downloaded 227 times
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: Welcome to emergecy mode!

Postby doktor5000 » Jun 9th, '17, 01:32

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Welcome to emergecy mode!

Postby pedro » Jun 16th, '17, 08:40

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!
pedro
 
Posts: 69
Joined: Jun 13th, '14, 09:46

Re: [SOLVED] Welcome to emergecy mode!

Postby doktor5000 » Jun 16th, '17, 18:33

You're welcome :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18055
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron