Manjaro won't boot after installing new SSD

I have bought new SSD and installed it in my PC. Before that I removed fstab entries for old hard drives, then removed their power and SATA cables. Now manjaro doesn’t boot

Your avatar name inspired me to ask this:
are you sure you did not remove or comment out the line referring to your system / (root) ?

No, it is in place. I remembered that I had symlinks leading to hard drives in my home directory and removed them with installation medium. That didn’t help

No one can help you if you don’t share cold hard facts.

inxi -Fazy (for instance)
lsblk -f
and the contents of the current /etc/fstab
as well as what your kernel command line looks like
(in /etc/default/grub )

Perhaps you could expand on this. At what point does it fail to boot? Are there any error messages? If so, what are they? Does it reach GRUB and then fail? Does it reach Plymouth (the three dots) and then fail? Does it reach the Login screen and then fail?

I think you get the picture - more information is needed. Logs would be ideal, if you can boot far enough to use a TTY shell. Otherwise, if you boot with a Manjaro Live Installer, you could attempt to enter a chroot environment manjaro-chroot -a and generate logs that way, plus other outputs that will help other members to identify the problem.

Cheers.

inxi -Fazy:

System:
  Kernel: 6.6.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_KDE_2312 quiet systemd.show_status=1
    splash driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B450M H serial: <superuser required>
    UEFI: American Megatrends LLC. v: F66 date: 03/22/2024
CPU:
  Info: model: AMD Ryzen 5 5500 bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
    model-id: 0x50 (80) stepping: 0 microcode: 0xA50000F
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 834 high: 3016 min/max: 400/4267 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400 4: 400
    5: 2994 6: 400 7: 3016 8: 400 9: 400 10: 400 11: 400 12: 400
    bogomips: 86278
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: Gigabyte driver: nvidia
    v: 545.29.06 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2023-11; EOL~2026-12-xx) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-2022 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1f82 class-ID: 0300
  Device-2: A4Tech Full HD 720P PC Camera driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3
    chip-ID: 09da:2690 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.10 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x272mm (19.02x10.71")
    s-diag: 554mm (21.82")
  Monitor-1: Unknown-1 mapped: HDMI-1 res: 1920x1080 hz: 60 dpi: 102
    size: 477x268mm (18.78x10.55") modes: 1024x768
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    memory: 3.91 GiB
  API: Vulkan v: 1.3.274 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: nvidia v: 545.29.06
    device-ID: 10de:1f82 surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA vendor: Gigabyte driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
    class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 0b:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0b:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Device-4: A4Tech Full HD 720P PC Camera driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3
    chip-ID: 09da:2690 class-ID: 0102 serial: <filter>
  Device-5: JMTek LLC. USB PnP Audio Device
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 5-1:2 chip-ID: 0c76:161e class-ID: 0300
  API: ALSA v: k6.6.8-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 09:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp9s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.88 TiB used: 616.65 GiB (32.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 2B4QFXO7 temp: 38.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 3B6Q
  ID-3: /dev/sdb maj-min: 8:16 model: USB DISK 2.0 size: 58.59 GiB
    block-size: physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s
    lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 55.5 C mobo: 33.0 C gpu: nvidia temp: 44 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Info:
  Processes: 276 Uptime: 7m wakeups: 0 Memory: total: 16 GiB
  available: 15.48 GiB used: 3.65 GiB (23.6%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1206 libs: 323 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31

lsblk -f:

NAME   FSTYPE FSVER   LABEL            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0  squash 4.0                                                                 0   100% /run/miso/sfs/livefs
loop1  squash 4.0                                                                 0   100% /run/miso/sfs/mhwdfs
loop2  squash 4.0                                                                 0   100% /run/miso/sfs/desktopfs
loop3  squash 4.0                                                                 0   100% /run/miso/sfs/rootfs
sda                                                                                        
sdb    iso966 Joliet  MANJARO_KDE_2312 2024-01-02-02-01-48-00                     0   100% /run/miso/bootmnt
├─sdb1 iso966 Joliet  MANJARO_KDE_2312 2024-01-02-02-01-48-00                              
└─sdb2 vfat   FAT12   MISO_EFI         AB1E-DC8C                                           
nvme0n1
                                                                                           
├─nvme0n1p1
│      vfat   FAT32                    27D2-F6AC                                           
├─nvme0n1p2
│      btrfs                           0b4f48d4-d90d-45c2-9b32-8716dcfa754f  294.5G    67% /run/media/manjaro/0b4f48d4-d90d-45c2-9b32-8716dcfa754f
└─nvme0n1p3
       swap   1       swap             b512cb70-a91b-42c5-afd7-475594270e92 

/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=27D2-F6AC                            /boot/efi      vfat    umask=0077 0 2
UUID=0b4f48d4-d90d-45c2-9b32-8716dcfa754f /              btrfs   subvol=/@,defaults,discard=async,ssd 0 0
UUID=0b4f48d4-d90d-45c2-9b32-8716dcfa754f /home          btrfs   subvol=/@home,defaults,discard=async,ssd 0 0
UUID=0b4f48d4-d90d-45c2-9b32-8716dcfa754f /var/cache     btrfs   subvol=/@cache,defaults,discard=async,ssd 0 0
UUID=0b4f48d4-d90d-45c2-9b32-8716dcfa754f /var/log       btrfs   subvol=/@log,defaults,discard=async,ssd 0 0
UUID=b512cb70-a91b-42c5-afd7-475594270e92 swap           swap    defaults,noatime 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

/etc/default/grub:

# GRUB boot loader configuration

GRUB_DEFAULT="saved"
GRUB_TIMEOUT="1"
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=b512cb70-a91b-42c5-afd7-475594270e92 udev.log_priority=3 usbcore.autosuspend=-1"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK="y"

# Set to 'countdown' or 'menu' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE="hidden"

# 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 'videoinfo'
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-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# 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="y"

# Uncomment this option to enable os-prober execution in the grub-mkconfig command
GRUB_DISABLE_OS_PROBER="false"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically. We use 'fsck' by default, which
# needs 'rw' as boot parameter, to avoid delay in boot-time. 'fsck' needs to be
# removed from 'mkinitcpio.conf' to make 'systemd-fsck' work.
# See also Arch-Wiki: https://wiki.archlinux.org/index.php/Fsck#Boot_time_checking
#GRUB_ROOT_FS_RO="true"

UEFI screen appears, then it goes black and unresponsive

I just skimmed your outputs posted. Knowing that you’re using BTRFS would have also helped earlier. I don’t use it, and only have a basic knowledge of BTRFS, so my help will be limited.

Which ‘UEFI screen’ do you mean? Sometimes a BIOS firmware can splash a screen very early during boot; is that what you mean? That would mean it doesn’t reach the GRUB menu at all.

I mean the splash screen from motherboard itself. Manjaro loading screen doesn’t appear as it should. GRUB menu doesn’t appear on my system normally (probably cause it’s set to auto in config). Maybe I should chroot and edit grub config so that it appears always or beeps when it’s reached?

If it’s not getting that far it likely won’t do much yet.

I’m presuming you can boot into BIOS. Do so, ad see if you can re-select the entry that dhould be first in boot order - possibly ‘UEFI OS’ or similar - then save and exit; i should reboot automatically.

While you’re in BIOS note down whatever entires are available (just for reference).

If that does nothing, chroot might be your only option; and here, unfortunately is where I’ll need to make way for someone with specific BTRFS knowledge.

Sorry, I should have written about that before. I tried that right away when problem appeared. List featured currently plugged in disks and a UEFI OS which is Manjaro. It’s first in order and trying to boot from it manually doesn’t change anything

Have you done anything that might have changed a UUID?

In your /etc/default/grub Grub command line I don’t see any reference to your system root - just to the swap for resume.

But I really do not know my way around BTRFS and am sorry to have to tell you that I cannot be of any help here.

Not saying that there is anything wrong, just that I really don’t know.

No, and my configs seem fine in that regard

This might be one of those occasions where Manjaro’s install-grub might be useful. What’s your take on that?

Check efibootmgr to show a list of boot.

Try to run

grub-install --efi-directory=/boot/efi

then

grub-update

I have no take on it - I’m totally ignorant when it comes to BTRFS.

I’m also hesitant to suggest anything here; for the same reasons; the OP likely understands BTRFS better than I do. :slight_smile:

I should chroot first, right? manjaro-chroot -a gives this response:

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!
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0001,0006,0007,0004,0005,0008
Boot0001* UEFI OS       HD(1,GPT,b13773b8-0412-4288-8c0d-5941c0d3b850,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
Boot0004* Samsung SSD 980 1TB   BBS(HD,,0x0)0000424f
Boot0005* Samsung SSD 870 EVO 1TB       BBS(HD,,0x0)0000424f
Boot0006* UEFI:  USB DISK 2.0 PMAP      PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/USB(7,0)/CDROM(1,0x748998,0x8000)0000424f
Boot0007* UEFI:  USB DISK 2.0 PMAP, Partition 2 PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/USB(7,0)/HD(2,MBR,0x0,0x748998,0x2000)0000424f
Boot0008*  USB DISK 2.0 PMAP    BBS(HD,,0x0)0000424f