You are not logged in.
hey guys I'm experiencing a new problem that started after a computer reboot. Now when I boot I get the error ' Failed to start remount root and kernal filesystems' after which I'm dropped into the emergency shell. From what I can gather the UUID of the logical volume lv_root is gone and now that volume is identified as 'type=jmicron_raid_member'. I can get the laptop to boot my mounting the root lvm manually with 'mount -t ext4 /dev/volgroup0/lv_root /new_root'
my laptop uses a 1TB ssd that I have broken into 3 partitions. nvme0n1p1 is EFI, nvme0n1p2 is for Boot, and nvme0n1p3 , which is encryted, contains volgroup0 that contains two logical volumes lv_root and lv_home.
Here are the partitions showing the lvm 'lv_root' without a UUID.
[adam@singularity ~]$ lsblk -o +uuid
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT UUID
nvme0n1 259:0 0 953.9G 0 disk
|-nvme0n1p1 259:1 0 500M 0 part D03E-52D6
|-nvme0n1p2 259:2 0 500M 0 part /boot ade6c94f-f391-4247-80af-0f3a49fb7cae
`-nvme0n1p3 259:3 0 952.9G 0 part fbaf39b1-4814-49fd-9956-a1590e9c462f
`-volgroup0 254:0 0 952.9G 0 crypt PJGKk8-Dkg7-5xc7-AkS3-4NAs-YZ6m-eX3QG8
|-volgroup0-lv_root 254:1 0 30G 0 lvm /
`-volgroup0-lv_home 254:2 0 922.9G 0 lvm /home 44526657-5638-44b9-806d-ebe2e86d237bHere's the lvdisplay of the lv_root
[adam@singularity ~]$ sudo lvdisplay volgroup0
--- Logical volume ---
LV Path /dev/volgroup0/lv_root
LV Name lv_root
VG Name volgroup0
LV UUID Vf2tu5-ihK8-YBUw-MK92-d4uY-UZpo-sTvmrZ
LV Write Access read/write
LV Creation host, time archiso, 2021-03-13 16:40:13 -0500
LV Status available
# open 1
LV Size 30.00 GiB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Path /dev/volgroup0/lv_home
LV Name lv_home
VG Name volgroup0
LV UUID zgY3fB-8H63-JGoq-TsGU-zHe8-6gjH-rin7sr
LV Write Access read/write
LV Creation host, time archiso, 2021-03-13 16:41:03 -0500
LV Status available
# open 1
LV Size <922.88 GiB
Current LE 236256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2The blkid of lv_root
$ blkid /dev/volgroup0/lv_root
/dev/volgroup0/lv_root: TYPE="jmicron_raid_member"Fstab
cat /etc/fstab
# /dev/mapper/volgroup0-lv_root
UUID=bbd72e86-b76c-4be8-9b4f-8729d3b04eb6 / ext4 rw,relatime 0 1
# /dev/nvme0n1p2
UUID=ade6c94f-f391-4247-80af-0f3a49fb7cae /boot ext4 rw,relatime 0 2
# /dev/mapper/volgroup0-lv_home
UUID=44526657-5638-44b9-806d-ebe2e86d237b /home ext4 rw,relatime 0 2
/swapfile none swap sw 0 0mkiitcpio Hooks
$ cat /etc/mkinitcpio.conf
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck)Grub
cat /etc/default/grub
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards 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 lvm"
# 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
# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=yand Boot grub
$ cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: Permission denied
[adam@singularity ~]$ sudo cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
insmod lvm
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod lvm
insmod ext2
set root='lvmid/om4CqU-o1tg-E27R-CWoA-Zqgu-KTfc-fz2sv2/Vf2tu5-ihK8-YBUw-MK92-d4uY-UZpo-sTvmrZ'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/om4CqU-o1tg-E27R-CWoA-Zqgu-KTfc-fz2sv2/Vf2tu5-ihK8-YBUw-MK92-d4uY-UZpo-sTvmrZ' bbd72e86-b76c-4be8-9b4f-8729d3b04eb6
else
search --no-floppy --fs-uuid --set=root bbd72e86-b76c-4be8-9b4f-8729d3b04eb6
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bbd72e86-b76c-4be8-9b4f-8729d3b04eb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
else
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-bbd72e86-b76c-4be8-9b4f-8729d3b04eb6' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-bbd72e86-b76c-4be8-9b4f-8729d3b04eb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
else
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-bbd72e86-b76c-4be8-9b4f-8729d3b04eb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
else
search --no-floppy --fs-uuid --set=root ade6c94f-f391-4247-80af-0f3a49fb7cae
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw cryptdevice=/dev/nvme0n1p3:volgroup0:allow-discards loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###I'm at a loss and not sure how to continue from here. I'd really appreciate some guidance. Thanks.
Mod edit: replaced oversized images with URLs. Please read the Code of Conduct and adhere to the image posting guidelines. -- WorMzy
edit - fixed links.
Last edited by trav87 (2021-05-21 16:16:02)
Offline
Do you have RAID controller on motherboard? If yes, turn it off to test if it change something.
Offline