Cannot boot due to shutdown during update '/boot/vmlinuz-6.1-x86_64' missing

EDIT, SOLVED
Hey all, thanks for investin your time and pushing forward on aiding me into this, by the end of the day I was able to chroot and re install all my linux6 515 and so on through USB Live :slight_smile:

I don’t know how I can share the backlog of my procedures here so that it can aid others in the future


ORIGINAL POST

Hey Manjaro community, :melting_face:

I thank any and all of you going through this in advance, I’ve been slowly but surely learning a thing or two of the system since the last 2 years, still there is so much to go, I’ll try my best conveying info here, this matter seems somewhat simple.

The Classic shutting down during update happened. :nerd_face: Being a tad more detailed and precise here, I left it updating with enabled overwrites and with the notebook screen/lid half-shut. It went into a block-screen which, hours later, I could not get out of. Leaving me (at my knowledge level) with the option of shutting it down or unplugging and leaving battery shortage to do it for me. :face_exhaling:
Now once powering on again I get the following:

error: file '/boot/vmlinuz-6.1-x86_64' not found.
error: you need to load kernel first.
Press any key to continue..._

Attempting to fix it through booting with a live USB and doing chroot I was returned with:

[manjaro@manjaro ~]$ manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> ERROR: No Linux partitions detected!

I’ve fixed this once about 3 months ago, but there was an extra spice at that time due to some new kernel issues. This time around I’ve gone through what seemed to be similar errors, but was unable to perform the fix.

Here is some Kernel info:

[manjaro@manjaro ~]$  mhwd-kernel -li
Currently running: 5.10.42-1-MANJARO (linux510)
The following kernels are installed in your system:
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
   * linux510
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)

And here some block storage info:

[manjaro@manjaro ~]$  lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME 
PATH      PTTYPE PARTTYPE                             FSTYPE PARTTYPENAME
/dev/loop0
                                                      squash 
/dev/loop1
                                                      squash 
/dev/loop2
                                                      squash 
/dev/loop3
                                                      squash 
/dev/sda  gpt                                                
/dev/sda1 gpt    ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 vfat   Microsoft basic data
/dev/sda2 gpt    0fc63daf-8483-4772-8e79-3d69d8477de4 btrfs  Linux filesystem
/dev/sda3 gpt    0fc63daf-8483-4772-8e79-3d69d8477de4 btrfs  Linux filesystem
/dev/sdb  dos                                         iso966 
/dev/sdb1 dos    0x0                                  iso966 Empty
/dev/sdb2 dos    0xef                                 vfat   EFI (FAT-12/16/32)
/dev/sr0              

I saw that with btrfs I would not be able to chroot, so I tried the following (for no avail):

[manjaro@manjaro ~]$ sudo mount -o subvol=@ /dev/sda1 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
[manjaro@manjaro ~]$ sudo mount -o subvol=@ /dev/sda2 /mnt
mount: /mnt: mount(2) system call failed: No such file or directory.

Down below, I’m adding some system info, maybe it is overkill/oversharing but I really don’t know at this point. I’m thinking that might aid on something?
One thing I’d point out is the mirrors, as I was introduced to Linux by a very dear friend that aids me here and there with the system (he is a seasoned Arch user), we ended up updating some mirrors once solving some other issues… bear that in mind. The huy is still a dear friend, I’m trying to do good for me and him on learning my stuff now :sweat_smile:

[manjaro@manjaro ~]$ inxi -zv8
System:
  Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC 
  misobasedir=manjaro misolabel=MANJARO_KDE_2107 quiet systemd.show_status=1 
  apparmor=1 security=apparmor driver=free nouveau.modeset=1 i915.modeset=1 
  radeon.modeset=1 
  Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Portable System: Dell product: Inspiron 5421 v: N/A serial: <filter> 
  Chassis: type: 8 serial: <filter> 
  Mobo: Dell model: 0VKD5N v: A13 serial: <filter> BIOS: Dell v: A13 
  date: 12/14/2015 
Battery:
  ID-1: BAT0 charge: 20.1 Wh (100.0%) condition: 20.1/48.8 Wh (41.1%) 
  volts: 12.4 min: 11.1 model: LGC-LGC3.0 DELL 49VTP27 type: Li-ion 
  serial: <filter> status: Full 
Memory:
  RAM: total: 15.54 GiB used: 3.51 GiB (22.6%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i5-3337U bits: 64 type: MT MCP 
  arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21 
  cache: L2: 3 MiB bogomips: 14373 
  Speed: 1464 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 1464 2: 1338 
  3: 1256 4: 1076 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept 
  erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida 
  lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae 
  pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts 
  rdrand rdtscp rep_good sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp 
  syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic 
  xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Vulnerable: No microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 
  Device-2: NVIDIA GK107M [GeForce GT 730M] vendor: Dell driver: nouveau 
  v: kernel bus-ID: 02:00.0 chip-ID: 10de:0fe1 class-ID: 0300 
  Device-3: Microdia Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus-ID: 1-1.6:4 chip-ID: 0c45:64af class-ID: 0e02 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: intel,nouveau unloaded: modesetting alternate: fbdev,nv,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: LVDS1 res: 1366x768 hz: 60 dpi: 112 size: 310x170mm (12.2x6.7") 
  diag: 354mm (13.9") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 21.1.2 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: no 
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Dell 
  driver: ath9k v: kernel port: e000 bus-ID: 06:00.0 chip-ID: 168c:0032 
  class-ID: 0280 
  IF: wlp6s0 state: down mac: <filter> 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell 
  driver: r8169 v: kernel port: d000 bus-ID: 09:00.0 chip-ID: 10ec:8136 
  class-ID: 0200 
  IF: enp9s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 897.98 GiB used: 43.78 GiB (4.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37960G 
  size: 894.25 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: Z1.3 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Blade 
  size: 3.73 GiB block-size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 2.01 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVD+-RW GU70N rev: A103 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: /run/media/manjaro/root raw-size: 59.12 GiB size: 59.12 GiB (100.00%) 
  used: 43.78 GiB (74.1%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 label: root 
  uuid: 05a873b0-9fc1-4079-ae96-245a9f907992 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 500 MiB fs: <superuser required> 
  label: efi uuid: 5929-9D45 
  ID-2: /dev/sda3 maj-min: 8:3 size: 834.65 GiB fs: btrfs label: home 
  uuid: 91684468-c9af-448c-85bf-6a8e4c5ab820 
  ID-3: /dev/sdb1 maj-min: 8:17 size: 2.74 GiB fs: <superuser required> 
  label: MANJARO_KDE_2107 uuid: 2021-06-14-15-33-09-00 
  ID-4: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: <superuser required> 
  label: MISO_EFI uuid: 0ACC-C46C 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 1-1.3:3 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Device-2: 1-1.6:4 info: Microdia Laptop_Integrated_Webcam_HD type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0c45:64af class-ID: 0e02 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 2-1.6:3 info: Elan Micro Touchscreen type: HID 
  driver: hid-multitouch,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 04f3:002a class-ID: 0300 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-1:2 info: SanDisk Cruzer Blade type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 200mA 
  chip-ID: 0781:5567 class-ID: 0806 serial: <filter> 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 52.0 C mobo: 37.0 C gpu: nouveau temp: 43.0 C 
  Fan Speeds (RPM): cpu: 2225 
Repos:
  Packages: pacman: 1218 lib: 324 flatpak: 0 
  Active pacman repo servers in: /etc/pacman.d/mirrorlist 
  1: https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
  2: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
  3: http://mirror.inode.at/manjaro/stable/$repo/$arch
  4: http://free.nchc.org.tw/manjaro/stable/$repo/$arch
  5: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
  6: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
  7: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
  8: https://mirrors.sjtug.sjtu.edu.cn/manjarostable/$repo/$arch
  9: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
  10: http://manjaro.dcc.uchile.cl/stable/$repo/$arch
  11: http://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
  12: https://www.uex.dk/public/manjaro/stable/$repo/$arch
  13: http://mirror.upb.edu.co/manjarostable/$repo/$arch
  14: https://mirror.philpot.de/manjaro/stable/$repo/$arch
  15: https://mirrors.zju.edu.cn/manjaro/stable/$repo/$arch
  16: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
  17: http://kibo.remi.lu/stable/$repo/$arch
  18: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
  19: http://ftp.belnet.be/mirrors/manjaro/stable/$repo/$arch
  20: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
  21: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
  22: https://manjaro.moson.eu/stable/$repo/$arch
  23: https://osmirror.org/manjaro/stable/$repo/$arch
  24: http://manjaro.barata.pt/stable/$repo/$arch
  25: http://mirror.infotronik.hu/mirrors/pub/manjaro/stable/$repo/$arch
  26: http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
  27: http://linorg.usp.br/manjaro/stable/$repo/$arch
  28: https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
  29: https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
  30: https://mirrors.shu.edu.cn/manjaro/stable/$repo/$arch
  31: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
  32: https://mirror.zetup.net/manjaro/stable/$repo/$arch
  33: http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
  34: https://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
  35: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
  36: https://repo.sadjad.ac.ir/manjaro/stable/$repo/$arch
  37: http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
  38: http://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
  39: https://mirrors.shuosc.org/manjaro/stable/$repo/$arch
  40: http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
  41: http://manjaro.telecoms.bg/stable/$repo/$arch
  42: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
  43: https://mirrors.netix.net/manjaro/stable/$repo/$arch
  44: https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
  45: https://mirror.espoch.edu.ec/manjaro/stable/$repo/$arch
  46: http://ftp.caliu.cat/manjaro/stable/$repo/$arch
  47: http://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
  48: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
  49: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
  50: http://distro.ibiblio.org/manjaro/stable/$repo/$arch
  51: http://mirror.dacentec.com/manjaro/stable/$repo/$arch
  52: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
  53: http://manjaro.melbourneitmirror.net/stable/$repo/$arch
  54: https://mirror.tuchola-dc.pl/manjaro/stable/$repo/$arch
  55: https://mirror.koddos.net/manjaro/stable/$repo/$arch
  56: https://mirror.clarkson.edu/manjaro/stable/$repo/$arch
  57: http://mirror.ragenetwork.de/manjaro/stable/$repo/$arch
  58: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
  59: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
  60: https://manjaro.cu.be/stable/$repo/$arch
  61: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
  62: http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
  63: https://download.nus.edu.sg/mirror/manjaro/stable/$repo/$arch
  64: http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
  65: http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
  66: http://mirror.chmuri.net/manjaro/stable/$repo/$arch
  67: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
  68: https://mirror.cedia.org.ec/manjaro/stable/$repo/$arch
  69: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
  70: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
  71: https://repo.rhindon.net/manjaro/stable/$repo/$arch
  72: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
  73: http://pet.inf.ufsc.br/mirrors/manjarolinux/stable/$repo/$arch
  74: http://manjaro.mirror.ac.za/stable/$repo/$arch
  75: http://mirror.rise.ph/manjaro/stable/$repo/$arch
  76: http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
  77: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
  78: http://repo.manjaro.org.uk/stable/$repo/$arch
Processes:
  CPU top: 5 of 223 
  1: cpu: 10.9% command: firefox pid: 99595 mem: 266.1 MiB (1.6%) 
  2: cpu: 4.6% command: firefox pid: 1935 mem: 568.9 MiB (3.5%) 
  3: cpu: 2.2% command: firefox pid: 2038 mem: 296.6 MiB (1.8%) 
  4: cpu: 1.9% command: firefox pid: 100139 mem: 229.1 MiB (1.4%) 
  5: cpu: 0.9% command: xorg pid: 1152 mem: 49.1 MiB (0.3%) 
  Memory top: 5 of 223 
  1: mem: 568.9 MiB (3.5%) command: firefox pid: 1935 cpu: 4.6% 
  2: mem: 296.6 MiB (1.8%) command: firefox pid: 2038 cpu: 2.2% 
  3: mem: 266.1 MiB (1.6%) command: firefox pid: 99595 cpu: 10.9% 
  4: mem: 244.8 MiB (1.5%) command: krunner pid: 1787 cpu: 0.0% 
  5: mem: 234.6 MiB (1.4%) command: plasmashell pid: 1331 cpu: 0.9% 
Info:
  Processes: 223 Uptime: 4h 12m wakeups: 1 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: N/A Shell: Bash v: 5.1.8 
  running-in: konsole inxi: 3.3.04 

I’m really open and activelly looking onto learning and for constructive feedback. If I’m able to improve this call for support and on communicating with the community, please do add commentary.

Thanks y’all.

I’m not familiar with BTRFS, but maybe the @ following subvol= should be replaced by something other.

You probably need to list subvolumes. You can try the point 3.3.2 Listing subvolumes on this page : Btrfs - ArchWiki

Hi Makoto! Thanks for reaching out, I’m trying to understand and list these subvolumes but I fail to specify a path, I think I’m not properly setting up the argument, like in the case of subvol=@

[manjaro@manjaro ~]$ btrfs subvolume list -p /dev/sda1
ERROR: not a directory: /dev/sda1
ERROR: can't access '/dev/sda1'

your file system is damaged… im not familiar with btrfs and how to repair it, so search here on forum for specific commands for repairing btrfs file systems

… not /dev/sda1 - almost definitely not


Your file system root seems to be on
/dev/sda2

however:

the uuid does not seem to match

This:

may be the correct way to mount a BTRFS filesystem - or it may not be.
I honestly have no idea.

But - from your inxi output above it looks like it is already mounted.
Maybe that is why it fails? :man_shrugging:

Perhaps you could just
manjaro-chroot /run/media/manjaro/root /bin/bash
if it is already mounted there. :man_shrugging:

BTRFS is still a mystery to me.

Hey Nachlese! I’m no pro either, trying to understand it. I believe it was created to partition and migrate to my current SSD.

I think I got most of what you said, made sense.
I tried what you suggested:

[manjaro@manjaro ~]$  manjaro-chroot /run/media/manjaro/root /bin/bash
==> ERROR: Can't create chroot on non-directory /run/media/manjaro/root

it didn’t identify any directory, right? so it isn’t mounted as you suggest?

Hey brahma, saw many of your directions on other such problems. Thanks for reaching out.
I ran a check on /dev/sda2 and `/dev/sda3``` and it doesn’t seem to point to any error.

[manjaro@manjaro ~]$ sudo btrfs check /dev/sda2
Opening filesystem to check...
Checking filesystem on /dev/sda2
UUID: 05a873b0-9fc1-4079-ae96-245a9f907992
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 46065225728 bytes used, no error found
total csum bytes: 44105920
total tree bytes: 842612736
total fs tree bytes: 741015552
total extent tree bytes: 43089920
btree space waste bytes: 152900757
file data blocks allocated: 46066212864
 referenced 45227802624
[manjaro@manjaro ~]$ sudo btrfs check /dev/sda3
Opening filesystem to check...
Checking filesystem on /dev/sda3
UUID: 91684468-c9af-448c-85bf-6a8e4c5ab820
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 404299612160 bytes used, no error found
total csum bytes: 393701940
total tree bytes: 1112473600
total fs tree bytes: 570851328
total extent tree bytes: 63979520
btree space waste bytes: 206410656
file data blocks allocated: 1417168977920
 referenced 401276436480

i now see the sda1, that which outputed the wrong fs, is a microsoft partition so false alarm…
you have linux on sda2 and sda3, so try mounting the sda3:
sudo mount -o subvol=@ /dev/sda3 /mnt
if it didnt return any error continue with these:

sudo mount -o subvol=@log /dev/sda3 /mnt/var/log
sudo mount -o subvol=@cache /dev/sda3 /mnt/var/cache
sudo manjaro-chroot /mnt

however, since you are on btrfs, you should be able to use one of its snapshots to restore your system, but again im not familiar with it, so have no idea

I really cannot give any good advice when BTRFS is involved.
@andreas85 is the local expert on this file system here

and he created at least one good wiki post and quite a few posts on this matter here
look for it
It’s important to learn to know how to work with the file system you have got.
It is quite different from the others - and has got it’s own set of tools to mount and so on.

1 Like

Sorry i am no expert with chroot, but the wiki says what you have to do with btrfs in an unexpected place:

like:

mount -o subvol=@ /dev/sdXX /mnt

and:

mount -o subvol=@home /dev/sdXX /mnt/home

And of course you can search for btrfs and chroot here in the forum and in the wiki with :mag:


You can find good Information about Btrfs in the wiki

1 Like

I was just trying to point @hyqmc to the relevant posts and wiki - perhaps easier to find that way.
Definitely now - thanks for the links!

[manjaro@manjaro ~]$  sudo mount -o subvol=@ /dev/sda3 /mnt
mount: /mnt: mount(2) system call failed: No such file or directory.

:confused:

… but from what I could gather, your root volume is @ and on /dev/sda2 …

but this comment is from someone who really does not understand how btrfs works …

1 Like

Please refer to the original post text to understand the correction I unfortunately lack the complete backlog.
[edit]
maybe you’ll find some directions but unlikely the whole answer/solution as the way I handled it was fixing my storage from a usb live and as issues showed up I answered to those, removing, reinstalling, relocating my bins and drives as fitting. as it was done from the usb live the history of my prompts is somewhat missing too (at least for my current knowledge).
I’m sorry for not making a dilligent process of it, in the future I sure am so that it builds up to the forum and community.
[/edit]

1 Like

So, the solution is not a solution unless one somehow filters it out of the original post?
mkay

I’m sorry, I don’t know how to close the thread and it is no longer a demand. How should I handle this?

yep - setting it solved might be a good solution in this case.

But it is not a solution - and when people look for that … they won’t find it here

Yeah, I’m editing it to make it clearer, ty.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.