Trying to solve emergency mode

System:
  Kernel: 6.1.20-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=garuda root=miso:LABEL=GARUDA_XFCE_RAPTOR quiet
    systemd.show_status=1 ibt=off systemd.unified_cgroup_hierarchy=1
    driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: FUJITSU product: LIFEBOOK AH531 v: N/A serial: <filter>
    Chassis: type: 9 serial: <filter>
  Mobo: FUJITSU model: FJNBB0F serial: <filter>
    UEFI-[Legacy]: FUJITSU // Phoenix v: 1.32 date: 10/01/2018
Battery:
  ID-1: BAT1 charge: 0% condition: 47.5/47.5 Wh (100.0%) volts: 10.8 min: 10.8
    model: SIMPLO AS10B7E type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Celeron B800 bits: 64 type: MCP arch: Sandy Bridge
    level: v2 built: 2010-12 process: Intel 32nm family: 6 model-id: 0x2A (42)
    stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 2 MiB
    desc: 1x2 MiB
  Speed (MHz): avg: 800 min/max: 800/1500 base/boost: 1500/1500 scaling:
    driver: intel_cpufreq governor: schedutil volts: 1.2 V ext-clock: 100 MHz
    cores: 1: 800 2: 800 bogomips: 5989
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Fujitsu driver: i915 v: kernel arch: Gen-6 code: Sandybridge
    process: Intel 32nm built: 2011 ports: active: LVDS-1
    empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0106
    class-ID: 0300
  Device-2: Chicony Fujitsu Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-1.3:3 chip-ID: 04f2:b213 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting alternate: fbdev,intel,vesa dri: crocus gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: LVDS-1 model: Seiko Epson 0x5641 built: 2009 res: 1366x768
    hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1c20 class-ID: 0403
  Sound API: ALSA v: k6.1.20-1-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Intel Centrino Wireless-N 1030 [Rainbow Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0
    chip-ID: 8086:008a class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Fujitsu driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Centrino Advanced-N 6230 Bluetooth adapter type: USB
    driver: btusb v: 0.8 bus-ID: 2-1.4:4 chip-ID: 8086:0189 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 946.11 GiB used: 420.13 GiB (44.4%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10SPZX-00Z10T0 family: Blue Mobile (SMR) size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 1A01 temp: 38 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 194d 20h cycles: 1687
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Blade
    size: 14.59 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  Message: No partition data found.
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.74 GiB used: 837 MiB (21.8%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 267 Uptime: 9h 55m wakeups: 1 Memory: 3.74 GiB
  used: 2.32 GiB (61.9%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 Packages: pm: pacman pkgs: 1256
  libs: 338 tools: paru Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.25
Garuda (2.6.15-1):
  System install date:     2023-05-06
  Last full system update: 2023-05-06 ↻
  Is partially upgraded:   Yes
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            snapper-cleanup.service 

so i got to the emergency mode thing i searched and i found that i have to boot from live usb to solve it and chroot to update the system but when i did that i couldn't able to do that or even mount the system so i searched online somehow got to fix something called superblock and i can see my data now and open chroot so i did a system update and after it finished i got this

Generating locales...
  ar_EG.UTF-8...cannot create temporary file: /usr/lib/locale/locale-archive.Z337M7: Read-only file system
ldconfig: Cannot lstat /usr/lib/libpcre2-16.so.0.11.2: Input/output error
ldconfig: Cannot lstat /usr/lib/libpcre2-32.so.0.11.2: Input/output error
ldconfig: Cannot lstat /usr/lib/libpcre2-posix.so.3.0.4: Input/output error
ldconfig: Cannot lstat /usr/lib/libgdk_pixbuf-2.0.so.0.4200.10: Input/output error
ldconfig: Cannot lstat /usr/lib/libXtst.so.6.1.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libpopt.so.0.0.2: Input/output error
ldconfig: Cannot lstat /usr/lib/libcryptsetup.so.12.9.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libmnl.so.0.2.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnftnl.so.11.6.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-cli-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-genl-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-idiag-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-nf-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-route-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnl-xfrm-3.so.200.26.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnfnetlink.so.0.2.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libnetfilter_conntrack.so.3.8.0: Input/output error
ldconfig: Cannot lstat /usr/lib/libgmpxx.so.4.6.1: Input/output error
ldconfig: Cannot lstat /usr/lib/libjansson.so.4.14.0: Input/output error
/tmp/alpm_KC0a1A/.INSTALL: line 1:  3573 Bus error               (core dumped) ldconfig -r .
error: command failed to execute correctly
error: cannot remove file '/usr/': Read-only file system
error: could not remove database entry gcc-libs-12.2.1-2
error: could not create directory /var/lib/pacman/local/gcc-libs-13.1.1-1/: Input/output error
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
warning: could not remove lock file /var/lib/pacman/db.lck
[root@garuda-xfce /]# sudo rm ^C
[root@garuda-xfce /]# sudo rm /var/lib/pacman/db.lck
sudo: unable to read /etc/sudoers.d/10-installer: Input/output error
sudo: unable to read /etc/sudoers.d/editor: Input/output error
sudo: unable to read /etc/sudoers.d/insults: Input/output error
sudo: unable to read /etc/sudoers.d/pwfeedback: Input/output error
sudo: unable to execute /usr/sbin/rm: Input/output error

Holy shit, that looks broken as hell. What lead to this in the first place?

garuda-update has a feature that uses pacman-static to fix the system.. gotta find the cmd really quick.

Try: garuda-update remote fullfix

3 Likes

i don't know the system was stuck every time on garuda logo when i boot the system for 5 days i was using snapshot to find out how to solve it and i switch the hdd from my labtop to my pc as usual then i got in the emergency mode and here we are trying to wake it up and have hope for that

Edit
it's really taking so long but i hope it will fix it at the end