You are not logged in.
Hi, I left my computer turned off for 3 days and now it doesn't boot anymore… I have arch installed on a luks-encrypted partition (with lvm on luks) so usually the first things that appears at startup is the prompt asking for luks password, but now I get:
>>Checking Media Presence…
>>No Media Present…and then it automatically loads the BIOS screen.
What puzzles me is that I did not notice anything unusual during the last successful boot and did not perform any update. (The only problem I had recently was the clock randomly taking wrong values after resume/restart in the last months… I'm mentioning it because also the BIOS time seemed to be wrong, but not sure whether it can have any impact or not)
As it seems to be a problem with the boot image, I successfully chrooted and tried to update the mkinitcpio.conf (I noticed there was a .pacnew file that I had not seen before), ran a full system update including linux and linux-firmware. The problem is still here… Any idea where it can come from? Should I try to re-install grub even if I didn't change anything related to it recently ?
I have a boot partition and a luks-encrypted one with 3 lvm partition (root, home, swap), here is the result of `lsblk`:
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0 squashfs 4.0
sda iso9660 Joliet Extension ARCH_202412 2024-12-01-05-48-32-00
├─sda1 iso9660 Joliet Extension ARCH_202412 2024-12-01-05-48-32-00
└─sda2 vfat FAT32 ARCHISO_EFI 674B-F8B0
nvme0n1
├─nvme0n1p1 vfat FAT32 64D1-4269 292.1M 43% /boot
└─nvme0n1p2 crypto_LUKS 2 55ae1cc5-3db5-4e4a-9c93-1497f554d268
└─cryptlvm LVM2_member LVM2 001 PnSa0s-wqWd-npbj-bdyd-pStz-bpkF-1ze6qe
├─GroupOfLinuxVolumes-swap swap 1 35b2b511-795b-4c5f-8c2c-3c700681ab4d
├─GroupOfLinuxVolumes-root ext4 1.0 7be8c968-be1f-457d-90d1-457acb241f06 5.5G 89% /
└─GroupOfLinuxVolumes-home ext4 1.0 f586f59a-b14c-4193-80cf-dc11844e84a8 800.7G 48% /homeHere is the mkinitcpio
MODULES=(ext4)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt lvm2 filesystems fsck)(before updating it because of the .pacnew file, I had for reference the following:)
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)Here is the /etc/default/grub
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="cryptdevice=UUID=55ae1cc5-3db5-4e4a-9c93-1497f554d268:cryptlvm root=/dev/GroupOfLinuxVolumes/root"
# 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-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"Last edited by zooky (2024-12-31 11:49:45)
Offline
I still don't know what happened exactly, but I was able to solve the problem by running again grub-install and grub-mkconfig. The grub entry was not listed in efibootmgr anymore for some reason.
Last edited by zooky (2024-12-31 11:52:53)
Offline