You are not logged in.
Hello everyone.
I've just executed a pacman -Syu and at the reboot i've got this error:
ERROR: Unable to find root device 'UUID=c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6'.
You are being dropped to a recovery shell
Basically i've two 3TB HDD with RAID1 and LVM on top: on the array is builded a volumegroup with inside 4 logicalvolume boot root storage and swap.
Actually i cant post my config file cause i'm chroot with arch usb install media and cant copy and paste..
I've tried to recreat initram image while chrooted with mkinitcpio -p linux
The command reports no error and everithing seems fine but at the reboot same error appear.
Any ideas?
Meanwhile i'll try to figure out how to copy/paste
Offline
You may want to investigate https://www.archlinux.org/packages/comm … wgetpaste/
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Well thanks for the tip.
Here's some config files..
/etc/mkinitcpio.conf :
# 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="dm_mod"
# 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 mdadm_udev autodetect modconf block lvm2 filesystems keyboard fsck"
# 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=""
/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
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 part_gpt gpt
insmod diskfilter mdraid1x lvm
insmod ext2
set root='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/Z2eotR-N0HN-nroI-3hUd-odMB-GzHy-4PrsnL'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/Z2eotR-N0HN-nroI-3hUd-odMB-GzHy-4PrsnL' c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6
else
search --no-floppy --fs-uuid --set=root c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
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-c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt gpt
insmod diskfilter mdraid1x lvm
insmod ext2
set root='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K' 1fffa9ae-ea36-4888-870e-47bd8fc16268
else
search --no-floppy --fs-uuid --set=root 1fffa9ae-ea36-4888-870e-47bd8fc16268
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt gpt
insmod diskfilter mdraid1x lvm
insmod ext2
set root='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K' 1fffa9ae-ea36-4888-870e-47bd8fc16268
else
search --no-floppy --fs-uuid --set=root 1fffa9ae-ea36-4888-870e-47bd8fc16268
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6 rw quiet
echo 'Loading initial ramdisk ...'
initrd /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-c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt gpt
insmod diskfilter mdraid1x lvm
insmod ext2
set root='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f/3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K' 1fffa9ae-ea36-4888-870e-47bd8fc16268
else
search --no-floppy --fs-uuid --set=root 1fffa9ae-ea36-4888-870e-47bd8fc16268
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6 rw 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 ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
lsblk :
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.7T 0 disk
|-sda1 8:1 0 992K 0 part
`-sda2 8:2 0 2.7T 0 part
`-md0 9:0 0 2.7T 0 raid1
|-server-boot 253:0 0 512M 0 lvm /boot
|-server-swap 253:1 0 4G 0 lvm
|-server-archroot 253:2 0 20G 0 lvm /
`-server-storage 253:3 0 2.7T 0 lvm
sdb 8:16 0 2.7T 0 disk
|-sdb1 8:17 0 992K 0 part
`-sdb2 8:18 0 2.7T 0 part
`-md0 9:0 0 2.7T 0 raid1
|-server-boot 253:0 0 512M 0 lvm /boot
|-server-swap 253:1 0 4G 0 lvm
|-server-archroot 253:2 0 20G 0 lvm /
`-server-storage 253:3 0 2.7T 0 lvm
blkid :
/dev/sda2: UUID="ac79aee9-87c6-3ec8-4132-564f7d7b5985" UUID_SUB="3e065aa4-968f-4b12-f366-b272752fb119" LABEL="archiso:0" TYPE="linux_raid_member" PARTLABEL="Linux filesystem" PARTUUID="fb6c186d-26cf-4b8a-a935-1ea6ace68078"
/dev/sdb2: UUID="ac79aee9-87c6-3ec8-4132-564f7d7b5985" UUID_SUB="38f754eb-12b5-335f-0f83-7813964997dd" LABEL="archiso:0" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="5bd89484-a8fe-48cb-aba7-0a42b4c51b86"
/dev/sdc1: LABEL="ARCH_201601" UUID="2E16-376A" TYPE="vfat" PARTUUID="483db5e4-01"
/dev/loop0: TYPE="squashfs"
/dev/md0: UUID="nvNK3V-adxn-gU3Q-HU9Y-AoZP-5qZy-VxghdV" TYPE="LVM2_member"
/dev/mapper/server-boot: UUID="1fffa9ae-ea36-4888-870e-47bd8fc16268" TYPE="ext4"
/dev/mapper/server-swap: UUID="a787eefb-692d-4d2a-9482-11196967ea62" TYPE="swap"
/dev/mapper/server-archroot: UUID="c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6" TYPE="ext4"
/dev/mapper/server-storage: UUID="ae082954-b90a-482a-b002-e53f6f75df5a" TYPE="ext4"
/dev/sda1: PARTUUID="c23e0707-54ed-4299-a797-4fd489976939"
/dev/sdb1: PARTUUID="f7d624a1-8331-4153-b29b-e007552cea2f
Offline
I'd like to help, but I am in over my head with RAID and LVM. I'll have to defer to others here.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Well thanks anyway, ill wait someone else suggestions
Offline
I have the same problem. Today I executed
pacman -Syu
and I cannot boot anymore. "mkinitcpio -p linux" didn't help too. I found in log that "linux" package was upgraded from 4.3.3-2 to 4.3.3-3 during the upgrade. So I chrooted from USB and downgraded the package using pacman -U but still the same.
Is there any progress?
Offline
I found a solution for my issue. The problem was the same as in this thread: https://bbs.archlinux.org/viewtopic.php … 9#p1537029
For some reason I had in /etc/lvm/lvm.conf:
use_lvmetad = 0
I don't remember whether I changed this manually, maybe I wanted to get rid of some error messages during installation. But after changing use_lvmetad to 1 and running "mkinitcpio -p linux" problem solved.
Offline
@jzvc, please mark this thread as solved.
Also, not an installation issue, moving to "Newbie Corner".
Offline
Hi @x33a, I cannot mark this thread as solved because I didn't start it. I had similar issue and I wrote how I solved it, hoping it can help. But still it doesn't have to be the solution that @lsas needs.
Offline
@jzvc, I am sorry for the misunderstanding. Thanks for posting your solution nevertheless.
Offline