12.1 boot problem

After a successful installation of 12.1 64bit KDE and several fast reboots, booting is now incredibly slow. Watching the output on the console screen I get a three minute pause after…

systemd-fsck[676]:/dev/sda6 clean....

…and see no more ouput. During the delay I am unable to get to any other consoles via CTL-ALT-Fkeys. After the delay the screen goes black except for the little rotating symbol and I am slowly presented with the graphic user login screen. User login takes another two minutes to complete before my desktop is populated. Any further activity appears to be normal. Except that if I CTL-ALT-F1 I do not see any output any more, just a console login screen. I looked at /var/log/messages and couldn’t find any serious problems. Where should I be looking? Prior to this problem starting I was performing online updates and installing the same software i used in my 11.4 installation.

Any guidance will be appreciated.

Correction. The boot output is reported in the console accessed by CTL-ALT-F10 and shows

Nov 17 21:11:52 athina dhcpcd[1140]: eth0: Failed to lookup hostname via DNS: Name or service not known
Nov 17 21:14:30 athina mcelog: mcelog read: No such device

So the time difference is just about the three minutes of inactivity.

Have you watched the vebose process?

By that I assume you mean the console behind the green lizard screen. That’s what I was watching when it stpped at,

systemd-fsck[676]:/dev/sda6 clean....

so
sda6 is ?

Use a tool like parted magic to check the partition

It’s mounted as /home, but I don’t think it’s the problem because it reports “clean”. I’ll boot up Parted Magic and check anyway.

Just checked sda6. It’s fine.

Have you checked your network settings in Yast

Not yet, but I found most of the delay was because fstab was trying to mount a non-booted server on my NFS network. I removed that line and things speeded up. BUT that doesn’t explain why the output on console CTL-ALT-F1 stops showing after the drives are checked. And user login is still pretty slow.

Thanks for the advice. If it doesn’t improve further, I think I’ll re-install. I hate doing that.

12.1 is running brilliantly for me. Not much consolation for you I know :slight_smile:

I just see this
Slow Boot after adding NFS shares

I foud the same problem and a solution that works for me. When using systemd and KDE networkmanager the boot is failing
Solution 1:Switching to ifup methode then it’s working again
Solution 2: Press F5 and choose to use the sysinit option: Permant switch install sysvinit-init and systemd is disabled and it works again

My 12.1 is having the same problem. For a couple of minutes the disk lights do nothing, and I get the same messages as above.

This was a clean install. My motherboard is a “P5G41-M LX2/GB” with a “RealTek” NIC. What kind of Ethernet card do you have on your system? I originally noticed a timeout on the network.
From hwinfo:
P: /devices/pci0000:00/0000:00:1c.1/0000:01:00.0/net/eth0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:01:00.0/net/eth0
E: INTERFACE=eth0
E: IFINDEX=2
E: SUBSYSTEM=net
E: ID_VENDOR_FROM_DATABASE=Realtek Semiconductor Co., Ltd.
E: ID_MODEL_FROM_DATABASE=RTL8111/8168B PCI Express Gigabit Ethernet controller
E: ID_BUS=pci
E: ID_VENDOR_ID=0x10ec
E: ID_MODEL_ID=0x8168
E: ID_MM_CANDIDATE=1
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eth0
E: TAGS=:systemd:

I am really in need of help to see what is going on, or in this case what is not going on.

I have similar boot delay issues at my 12.1 system (upgraded from 11.4 which booted without problems). I’m using ifup and the delay is still there. Added “init=/sbin/sysvinit” to my menu.lst and boot is fast again, so I think systemd is causing the delay.

I did likewise and boot times are much faster, Thanks for the tip.

where in the menu.lst line do you insert the “init=/sbin/sysvinit”?
kernel /boot/vmlinuz-3.1.0-1.2-desktop root=/dev/sda1 resume=/dev/sda2 init=/sbin/sysvinit splash=silent quiet showopts vga=0x314
Thanks

You don’t have to. Simply install “sysvinit-init”. It will tell you the uninstall of “systemd-init” is required. Accept this, and sysvinit will be the default. No need to change menu.lst.

On 2011-11-20 06:36, condic wrote:
>
> where in the menu.lst line do you insert the “init=/sbin/sysvinit”?

At grub prompt, there is a little menu at the bottom of the screen. I think
F5 does it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-11-18 04:16, ionmich wrote:

> be normal. Except that if I CTL-ALT-F1 I do not see any output any more,
> just a console login screen. I looked at /var/log/messages and couldn’t
> find any serious problems. Where should I be looking?

/var/log/boot*

And there are a few options to have verbose booting log.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I had this same exact problem after upgrading from 11.4 to 12.1 (i.e. booting was very slow, with no messages shown on the console after the file system check), and replacing systemd with sysvinit also solved it for me. Thanks.

(Something tells me that it has to do with this being an upgrade rather than a clean install.)