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
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4182
Joined: Wed Jul 12, 2006 4:05 pm

Re: 35 second delay after GRUB

#11 Post by timkb4cq » Wed May 09, 2018 6:05 pm

Hmm, cryptswap1 has a random key...
If a new random key is generated for the swap partition on each boot, how could it be resumed from? I have no experience dealing with encrypted swap but ISTM that you would have to clear the RESUME variable so it doesn't try to.
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: 8495
Joined: Sun Dec 16, 2007 1:17 pm

Re: 35 second delay after GRUB

#12 Post by dolphin_oracle » Wed May 09, 2018 6:11 pm

Pergaps posting the output of

Code: Select all

update-initramfs -u 
And the contents of the /etc/fstab would help.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

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

Re: 35 second delay after GRUB

#13 Post by djmclaws » Wed May 09, 2018 11:05 pm

dolphin_oracle wrote:Pergaps posting the output of

Code: Select all

update-initramfs -u 
And the contents of the /etc/fstab would help.

Code: Select all

danny@danny:~
$ update-initramfs -u
ln: failed to create hard link '/boot/initrd.img-4.15.0-1-amd64.dpkg-bak' => '/boot/initrd.img-4.15.0-1-amd64': Operation not permitted
cp: cannot create regular file '/boot/initrd.img-4.15.0-1-amd64.dpkg-bak': Permission denied
danny@danny:~

Code: Select all

$ cat /etc/fstab
# /etc/fstab: static file system information
#
# Created by make-fstab on Tue May  8 18:57:14 EDT 2018

# <file system>                            <mount point>                               <type>     <options>                       <dump/pass>

#-> /dev/sda1  label=rootMX17
UUID=e74a1963-7e5e-4b51-9181-ef3e85b0a2a9  /                                           ext4       defaults                        1 1
#-> /dev/sda2  label=MXswap
#UUID=e920ebfc-6ce9-4176-8991-7e6c4bcbf944 swap                                        swap       defaults                        0 0
/dev/mapper/cryptswap1 none swap sw 0 0
danny@danny:~
Thanks for all your help !!

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

Re: 35 second delay after GRUB

#14 Post by djmclaws » Wed May 09, 2018 11:23 pm

P.S.

I just tried booting up with the live cd and used gparted under the tab "manage flags" to make sure sda1 had the "boot" box checked. It was.

User avatar
stsoh
Forum Regular
Forum Regular
Posts: 306
Joined: Sun Aug 20, 2017 10:11 am

Re: 35 second delay after GRUB

#15 Post by stsoh » Thu May 10, 2018 12:35 am

try this, open root thunar and edit /etc/initramfs-tools/initramfs.conf file.
copy n paste below to eol, save n reboot.

Code: Select all

RESUME=none
MX-17.1_x64 Horizon, G41M-P33 Combo(MS-7592), Pentium E5400 (min/max: 1203/2700 MHz), 8Gb RAM (800 MT/s),
Intel 4 Series Integrated Graphics, Realtek PCIe Fast RTL8101/2/6E, PCI Gigabit RTL8169 Ethernets.

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

Re: 35 second delay after GRUB

#16 Post by dolphin_oracle » Thu May 10, 2018 6:38 am

sorry, that update-initramfs line should have been as root or with "sudo". my fault.

if you try stoh's post above, you will need to run

Code: Select all

sudo update-initramfs -u
before it will take effect.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

User avatar
asqwerth
Forum Guide
Forum Guide
Posts: 2815
Joined: Sun May 27, 2007 5:37 am

Re: 35 second delay after GRUB

#17 Post by asqwerth » Thu May 10, 2018 6:55 am

I assume you are not using systemd as init?
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

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

Re: 35 second delay after GRUB

#18 Post by djmclaws » Thu May 10, 2018 7:10 am

asqwerth wrote:I assume you are not using systemd as init?
Correct

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

Re: 35 second delay after GRUB

#19 Post by djmclaws » Thu May 10, 2018 7:33 am

dolphin_oracle wrote:sorry, that update-initramfs line should have been as root or with "sudo". my fault.

if you try stoh's post above, you will need to run

Code: Select all

sudo update-initramfs -u
before it will take effect.
danny@danny:~
$ sudo update-initramfs -u
[sudo] password for danny:
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=7e390c86-0b3b-4089-9785-818067a184f0)
I: Set the RESUME variable to override this.
danny@danny:~

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

Re: 35 second delay after GRUB

#20 Post by djmclaws » Thu May 10, 2018 7:41 am

dolphin_oracle wrote:sorry, that update-initramfs line should have been as root or with "sudo". my fault.

if you try stoh's post above, you will need to run

Code: Select all

sudo update-initramfs -u
before it will take effect.
Success !!

Thank you all so much. I will mark this as solved.

:happy:

Post Reply

Return to “MX Help”