CentOS 7 dracut timeout fsck XFS

General support questions
GTA_doum
Posts: 7
Joined: 2016/07/14 08:59:24

CentOS 7 dracut timeout fsck XFS

Postby GTA_doum » 2018/05/16 16:43:59

Hello,
My CentOS 7.4 boot process timeouts after a File System Check on root, which is a XFS partition. Dracut eventually gets in special mode, I just type in "Exit" and the boot process continues normally.

How to remove the fsck on boot? I tried the fastboot on vmlinuz line in grub.cfg and touch /fastboot, both did not work. fstab file already has the sixth option at 0.

Thanks.

User avatar
TrevorH
Forum Moderator
Posts: 22599
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 7 dracut timeout fsck XFS

Postby TrevorH » 2018/05/16 16:49:23

Scroll back up the console output with Shift-PgUp and see if you have another error too. Also, once it's booted up, run mount -a and see if you get any error messages.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

GTA_doum
Posts: 7
Joined: 2016/07/14 08:59:24

Re: CentOS 7 dracut timeout fsck XFS

Postby GTA_doum » 2018/05/16 18:20:50

You were right, there was an error about the swap partition not being found.
I renamed its LVM name a while back and did not revise the grub.cfg accordingly. I removed the swap reference in grub.cfg, since it is not a critical partition for booting, and Linux discovers it by itself afterward anyway.

Thanks for guiding me in the right direction.