~40 sec boot time on fast SSD

General support questions
yaomtc
Posts: 26
Joined: 2017/04/22 00:07:03

Re: ~40 sec boot time on fast SSD

Post by yaomtc » 2018/09/19 22:57:08

hunter86_bg wrote:
2018/09/17 12:10:00
By the way can you provide the

Code: Select all

cat /proc/cmdline
.
I used to have a similar issue due to 'resume=' stanza.

Code: Select all

BOOT_IMAGE=/vmlinuz-3.10.0-862.11.6.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap biosdevname=0 net.ifnames=0 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev edd=off
Worth noting that whenever I reboot, the old cmdline options are there, missing the "edd=off" and having "rhgb quiet". Is there a more official, accurate, up-to-date version of these instructions from CentOS or RHEL?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: ~40 sec boot time on fast SSD

Post by TrevorH » 2018/09/20 02:00:33

Where are you adding them?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: ~40 sec boot time on fast SSD

Post by stevemowbray » 2018/09/20 07:53:43

Using grubby seems to be the best way to add/remove options.

SCSIraidGURU
Posts: 7
Joined: 2018/09/12 17:40:31

Re: ~40 sec boot time on fast SSD

Post by SCSIraidGURU » 2018/09/20 20:44:50

Did you check DMESG to see what is hanging or failing during reboot? CentOS 7 reboots on my server in 4-6 seconds at most. VMWare splashes up and it is quick to get to a login. Can you watch the boot up to see any issues?

yaomtc
Posts: 26
Joined: 2017/04/22 00:07:03

Re: ~40 sec boot time on fast SSD

Post by yaomtc » 2018/09/27 23:57:02

TrevorH wrote:
2018/09/20 02:00:33
Where are you adding them?
I'm adding them to /etc/default/grub,

Code: Select all

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap biosdevname=0 net.ifnames=0 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev edd=off"
GRUB_DISABLE_RECOVERY="true"
I wouldn't edit /boot/efi/EFI/centos/grub.cfg, since there's a warning right there at the top of the file not to edit it:

Code: Select all

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
stevemowbray wrote:
2018/09/20 07:53:43
Using grubby seems to be the best way to add/remove options.
Huh, well, I'll try it. mkconfig doesn't seem to be the way to go anymore, apparently... Will update this shortly.
SCSIraidGURU wrote:
2018/09/20 20:44:50
Did you check DMESG to see what is hanging or failing during reboot? CentOS 7 reboots on my server in 4-6 seconds at most. VMWare splashes up and it is quick to get to a login. Can you watch the boot up to see any issues?
https://paste.debian.net/hidden/abebe108/
I can't tell but it might be network related? Maybe?

Post Reply