You are not logged in.
I have switched to systemd and everything in fine, but my boot process hangs when it tries to mount /dev/sdb1 (500gb.mount) and asks if I want to enter in emergency mode or just to continue with boot... If I continue (pressing CTRL-D) or if I enter the emergency mode then exit without doing nothing, the partition is mounted without errors and everything works perfectly.
That said, I think it's a timing process...I have to slow down the boot process and wait for /dev/sdb1 to be "free"...
Maybe it's my fault: in my /home (on /dev/sda3, mounted without errors) I have some symlinks to /dev/sdb1, so maybe systemd sees this links and mount /dev/sdb1 in a process, and in another process it reads /etc/fstab and tries to mount /dev/sdb1 again... I don't know, just guessing..
So, this is my /etc/fstab;
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sda2 / ext4 defaults 0 1
/dev/sda3 /home reiserfs defaults 0 2
/dev/sda5 swap swap defaults 0 0
/dev/sda1 /windows ntfs-3g defaults,uid=1000,gid=users 0 0
/dev/sdb1 /500gb ntfs-3g defaults,uid=1000,gid=users 0 0
Thanks in advance to everyone!
Last edited by Delcaran (2012-09-28 08:43:18)
I apologize for my English...
Offline
Hm, why not try to automount /dev/sdb1 only? Should look like this:
/dev/sdb1 /500gb ntfs-3g noauto,users,x-systemd.automount 0 0
Offline
/dev/sdb1 /500gb ntfs-3g noauto,users,x-systemd.automount 0 0
Changing my /dev/sdb1 entry in /etc/fstab with the line you posted makes the boot process fail repeatedly (not once like before) but the partition is not mounted at all...
I apologize for my English...
Offline
Changing my /dev/sdb1 entry in /etc/fstab with the line you posted makes the boot process fail repeatedly (not once like before) but the partition is not mounted at all...
Hm, then i have no idea. I thought with the automount option systemd would mount the drive when it is needed. Maybe the drive takes really too long to start up, as you said in your first post?
Offline
Looking in the journal (I can't post it, it gets truncated somehow...) I see systemd mounts /dev/sdb1 SUCCESSFULLY, then mounts another partition (I don't remember which, I'm on windows right now), it fails, unmounts /dev/sdb1, mounts the other partition and then remounts /dev/sdb1 and hangs...
Can I say WTF?
I apologize for my English...
Offline
This is the log from last boot. Mount starts on line 740 and 859.
http://pastebin.com/Ud5fPM77
I apologize for my English...
Offline
It also seems that sometimes system does not poweroff... it hangs...
I apologize for my English...
Offline
Solved! It was a udev problem.
Udev sometimes switch sda and sdb during automount, so I put UUIDs in fstab, deleted my automount rules in /etc/udev/rules.d, updated systemd to 192 and rebooted: done!
Thanks to everyone!
I apologize for my English...
Offline