Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

35 second delay after GRUB [SOLVED]

Help for Current Versions of MX
Message
Author
User avatar
djmclaws
Forum Novice
Forum  Novice
Posts: 30
Joined: Sun Nov 15, 2009 6:09 pm

35 second delay after GRUB [SOLVED]

#1 Post by djmclaws » Wed May 09, 2018 2:35 pm

First time caller here......

Just installed and trying out MX Linux 17.1 after a couple of years with linux mint. I have only run into one small glitch. After all the glowing reviews, I expected the startup to be blazing fast, but there is a 35 second delay after the GRUB menu, with just a blinking cursor on a blank screen before it automatically and quickly goes through what appears to be the boot loader steps (I can't read that fast), and then to the log-in screen. I did encrypt the Home directory during installation. Is that the reason?

Any help or insight on what is going on there is appreciated.

Thanks!

Here are my system specs.:

Code: Select all

System:    Host: danny Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14, 2018 
Machine:   Type: Laptop System: Dell product: Latitude E6430 v: 01 serial: N/A 
           Mobo: Dell model: N/A serial: N/A BIOS: Dell v: A12 date: 05/20/2013 
Battery:   ID-1: BAT0 charge: 21.4 Wh condition: 24.8/60.0 Wh (41%) 
CPU:       Topology: Dual Core model: Intel Core i5-3340M bits: 64 type: MT MCP 
           L2 cache: 3072 KiB 
           Speed: 1415 MHz min/max: 1200/3400 MHz Core speeds (MHz): 1: 1774 2: 1478 3: 1781 
           4: 1494 
Graphics:  Card-1: NVIDIA GF108GLM [NVS 5200M] driver: nouveau v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: nouveau unloaded: fbdev,modesetting,nv,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Gallium 0.4 on NVC1 v: 4.3 Mesa 13.0.6 
Audio:     Card-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           Card-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e 
           IF: eth0 state: down mac: f0:1f:af:1b:c2:dd 
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi 
           IF: wlan0 state: up mac: 6c:88:14:7d:ae:fc 
Drives:    HDD Total Size: 232.89 GiB used: 8.20 GiB (3.5%) 
           ID-1: /dev/sda model: HFS250G32TND-N1A size: 232.89 GiB 
Partition: ID-1: / size: 226.23 GiB used: 8.20 GiB (3.6%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 65.0 C mobo: 47.0 C sodimm: 42.0 C gpu: nouveau temp: 56 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://repo.antixlinux.com/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 207 Uptime: 30m Memory: 15.62 GiB used: 1.03 GiB (6.6%) Shell: init 
           inxi: 3.0.06 
Last edited by djmclaws on Thu May 10, 2018 7:43 am, edited 1 time in total.

turtlebay777
Forum Regular
Forum Regular
Posts: 151
Joined: Sat Apr 14, 2018 2:40 pm

Re: 35 second delay after GRUB

#2 Post by turtlebay777 » Wed May 09, 2018 3:57 pm

Using the default start up mine used to delay but I used Grub Customizer (in Settings) to make the default use the systemd system instead, and now it's very fast and more stable.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15787
Joined: Fri Dec 15, 2006 8:07 pm

Re: 35 second delay after GRUB

#3 Post by Stevo » Wed May 09, 2018 4:20 pm

Yeah, but we'd like to fix the sysvinit boot, too. Bitjam and dolphin_oracle know a lot more about that than I do, for sure.

At least we aren't using the stock Debian 4.9 kernel. Many users found their systems now taking up to five minutes to boot after an update to the 4.9.88 version of the kernel paused for that long to gather entropy for a random number generation. Installing one package fixes that, haveged, but it mystified many people for days. MX may have had that package installed by default, though.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8792
Joined: Sun Dec 16, 2007 1:17 pm

Re: 35 second delay after GRUB

#4 Post by dolphin_oracle » Wed May 09, 2018 4:25 pm

Stevo wrote:Yeah, but we'd like to fix the sysvinit boot, too. Bitjam and dolphin_oracle know a lot more about that than I do, for sure.

At least we aren't using the stock Debian 4.9 kernel. Many users found their systems now taking up to five minutes to boot after an update to the 4.9.88 version of the kernel paused for that long to gather entropy for a random number generation. Installing one package fixes that, haveged, but it mystified many people for days. MX may have had that package installed by default, though.
we do have that by default.

it would be good to see if the /var/log files show anything. there are boot, kernel, and syslog files.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4264
Joined: Wed Jul 12, 2006 4:05 pm

Re: 35 second delay after GRUB

#5 Post by timkb4cq » Wed May 09, 2018 4:45 pm

I have recently had that 35 second boot delay on a similar Dell laptop using uefi booting.
The first post-delay message I was getting was:

Code: Select all

 Gave up waiting for suspend/resume device
That was because the initrd wasn't looking in the right place for the swap partition. Making sure the swap partition is mounted as swap, and updating the initrd fixed it:

Code: Select all

sudo swapon
sudo update-initramfs -u
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8792
Joined: Sun Dec 16, 2007 1:17 pm

Re: 35 second delay after GRUB

#6 Post by dolphin_oracle » Wed May 09, 2018 5:30 pm

hmm.... the installer should take care of that but maybe it gets missed for some reason. it is also possible to get that same event if swap is formatted after installation.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
djmclaws
Forum Novice
Forum  Novice
Posts: 30
Joined: Sun Nov 15, 2009 6:09 pm

Re: 35 second delay after GRUB

#7 Post by djmclaws » Wed May 09, 2018 5:41 pm

dolphin_oracle wrote:
Stevo wrote:Yeah, but we'd like to fix the sysvinit boot, too. Bitjam and dolphin_oracle know a lot more about that than I do, for sure.

At least we aren't using the stock Debian 4.9 kernel. Many users found their systems now taking up to five minutes to boot after an update to the 4.9.88 version of the kernel paused for that long to gather entropy for a random number generation. Installing one package fixes that, haveged, but it mystified many people for days. MX may have had that package installed by default, though.
we do have that by default.

it would be good to see if the /var/log files show anything. there are boot, kernel, and syslog files.

Too long of a log to post here, but I looked through the time stamps of each of those files. Did not find a corresponding 35-ish second gap in time.

User avatar
djmclaws
Forum Novice
Forum  Novice
Posts: 30
Joined: Sun Nov 15, 2009 6:09 pm

Re: 35 second delay after GRUB

#8 Post by djmclaws » Wed May 09, 2018 5:45 pm

timkb4cq wrote:I have recently had that 35 second boot delay on a similar Dell laptop using uefi booting.
The first post-delay message I was getting was:

Code: Select all

 Gave up waiting for suspend/resume device
That was because the initrd wasn't looking in the right place for the swap partition. Making sure the swap partition is mounted as swap, and updating the initrd fixed it:

Code: Select all

sudo swapon
sudo update-initramfs -u

I'll give that a try

Code: Select all

$ sudo swapon
NAME      TYPE      SIZE USED PRIO
/dev/dm-0 partition   2G   0B   -2
danny@danny:/var/log
$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.15.0-1-amd64
cryptsetup: WARNING: target cryptswap1 has a random key, skipped
I: The initramfs will attempt to resume from /dev/dm-0
I: (UUID=bcc98a63-8785-4a58-a414-35e7359b7bde)
I: Set the RESUME variable to override this.

User avatar
djmclaws
Forum Novice
Forum  Novice
Posts: 30
Joined: Sun Nov 15, 2009 6:09 pm

Re: 35 second delay after GRUB

#9 Post by djmclaws » Wed May 09, 2018 5:52 pm

No change.

User avatar
djmclaws
Forum Novice
Forum  Novice
Posts: 30
Joined: Sun Nov 15, 2009 6:09 pm

Re: 35 second delay after GRUB

#10 Post by djmclaws » Wed May 09, 2018 5:56 pm

I just checked, and I do have the haveged package installed.

Post Reply

Return to “MX Help”