Startup fail: Error resume no device specified for hibernation

Startup fails immediately and the first and only message I get is "Error: resume: No device specified for hibernation". Other cases in the forums mentioning this error cite problems with hibernation, not startup. In my case, Manjaro is completely failing to startup: no grub, no command prompt, just a dead screen with this error message.

Background info: I'm using a Surface Pro and dual-booting Manjaro and Windows 10. Manjaro was working great for a few months after dual-booting ( was using both systems), but one day got this message (seemingly) out of the blue. When I get this message, I can't type anything on screen and the message stays on the screen for as long as I leave it before restarting or shutting down. I've gotten the same result booting from different kernels (5.6.3-2, and 5.6.31-1 fallback initrafs).

This looks like a total OS failure and I'm worried that I'm going to have to reinstall the whole OS from scratch (I would be reeeeeally bumbed since I spent a lot of time customizing things). Would appreciate any ideas if there's a way to get back into my existing Manjaro.

If the /etc/mkinitcpio.conf has the resume in the HOOKS line, but /etc/default/grub has no UUID entry for the resume device, then you will get that Error.

Boot in runlevel 3 aka press e in Brub Boot Menu, replace quiet with 3 in the linux/kernel line and then press F10 to save and continue booting.
Remove the resume from the HOOKS line, then run this command:
sudo mkinitcpio -P
sudo update-grub

Thanks bogdan. I'm following these steps but seem to be ending up in the same place. Here's the steps I'm taking:

  1. Press "e" on grub boot screen, which takes me to "setparams 'Manjaro Linux'"
  2. In the Linux line, change "quiet" to "3" so that the line ends in "loglevel=3 3"
  3. Press f10
  4. Enter login name and password, which opens a command prompt, "[jmj@john ~]$"
    4.5. there is no line with "resume"that I can see here
  5. Enter"sudo mkinitcpio -P" and enter pass word. Runs and says "image generation successful"
  6. Enter "sudo update-grub". Runs, finds what looks like all my disks. Says "done".
  7. Type "reboot"
  8. After rebooting, when presented with the list of operating systems, select "Manjaro Linux"
  9. Receive same error: "error: resume: no device specified for hibernation"

Make sure Windows has not been left in a hibernation state because this could affect accessibility of your disks.


If not Windows is the reason for your issues then I would suggest to provide us with some more info of your system.

Boot into a live ISO, then run in a terminal

manjaro-chroot -a

Select Manjaro system, if only 0 is shown, enter 1.

Then enter in a terminal:

inxi -Fxxxza --no-host
lsblk -f
fdisk -l
cat /etc/fstab
cat /etc/default/grub
cat /etc/mkinitcpio.conf

Copy the text output here and use </> button to format it, nicely.

Afterwards, exit chroot.

Quite a long output. Here you go:

==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p7]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# lsblk -f
NAME        FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0                                              
loop1                                              
loop2                                              
loop3                                              
sda                                                
`-sda1                                             
sdb                                                
|-sdb1                                             
`-sdb2                                             
nvme0n1                                            
|-nvme0n1p1                                        
|-nvme0n1p2                                        
|-nvme0n1p3                                        
|-nvme0n1p4                                        
|-nvme0n1p5                                        
|-nvme0n1p6                          510.7M     0% /boot/efi
|-nvme0n1p7                           14.7G    57% /
`-nvme0n1p8                                        
[manjaro /]# fdisk -l
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG KUS030202M-B000                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5B65DBD7-2379-4A24-BEF8-3704C28EFBEF

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    534527    532480   260M EFI System
/dev/nvme0n1p2    534528    796671    262144   128M Microsoft reserved
/dev/nvme0n1p3    796672 242533304 241736633 115.3G Microsoft basic data
/dev/nvme0n1p4 242534400 410879999 168345600  80.3G Microsoft basic data
/dev/nvme0n1p5 498212864 500117503   1904640   930M Windows recovery environm
/dev/nvme0n1p6 410880000 411928575   1048576   512M Microsoft basic data
/dev/nvme0n1p7 411928576 494116863  82188288  39.2G Linux filesystem
/dev/nvme0n1p8 494116864 498212863   4096000     2G Linux swap

Partition table entries are not in disk order.


Disk /dev/loop0: 20.86 MiB, 21852160 bytes, 42680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 565.6 MiB, 593055744 bytes, 1158312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1.71 GiB, 1813102592 bytes, 3541216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 596.6 MiB, 625012736 bytes, 1220728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 59.63 GiB, 64016220160 bytes, 125031680 sectors
Disk model: Cruzer          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 6093039 6092976  2.9G  0 Empty
/dev/sdb2       6093040 6101231    8192    4M ef EFI (FAT-12/16/32)


Disk /dev/sda: 59.49 GiB, 63864569856 bytes, 124735488 sectors
Disk model: SD/MMC          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7014721C-5FA0-411F-A1F5-083A82F5282C

Device     Start       End   Sectors  Size Type
/dev/sda1   2048 124733439 124731392 59.5G Microsoft basic data
[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=1150-F963                            /boot/efi      vfat    umask=0077 0 2
UUID=49ec10d6-8135-44c6-b6b1-d03af94e4cc9 /              ext4    defaults,noatime 0 1
UUID=b602baa8-fdad-47f6-90df-45643f6701b7 swap           swap    defaults,noatime 0 2
[manjaro /]# cat etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
#GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires to
# set 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

GRUB_THEME=/boot/grub/themes/poly-light/theme.txt
[manjaro /]# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

Have you truncated the output of this command? The UUID entries are missing. Quite important info to verify your system configuration...

By the way acc. to lsblk output nvme0n1p6 is your active EFI partition but fdisk says type of this partition is "Microsoft basic data". This does not fit. Where has your grub been installed originally?

Sorry, I may have typed it in wrong.

[manjaro@manjaro ~]$ manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p7]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# inxi -Fxxxza --no-host
12System:    12Kernel 5.6.15-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 10.1.0 
           12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC driver=free 
           nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 misobasedir=manjaro 
           misolabel=MANJARO_KDE_2003 quiet systemd.show_status=1 apparmor=1 security=apparmor 
           12Console N/A 12wm kwin_x11 12dm N/A 12Distro Manjaro Linux 
12Machine:   12Type Laptop 12System Microsoft 12product Surface Pro 
           12v 124000000000000000000000D:0B:09F:5C:09P:38S:01E:0 12serial <filter> 12Chassis 12type 9 
           12serial <filter> 
           12Mobo Microsoft 12model Surface Pro 12serial <filter> 12UEFI Microsoft 12v 235.3192.768 
           12date 03.24.2020 
12CPU:       12Topology Dual Core 12model Intel Core i5-7300U 12bits 64 12type MT MCP 12arch Amber Lake 
           12family 6 12model-id 8E (142) 12stepping 9 12microcode CA 12L2 cache 3072 KiB 
           12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 12bogomips 21607 
           12Speed 700 MHz 12min/max 400/3500 MHz 12Core speeds (MHz) 121 700 122 700 123 701 124 700 
           12Vulnerabilities 12Type itlb_multihit 12status KVM: Split huge pages 
           12Type l1tf 12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           12Type mds 12mitigation Clear CPU buffers; SMT vulnerable 
           12Type meltdown 12mitigation PTI 
           12Type spec_store_bypass 
           12mitigation Speculative Store Bypass disabled via prctl and seccomp 
           12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization 
           12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           12Type tsx_async_abort 12mitigation Clear CPU buffers; SMT vulnerable 
12Graphics:  12Device-1 Intel HD Graphics 620 12vendor Microsoft 12driver i915 12v kernel 12bus ID 00:02.0 
           12chip ID 8086:5916 
           12Display 12server X.org 1.20.8 12driver none 12unloaded vesa 12compositor kwin_x11 12tty N/A 
           12Message Advanced graphics data unavailable for root. 
12Audio:     12Device-1 Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit 
           12driver ipu3-imgu 12bus ID 00:05.0 12chip ID 8086:1919 
           12Device-2 Intel 12driver ipu3-cio2 12bus ID 00:14.3 12chip ID 8086:9d32 
           12Device-3 Intel Sunrise Point-LP HD Audio 12driver snd_hda_intel 12v kernel 12bus ID 00:1f.3 
           12chip ID 8086:9d71 
           12Sound Server ALSA 12v k5.6.15-1-MANJARO 
12Network:   12Device-1 Marvell 88W8897 [AVASTAR] 802.11ac Wireless 12driver mwifiex_pcie 12v 1.0 
           12port 3000 12bus ID 01:00.0 12chip ID 11ab:2b38 
           12IF wlp1s0 12state up 12mac <filter> 
           12Device-2 Marvell Bluetooth and Wireless LAN Composite Device 12type USB 12driver btusb 
           12bus ID 1-5:6 12chip ID 1286:204c 12serial <filter> 
12Drives:    12Local Storage 12total 357.57 GiB 12used 21.87 GiB (6.1%) 
           12ID-1 /dev/nvme0n1 12vendor Samsung 12model KUS030202M-B000 12size 238.47 GiB 12block size 
           12physical 512 B 12logical 512 B 12speed 15.8 Gb/s 12lanes 2 12serial <filter> 12rev DXY8AM1Q 
           12ID-2 /dev/sda 12type USB 12vendor Generic 12model SD MMC 12size 59.48 GiB 12block size 
           12physical 512 B 12logical 512 B 12serial <filter> 12rev 1.00 
           12ID-3 /dev/sdb 12type USB 12vendor SanDisk 12model Cruzer 12size 59.62 GiB 12block size 
           12physical 512 B 12logical 512 B 12serial <filter> 12rev 1.26 
12Partition: 12ID-1 / 12raw size 39.19 GiB 12size 38.32 GiB (97.79%) 12used 21.71 GiB (56.7%) 12fs ext4 
           12block size 4096 B 12dev /dev/nvme0n1p7 
12Sensors:   12System Temperatures 12cpu 35.5 C 12mobo N/A 
           12Fan Speeds (RPM) N/A 
12Info:      12Processes 196 12Uptime 33m 12Memory 7.70 GiB 12used 1.37 GiB (17.8%) 12Init systemd 12v 244 
           12Compilers 12gcc 9.3.0 12clang 9.0.1 12Client Unknown Client: systemd 12inxi 3.0.37 
[manjaro /]# lsblk -f
NAME        FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0                                              
loop1                                              
loop2                                              
loop3                                              
sda                                                
`-sda1                                             
sdb                                                
|-sdb1                                             
`-sdb2                                             
nvme0n1                                            
|-nvme0n1p1                                        
|-nvme0n1p2                                        
|-nvme0n1p3                                        
|-nvme0n1p4                                        
|-nvme0n1p5                                        
|-nvme0n1p6                          510.7M     0% /boot/efi
|-nvme0n1p7                           14.7G    57% /
`-nvme0n1p8                                        
[manjaro /]# fdisk -l
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG KUS030202M-B000                 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5B65DBD7-2379-4A24-BEF8-3704C28EFBEF

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    534527    532480   260M EFI System
/dev/nvme0n1p2    534528    796671    262144   128M Microsoft reserved
/dev/nvme0n1p3    796672 242533304 241736633 115.3G Microsoft basic data
/dev/nvme0n1p4 242534400 410879999 168345600  80.3G Microsoft basic data
/dev/nvme0n1p5 498212864 500117503   1904640   930M Windows recovery environment
/dev/nvme0n1p6 410880000 411928575   1048576   512M Microsoft basic data
/dev/nvme0n1p7 411928576 494116863  82188288  39.2G Linux filesystem
/dev/nvme0n1p8 494116864 498212863   4096000     2G Linux swap

Partition table entries are not in disk order.


Disk /dev/loop0: 20.86 MiB, 21852160 bytes, 42680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 565.6 MiB, 593055744 bytes, 1158312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 1.71 GiB, 1813102592 bytes, 3541216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 596.6 MiB, 625012736 bytes, 1220728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 59.63 GiB, 64016220160 bytes, 125031680 sectors
Disk model: Cruzer          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 6093039 6092976  2.9G  0 Empty
/dev/sdb2       6093040 6101231    8192    4M ef EFI (FAT-12/16/32)


Disk /dev/sda: 59.49 GiB, 63864569856 bytes, 124735488 sectors
Disk model: SD/MMC          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7014721C-5FA0-411F-A1F5-083A82F5282C

Device     Start       End   Sectors  Size Type
/dev/sda1   2048 124733439 124731392 59.5G Microsoft basic data
[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=1150-F963                            /boot/efi      vfat    umask=0077 0 2
UUID=49ec10d6-8135-44c6-b6b1-d03af94e4cc9 /              ext4    defaults,noatime 0 1
UUID=b602baa8-fdad-47f6-90df-45643f6701b7 swap           swap    defaults,noatime 0 2
[manjaro /]# cat /etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
#GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires to
# set 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

GRUB_THEME=/boot/grub/themes/poly-light/theme.txt
[manjaro /]# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

For some reasons lsblk -f is not providing the UUID's. :thinking:

Please, try again and try

sudo lsblk -f
sudo blkid

I need to know the UUID to verify your fstab entries.

It seems you have not updated for a while? Did you install something after your last update? A rolling release distro like Manjaro should be updated regulary to avoid issues.

Sure:

[manjaro@manjaro ~]$ manjaro-chroot -a
==> Detected systems:
 --> 0) ManjaroLinux
==> Select system to mount [0-0] : 
1
==> Mounting (ManjaroLinux) [/dev/nvme0n1p7]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro /]# inxi -Fxxxza --no-host
12System:    12Kernel 5.6.15-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 10.1.0 
           12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC driver=free 
           nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 misobasedir=manjaro 
           misolabel=MANJARO_KDE_2003 quiet systemd.show_status=1 apparmor=1 security=apparmor 
           12Console N/A 12wm kwin_x11 12dm N/A 12Distro Manjaro Linux 
12Machine:   12Type Laptop 12System Microsoft 12product Surface Pro 
           12v 124000000000000000000000D:0B:09F:5C:09P:38S:01E:0 12serial <filter> 12Chassis 12type 9 
           12serial <filter> 
           12Mobo Microsoft 12model Surface Pro 12serial <filter> 12UEFI Microsoft 12v 235.3192.768 
           12date 03.24.2020 
12CPU:       12Topology Dual Core 12model Intel Core i5-7300U 12bits 64 12type MT MCP 12arch Amber Lake 
           12family 6 12model-id 8E (142) 12stepping 9 12microcode CA 12L2 cache 3072 KiB 
           12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 12bogomips 21607 
           12Speed 900 MHz 12min/max 400/3500 MHz 12Core speeds (MHz) 121 900 122 871 123 892 124 889 
           12Vulnerabilities 12Type itlb_multihit 12status KVM: Split huge pages 
           12Type l1tf 12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           12Type mds 12mitigation Clear CPU buffers; SMT vulnerable 
           12Type meltdown 12mitigation PTI 
           12Type spec_store_bypass 
           12mitigation Speculative Store Bypass disabled via prctl and seccomp 
           12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization 
           12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           12Type tsx_async_abort 12mitigation Clear CPU buffers; SMT vulnerable 
12Graphics:  12Device-1 Intel HD Graphics 620 12vendor Microsoft 12driver i915 12v kernel 12bus ID 00:02.0 
           12chip ID 8086:5916 
           12Display 12server X.org 1.20.8 12driver none 12unloaded vesa 12compositor kwin_x11 12tty N/A 
           12Message Advanced graphics data unavailable for root. 
12Audio:     12Device-1 Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit 
           12driver ipu3-imgu 12bus ID 00:05.0 12chip ID 8086:1919 
           12Device-2 Intel 12driver ipu3-cio2 12bus ID 00:14.3 12chip ID 8086:9d32 
           12Device-3 Intel Sunrise Point-LP HD Audio 12driver snd_hda_intel 12v kernel 12bus ID 00:1f.3 
           12chip ID 8086:9d71 
           12Sound Server ALSA 12v k5.6.15-1-MANJARO 
12Network:   12Device-1 Marvell 88W8897 [AVASTAR] 802.11ac Wireless 12driver mwifiex_pcie 12v 1.0 
           12port 3000 12bus ID 01:00.0 12chip ID 11ab:2b38 
           12IF wlp1s0 12state up 12mac <filter> 
           12Device-2 Marvell Bluetooth and Wireless LAN Composite Device 12type USB 12driver btusb 
           12bus ID 1-5:6 12chip ID 1286:204c 12serial <filter> 
12Drives:    12Local Storage 12total 357.57 GiB 12used 21.95 GiB (6.1%) 
           12ID-1 /dev/nvme0n1 12vendor Samsung 12model KUS030202M-B000 12size 238.47 GiB 12block size 
           12physical 512 B 12logical 512 B 12speed 15.8 Gb/s 12lanes 2 12serial <filter> 12rev DXY8AM1Q 
           12ID-2 /dev/sda 12type USB 12vendor Generic 12model SD MMC 12size 59.48 GiB 12block size 
           12physical 512 B 12logical 512 B 12serial <filter> 12rev 1.00 
           12ID-3 /dev/sdb 12type USB 12vendor SanDisk 12model Cruzer 12size 59.62 GiB 12block size 
           12physical 512 B 12logical 512 B 12serial <filter> 12rev 1.26 
12Partition: 12ID-1 / 12raw size 39.19 GiB 12size 38.32 GiB (97.79%) 12used 21.71 GiB (56.7%) 12fs ext4 
           12block size 4096 B 12dev /dev/nvme0n1p7 
12Sensors:   12System Temperatures 12cpu 37.5 C 12mobo N/A 
           12Fan Speeds (RPM) N/A 
12Info:      12Processes 201 12Uptime 57m 12Memory 7.70 GiB 12used 2.07 GiB (26.8%) 12Init systemd 12v 244 
           12Compilers 12gcc 9.3.0 12clang 9.0.1 12Client Unknown Client: systemd 12inxi 3.0.37 
[manjaro /]# sudo lsblk -f
NAME        FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0                                              
loop1                                              
loop2                                              
loop3                                              
sda                                                
`-sda1                                             
sdb                                                
|-sdb1                                             
`-sdb2                                             
nvme0n1                                            
|-nvme0n1p1                                        
|-nvme0n1p2                                        
|-nvme0n1p3                                        
|-nvme0n1p4                                        
|-nvme0n1p5                                        
|-nvme0n1p6                          510.7M     0% /boot/efi
|-nvme0n1p7                           14.7G    57% /
`-nvme0n1p8                                        
[manjaro /]# sudo blkid
/dev/nvme0n1p1: LABEL="SYSTEM" UUID="480F-926B" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="5ef26fdb-baf5-49f4-aacb-a1236231d410"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="aeebf858-bd81-4562-bc4e-47678494614a"
/dev/nvme0n1p3: LABEL="WINDOWS" BLOCK_SIZE="512" UUID="4244C64844C63E83" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5b87782a-a370-4aad-a402-375412206207"
/dev/nvme0n1p4: LABEL="STORAGE" BLOCK_SIZE="512" UUID="0CEF9FD972753E7B" TYPE="ntfs" PARTUUID="4cbb9a88-eef0-5648-aa36-363883585344"
/dev/nvme0n1p5: LABEL="Windows RE tools" BLOCK_SIZE="512" UUID="86D0C868D0C85FD3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="17df5076-8af9-43bb-9ecf-115d88a7b7ee"
/dev/nvme0n1p6: LABEL="BOOT" UUID="1150-F963" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="65c39c79-5445-1d45-8b2c-e1a9a686fc9c"
/dev/nvme0n1p7: UUID="49ec10d6-8135-44c6-b6b1-d03af94e4cc9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="53b01413-3dd0-594d-b8ac-1b0158edbd72"
/dev/nvme0n1p8: UUID="b602baa8-fdad-47f6-90df-45643f6701b7" TYPE="swap" PARTUUID="177d133e-f7c0-4c40-a10f-418f28bae666"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sdb1: BLOCK_SIZE="2048" UUID="2020-06-06-08-14-33-00" LABEL="MANJARO_KDE_2003" TYPE="iso9660"
/dev/sdb2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="F327-8F27" BLOCK_SIZE="512" TYPE="vfat"
/dev/sda1: LABEL="CARD" BLOCK_SIZE="512" UUID="8E54635E546347D3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aa869931-4f7f-4e0c-8b6d-af6b74d5d8e6"
[manjaro /]# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=1150-F963                            /boot/efi      vfat    umask=0077 0 2
UUID=49ec10d6-8135-44c6-b6b1-d03af94e4cc9 /              ext4    defaults,noatime 0 1
UUID=b602baa8-fdad-47f6-90df-45643f6701b7 swap           swap    defaults,noatime 0 2
[manjaro /]# 
[manjaro /]# 
[manjaro /]# cat /etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
#GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires to
# set 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

GRUB_THEME=/boot/grub/themes/poly-light/theme.txt
[manjaro /]# cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=""

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=""

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap resume filesystems"

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

I didn't update in a while because the issue actually cane up a while ago. For the last few months I've been putting off finding a solution and just using my Windows. Now is the time to try to fix this.

Then chroot again using manjaro-chroot -a as above and first try to update using:

pacman -Sc
pacman-mirrors -f
pacman -Syyu

Afterwards exit chroot, live ISO and try to reboot.

If you still have issues in booting I would try to reinstall grub:

https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader

Updating did not work very well at all. My os screen now only shows Manjaro and no windows. And Manjaro still send me to the same error screen.

I'll try restarting the grub as you suggest.

:thinking:

1 Like

Marte, you are correct that a HOOKS line shows up in the steps suggested by Willie. That line did not show up in the steps from bogdan. If you have an idea why or what to do about it, please let us know.

If you don't want to use hibernation anymore.

1 Like

I've followed the steps to restore the bootloader in the manager Manjaro forum linked above. I'm still getting the same error message and only presented with Manjaro. So as of now I just have a broken Manjaro os and no windows is: this is quickly becoming a worst case scenario.

If you want to use hibernation, then in /etc/default/grub, change

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"

to

GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=b602baa8-fdad-47f6-90df-45643f6701b7 loglevel=3 quiet"

and update the grub afterwards:

sudo update-grub

1 Like

So after updating Manjaro and restoring grub (as suggested by Wollie), my grub looks different and again doesn't seem to have any HOOKS line. Copied below:

[manjaro /]# cat /etc/default/grub
# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
#GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires to
# set 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

GRUB_THEME=/boot/grub/themes/poly-light/theme.txt

Marte, to your point, i don't really care about having hibernation. I thought I had it turned off in Manjaro actually and i would prefer not to have it turned on.

Good news that after updating grub again from the startup command line, Windows is appearing in my boot window again.

The HOOKS line

is in /etc/mkinitcpio.conf.

1 Like

Forum kindly sponsored by