Systemd not boots [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Systemd not boots [Solved]

Postby albfneto » Sat Mar 22, 2014 2:25

Computer:Athlon X2, 8 giga RAM

as kernel line in the Grub,
I tried /bin/systemd and /lib/systemd/systemd, without sucess.

after a few modifications and retries, /usr/lib/systemd/systemd worked, but:

No Boot, many hardware errors and corruption errors. mainly im XFS file system. My /home partition is in XFS file system.

prior to upgrades, my system was working.
Last edited by albfneto on Tue Mar 25, 2014 16:01, edited 2 times in total.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1711
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Systemd not boots

Postby illalien » Sun Mar 23, 2014 13:33

This is not a solution but maybe my problem can be a hint?

My original installation is more than three years old, so there are some quirks...

I switched to systemd when it was announced but changed back since it didn't work back then.
When support for openRC was dropped my system stopped booting.
It was easily fixed by booting failsafe and switching to systemd by using eselect.

Following week I wasn't worried about updating since I had a fully working systemd.

But after update the system didn't boot asking for fsck and double ctrl-d messages to continue which led to an infinite loop...
Unable to give root password or run fsck I realized that my root filesystem couldn't be read.

I don't use LVM and I have a separate /boot but no separate /home. (see below)
I also have an old drive with an old openSUSE installation (ext3) that held a lot of large files and I still use it.

Chrooting into my system confirmed that password and all files were still OK.
I remember reading somewhere that etc/fstab is now working a different way and noticed that the latest update had changed it.

Unfortunately I lost my original fstab in the process, but here is what it looked like after the update;
(I think the bad line used to be something like /dev/sdb6 /media/storage ext3 defaults 1 2)

# /etc/fstab
# Created by anaconda on Thu Mar 6 13:42:42 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=a5d5fe3e-6413-4af4-b694-24b899032a3a / ext4 defaults 1 1
UUID=7c076452-4614-4f57-918e-9a1c7aeedc17 /boot ext4 defaults 1 2
/dev/UUID=6f65d9da-5f17-4e4c-b811-1ea8efe7e0a9 /media/storage ext3 defaults 1 2
UUID=d8723eb9-28ef-4f8a-a915-a1a40b2045a2 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
tmpfs /tmp tmpfs noexec,nosuid,nodev,size=100M 0 0

------------------------------------------------------------------------------------------------

Removing the line;
/dev/UUID=6f65d9da-5f17-4e4c-b811-1ea8efe7e0a9 /media/storage ext3 defaults 1 2
fixed the problem!

I then replaced it with;
UUID=6f65d9da-5f17-4e4c-b811-1ea8efe7e0a9 /media/storage ext3 defaults 1 2
and the problem was back!!!

RTFM and replacing it with;
UUID=6f65d9da-5f17-4e4c-b811-1ea8efe7e0a9 /media/storage ext3 defaults,nofail 1 0
Fixed the problem and I have access to my old files again.

So the problem had something to do with ext3 support.
illalien
Baby Hen
 
Posts: 18
Joined: Wed Mar 12, 2014 20:10

Re: Systemd not boots

Postby albfneto » Tue Mar 25, 2014 16:01

Solved by re-installing the Systemd package.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1711
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Systemd not boots [Solved]

Postby msdobrescu » Sun Apr 13, 2014 14:06

How did you reinstall systemd when you could not boot?
msdobrescu
Technological Hen
 
Posts: 424
Joined: Sun Aug 21, 2011 8:48


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron