Hi guys.
I'm on Odroid xu4 with Ubuntu 20.04 and kernel 5.4.
I flashed the S.O. without any modification and I went into a single user mode by:
systemctl set-default rescue.target
At the reboot, inside the user-mode it gave me the Log:
systemd[1]: Failed to start LSB : executed by init(8) upon entering runlevel 1 (single)..
And then it stuck. The board seems like freezed. My keyboard doesn't work anymore, altought the cursor continue to blink like it waits for an input.
Anyone has the same problem? Many thanks.
[SOLVED] Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
- odroid
- Site Admin
- Posts: 37286
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1749 times
- Been thanked: 1127 times
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
Did you flash
Already a few thousands users downloaded the image and there is no such report yet.
We also couldn't reproduce the issue.
BTW, do you use an eMMC? or microSD card?
ubuntu-20.04-5.4-mate-odroid-xu4-20210113.img.xz
image with Etcher?Already a few thousands users downloaded the image and there is no such report yet.
We also couldn't reproduce the issue.
BTW, do you use an eMMC? or microSD card?
-
- Posts: 9
- Joined: Tue Feb 23, 2021 6:08 pm
- languages_spoken: english, italian
- ODROIDs: Odroidxu4
- Location: Pisa (IT)
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
Hi,
many thanks for the reply.
many thanks for the reply.
Yes, I flashed that OS. I didn't use Etcher, but dd, anyway I don't think that is the problem. I always used dd to flash the S.O images and I never had a problem. I tried also the multi-user mode and it works fine, the only problem is with the single-user mode.
I'm using an SD card.
- odroid
- Site Admin
- Posts: 37286
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1749 times
- Been thanked: 1127 times
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
I probably didn't understand what is the single-user mode and I think you are the first user who tried that.
I will check that with my colleague and get back to you early next week since it is Friday evening here.
I will check that with my colleague and get back to you early next week since it is Friday evening here.
-
- Posts: 9
- Joined: Tue Feb 23, 2021 6:08 pm
- languages_spoken: english, italian
- ODROIDs: Odroidxu4
- Location: Pisa (IT)
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
Maybe you know it with different names. The single user mode is the runlevel 1, also named rescue mode. The way to enter is by the command:
systemctl set-default rescue.target
And then reboot. This will reboot the system in single-user mode.
My apologies if I misspoke.
Thanks a lot mate, really appreciate it!
-
- Site Admin
- Posts: 11786
- Joined: Fri Feb 22, 2013 11:34 pm
- languages_spoken: english, portuguese
- ODROIDs: -
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 39 times
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
You can try playing with boot.ini to select different console options.
If you have the UART Kit you may have the console there now.
If it doesn't change console=tty1 to console=tty0
It may help as well.
If you have the UART Kit you may have the console there now.
You can remove console=ttySAC2..... since its for the uart kit and see if it helps.setenv bootrootfs "console=tty1 console=ttySAC2,115200n8
If it doesn't change console=tty1 to console=tty0
It may help as well.
-
- Posts: 9
- Joined: Tue Feb 23, 2021 6:08 pm
- languages_spoken: english, italian
- ODROIDs: Odroidxu4
- Location: Pisa (IT)
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
Hi mdrjr,
Many thanks for your reply.
I followed your suggestion, it didn't work, but thank to that I have new information.
In the journal log i discovered these lines that could be really interesting
init : invalid option -- 't'
system-journald.service: Main process exited, code=killed, status=9/KILL
system-journald.service: Failed with result 'signal'
After that some stuff about network and nothing more.
The error that I posted before there is also inside this log, but after this there are some other stuff where things seems continue to work.
I'm not an expert, but seems that init program has a wrong parameter, could be?
Many thanks for your reply.
I followed your suggestion, it didn't work, but thank to that I have new information.
In the journal log i discovered these lines that could be really interesting
init : invalid option -- 't'
system-journald.service: Main process exited, code=killed, status=9/KILL
system-journald.service: Failed with result 'signal'
After that some stuff about network and nothing more.
The error that I posted before there is also inside this log, but after this there are some other stuff where things seems continue to work.
I'm not an expert, but seems that init program has a wrong parameter, could be?
-
- Site Admin
- Posts: 11786
- Joined: Fri Feb 22, 2013 11:34 pm
- languages_spoken: english, portuguese
- ODROIDs: -
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 39 times
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
Took me a while but I figured it out.
You need to edit /etc/init.d/single
You'll see on do_start()
exec init -t1 S
change to
exec init S
Maybe someone at Ubuntu forgot to update it to match systemd. No idea.
You need to edit /etc/init.d/single
You'll see on do_start()
exec init -t1 S
change to
exec init S
Maybe someone at Ubuntu forgot to update it to match systemd. No idea.
-
- Posts: 9
- Joined: Tue Feb 23, 2021 6:08 pm
- languages_spoken: english, italian
- ODROIDs: Odroidxu4
- Location: Pisa (IT)
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: Stuck into a single-user mode on Ubuntu 20.04 Kernel 5.4
It works!!! Thanks mate, you're my saviour!



Who is online
Users browsing this forum: No registered users and 1 guest