I am running on a live plasma iso because I cannot boot into plasma after a timeshift restore. The error message I get is here. Sorry about the poor quality photo.
I have run blkid and I cannot see this UUID and it is not part of the original fstab from before the restore. I do not have any new hardware so I don’t know where this UUID comes from.
I have an nvme ssd with efi boot, /, /home and two external usb drives as well as the pen drive with the live iso.
I use this pc to run my small business so I am desperate to get up and running again.
so chroot into your installation:
sudo manjaro-chroot -a
then post output from:
mhwd-kernel -li
cat /etc/fstab
blkid
cat /boot/grub/grub.cfg
Try mounting it (root partition) manually and fix /etc/fstab, if you say UUIDs are wrong.
mount /dev/sdXY new_root
exit
Maybe you need to mount everything else under new_root/ before exit, I forgot.
Thank you for your prompt reply. The outputs are:
[manjaro /]# mhwd-kernel -li
Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:
error: duplicated database entry 'libkipi'
* linux510
* linux515
* linux517
error: duplicated database entry 'libkipi'
* linux515-rt
* linux517-rt
===============================================
[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=7C47-E1C1 /boot/efi vfat umask=0077 0 2
UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe / ext4 defaults,noatime 0 1
UUID=2a7d8b4a-c3b7-4766-994b-8c1985a1663a /home ext4 defaults,noatime 0 2
UUID=b3369545-2e6b-4888-ab11-3488c95d8cc9 /external-4tb auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=8bc1a602-df98-408d-ad8e-7de53c330dd9 /external-2tb auto nosuid,nodev,nofail,x-gvfs-show 0 0
192.168.1.100:/nas-video /nas/movie-library nfs noauto,user,ro 0 0
192.168.1.100:/nas-music /nas/music-library nfs noauto,user,ro 0 0
===================================================================================
[manjaro /]# blkid
/dev/loop1: TYPE="squashfs"
/dev/nvme0n1p3: LABEL="home" UUID="2a7d8b4a-c3b7-4766-994b-8c1985a1663a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f1d5e085-3831-6a4c-b0dc-ba37942a2f59"
/dev/nvme0n1p1: UUID="b4d52814-453e-4da1-b8c9-da42b57d9aa3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="167d4e26-9b31-ca4b-80d7-6e38266aea24"
/dev/nvme0n1p4: UUID="7C47-E1C1" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="5c160e05-e17b-234a-bc73-e946d0f47f9e"
/dev/nvme0n1p2: UUID="8fb2f207-0e5f-4ea5-976f-027f5175d9ea" TYPE="swap" PARTUUID="36713db7-8648-0048-99b7-7079711f20e2"
/dev/sdb1: LABEL="WD2GB" UUID="8bc1a602-df98-408d-ad8e-7de53c330dd9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="16f2a91f-01"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sdc2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="242D-B1CC" BLOCK_SIZE="512" TYPE="vfat"
/dev/sdc1: BLOCK_SIZE="2048" UUID="2022-04-16-05-47-21-00" LABEL="MANJARO_KDEM_2126" TYPE="iso9660"
/dev/sda1: LABEL="WD-4TB" UUID="b3369545-2e6b-4888-ab11-3488c95d8cc9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b83028ee-00b2-4912-8b63-d14c596c0b91"
/dev/loop3: TYPE="squashfs"
===================================================================================
[manjaro /]# 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
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="Advanced options for Arch Linux>Arch Linux, with Linux linux"
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
}
set menu_color_normal=light-gray/black
set menu_color_highlight=green/black
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
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
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
insmod gfxmenu
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
insmod png
set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
export theme
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.17-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.17-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
menuentry 'Manjaro Linux (Kernel: 5.17.9-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.9-1-MANJARO x64-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.17-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.17-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 5.17.9-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.9-1-MANJARO x64-fallback-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.17-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/initramfs-5.17-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 5.17.1-rt17-3-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.1-rt17-3-MANJARO x64-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.17-rt-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.17-rt-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 5.17.1-rt17-3-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.17.1-rt17-3-MANJARO x64-fallback-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.17-rt-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/initramfs-5.17-rt-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 5.15.41-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.41-1-MANJARO x64-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.15-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 5.15.41-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.41-1-MANJARO x64-fallback-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.15-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/initramfs-5.15-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 5.15.40-rt43-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.40-rt43-1-MANJARO x64-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.15-rt-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.15-rt-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 5.15.40-rt43-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.40-rt43-1-MANJARO x64-fallback-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.15-rt-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/initramfs-5.15-rt-x86_64-fallback.img
}
menuentry 'Manjaro Linux (Kernel: 5.10.117-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.117-1-MANJARO x64-advanced-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.10-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img
}
menuentry 'Manjaro Linux (Kernel: 5.10.117-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.117-1-MANJARO x64-fallback-1168b8e8-ac11-4756-b66f-d7f02f7d0bfe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux /boot/vmlinuz-5.10-x86_64 root=UUID=1168b8e8-ac11-4756-b66f-d7f02f7d0bfe rw quiet apparmor=1 security=apparmor udev.log_priority=3
initrd /boot/initramfs-5.10-x86_64-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/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_fwupd ###
### END /etc/grub.d/35_fwupd ###
### 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+ ###
if [ "${grub_platform}" == "pc" ]; then
menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
search --fs-uuid --no-floppy --set=root 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe
linux16 /boot/memtest86+/memtest.bin
}
fi
### END /etc/grub.d/60_memtest86+ ###
So if this is /, fix fstab entry.
I changed the fstab for / to b4d52814-453e-4da1-b8c9-da42b57d9aa3 on the nvme, but on a reboot it still looks for UUID 1168b8e8-ac11-4756-b66f-d7f02f7d0bfe and won’t boot. Root dir with the fstab is at the 48.8 nvme (see this screenshot . I am guessing the / under devices is the live usb. The fstab on that dir is
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mapper/root-image / auto defaults 0 0
post again output from:
cat /etc/fstab
blkid
Output is:
Live USB
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mapper/root-image / auto defaults 0 0
--------------------------------
sudo blkid
/dev/loop1: TYPE="squashfs"
/dev/nvme0n1p3: LABEL="home" UUID="2a7d8b4a-c3b7-4766-994b-8c1985a1663a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="f1d5e085-3831-6a4c-b0dc-ba37942a2f59"
/dev/nvme0n1p1: UUID="b4d52814-453e-4da1-b8c9-da42b57d9aa3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="167d4e26-9b31-ca4b-80d7-6e38266aea24"
/dev/nvme0n1p4: UUID="7C47-E1C1" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="5c160e05-e17b-234a-bc73-e946d0f47f9e"
/dev/nvme0n1p2: UUID="8fb2f207-0e5f-4ea5-976f-027f5175d9ea" TYPE="swap" PARTUUID="36713db7-8648-0048-99b7-7079711f20e2"
/dev/sdb1: LABEL="WD2GB" UUID="8bc1a602-df98-408d-ad8e-7de53c330dd9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="16f2a91f-01"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/sdc2: SEC_TYPE="msdos" LABEL_FATBOOT="MISO_EFI" LABEL="MISO_EFI" UUID="242D-B1CC" BLOCK_SIZE="512" TYPE="vfat"
/dev/sdc1: BLOCK_SIZE="2048" UUID="2022-04-16-05-47-21-00" LABEL="MANJARO_KDEM_2126" TYPE="iso9660"
/dev/sda1: LABEL="WD-4TB" UUID="b3369545-2e6b-4888-ab11-3488c95d8cc9" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b83028ee-00b2-4912-8b63-d14c596c0b91"
/dev/loop3: TYPE="squashfs"
--------------------------------------------------------------------
root on NVME
run/me/m/b/etc cat 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=7C47-E1C1 /boot/efi vfat umask=0077 0 2
UUID=b4d52814-453e-4da1-b8c9-da42b57d9aa3 / ext4 defaults,noatime 0 1
UUID=2a7d8b4a-c3b7-4766-994b-8c1985a1663a /home ext4 defaults,noatime 0 2
UUID=b3369545-2e6b-4888-ab11-3488c95d8cc9 /external-4tb auto nosuid,nodev,nofail,x-gvfs-show 0 0
UUID=8bc1a602-df98-408d-ad8e-7de53c330dd9 /external-2tb auto nosuid,nodev,nofail,x-gvfs-show 0 0
192.168.1.100:/nas-video /nas/movie-library nfs noauto,user,ro 0 0
192.168.1.100:/nas-music /nas/music-library nfs noauto,user,ro 0 0
so it looks like the fstab on the installation is the same as the blkid… so run these commands still in chroot:
update-grub
mkinitcpio -P
exit
systemctl reboot
1 Like
Thanks everyone so much.
I am up and running although I just got a warning that my root dir is full. Can anyone suggest a solution or should I open a new topic?
I would also be grateful if brahma or anyone has the time to say what went wrong with the timeshift restore that resulted in the boot problem and a different UUID for the boot partition.
Simple:
You created a snapshot.
The UUID of the root partition has changed. (new installation or modifying the partition)
Now you try to restore it, but the UUID has changed.
Therefore grub search for the old UUID and fstab points aswell to the old UUID.
A snapshot is not a backup. Timeshift is more like the “Windows System Recovery” than a real backup solution.
For personal data, it would be better using vorta
with borg
as backend or maybe deja-dup
. Both are easy to use.
1 Like
clear your logs:
sudo journalctl --rotate
sudo journalctl -m --vacuum-time=1s
clear your cache:
sudo pacman -Scc
clear your timeshift backups… and move your files/docs etc to a different partition
system
Closed
9 June 2022 09:56
15
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.