Guilherme GM
Posts: 10
Joined: Wed Dec 23, 2015 3:34 pm

(Ubuntu Mate) How to skip emergency mode?

Tue Apr 26, 2016 10:51 pm

Hi,

I need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it.

Any ideias?

Thanks!

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: (Ubuntu Mate) How to skip emergency mode?

Tue Apr 26, 2016 11:33 pm

Guilherme GM wrote: ... need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it ...
You could try Raspbian; works really well for me.
marcus
:ugeek:

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: (Ubuntu Mate) How to skip emergency mode?

Wed Apr 27, 2016 12:00 am

Guilherme GM wrote:Hi,

I need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it.

Any ideias?

Thanks!
Yes, edit fstab to stop fsck. Also consider shutting down properly which will stop filesystem corruption.

Guilherme GM
Posts: 10
Joined: Wed Dec 23, 2015 3:34 pm

Re: (Ubuntu Mate) How to skip emergency mode?

Wed Apr 27, 2016 12:04 am

MarkHaysHarris777 wrote:
Guilherme GM wrote: ... need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it ...
You could try Raspbian; works really well for me.
I don't have this choice because I have a software that only works on armel architecture so I have to use Ubuntu and gcc-multlib to get it to work.

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: (Ubuntu Mate) How to skip emergency mode?

Wed Apr 27, 2016 12:56 am

Guilherme GM wrote:
MarkHaysHarris777 wrote:
Guilherme GM wrote: ... need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it ...
You could try Raspbian; works really well for me.
I don't have this choice because I have a software that only works on armel architecture so I have to use Ubuntu and gcc-multlib to get it to work.
Uffda... well, I'm glad you have something that will work for you, then. Your system is probably not being shutdown cleanly; short end of that is shutdown properly. Also, put it on a ups (even a small one is better than nothing).
marcus
:ugeek:

Guilherme GM
Posts: 10
Joined: Wed Dec 23, 2015 3:34 pm

Re: (Ubuntu Mate) How to skip emergency mode?

Wed Apr 27, 2016 1:02 pm

MarkHaysHarris777 wrote: Uffda... well, I'm glad you have something that will work for you, then. Your system is probably not being shutdown cleanly; short end of that is shutdown properly. Also, put it on a ups (even a small one is better than nothing).

The rpi2 will never be shutdown cleanly one of the reasons is the device has no switch on/off. I will use this device for automation, theres no way to put a battery or something like this on the rpi2 to be "never turned off".

I just need a bypass to skip the emergency mode, even on windows I have just to wait a few seconds before its boot.

Thanks!

Guilherme GM
Posts: 10
Joined: Wed Dec 23, 2015 3:34 pm

Re: (Ubuntu Mate) How to skip emergency mode?

Wed Apr 27, 2016 1:44 pm

asandford wrote:
Guilherme GM wrote:Hi,

I need to always skip the emergency mode because I'll use the rpi2 as a "standalone device" where there's inputs (keyboard, screen...) connected to it.

Any ideias?

Thanks!
Yes, edit fstab to stop fsck. Also consider shutting down properly which will stop filesystem corruption.
Thank you, now I'm able to skip the emergency mode.

I follow this doc:
https://help.ubuntu.com/community/Fstab ... k_order.29

It's may need to add the rw (read-write) option (I had to add this!):
/dev/... / rw,defaults 0 0


Also, I found this but I didn't tested but it's interesting:
http://unixadminguide.blogspot.com.br/2 ... linux.html

Return to “Other”