After installing a new SSD I'm getting GRUB error: no such partition

New data

sudo parted -l
System:
  Kernel: 5.15.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_KDE_2126 quiet
    systemd.show_status=1 apparmor=1 security=apparmor driver=free
    nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <superuser required>
    UEFI: American Megatrends v: P5.30 date: 08/04/2021
Battery:
  Device-1: hidpp_battery_0
    model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  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: 2214 high: 2890 min/max: 1400/4464 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1773 2: 1404
    3: 2381 4: 2491 5: 1724 6: 2093 7: 2890 8: 2335 9: 2402 10: 2399 11: 2277
    12: 2400 bogomips: 93641
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Gigabyte
    driver: nouveau v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max:
    gen: 3 speed: 8 GT/s ports: active: DVI-D-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Device-2: AMD Cezanne driver: N/A alternate: amdgpu pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 08:00.0
    chip-ID: 1002:1638 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: nouveau display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: DVI-D-1 model: Samsung S23E650 serial: <filter> built: 2015
    res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2 size: 510x287mm (20.08x11.3")
    diag: 585mm (23") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  OpenGL: renderer: NV137 v: 4.3 Mesa 21.3.8 direct render: Yes
Audio:
  Device-1: NVIDIA GP107GL High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:0fb9
    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: 08:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASRock
    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: 08:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Device-4: VIA MAYA U5 type: USB driver: hid-generic,snd-usb-audio,usbhid
    bus-ID: 3-1:2 chip-ID: 040d:3401 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.32-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 1-6:3 chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 2.64 TiB used: 0 KiB (0.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lexar model: 500GB SSD
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: V1.0.5
    temp: 46.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD120 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD
    rpm: 7200 serial: <filter> rev: ACF0 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT275MX300SSD1
    size: 256.17 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: R060 scheme: MBR
  ID-4: /dev/sdc maj-min: 8:32 vendor: GOODRAM model: SSDPR-CL100-120-G3
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2 scheme: MBR
  ID-5: /dev/sde maj-min: 8:64 type: USB model: General size: 7.5 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
    rev: 5.00 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: N/A mobo: N/A gpu: nouveau temp: 34.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 0
Info:
  Processes: 311 Uptime: 4m wakeups: 2 Memory: 15 GiB used: 2.24 GiB (14.9%)
  Init: systemd v: 250 tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1
  Packages: pacman: 1230 lib: 334 flatpak: 0 Shell: Zsh v: 5.8.1
  default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Model: ATA TOSHIBA HDWD120 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2000GB  2000GB  ext4


Model: ATA Crucial_CT275MX3 (scsi)
Disk /dev/sdb: 275GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End  Size  Type  File system  Flags


Model: ATA SSDPR-CL100-120- (scsi)
Disk /dev/sdc: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  120GB  120GB  primary  ext4         boot


Model: General UDisk (scsi)
Disk /dev/sde: 8053MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      3794MB  3798MB  4194kB  primary               esp


Model: Lexar 500GB SSD (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name                  Flags
 1      16.8MB  500GB  500GB  ntfs         Basic data partition  msftdata


Well, thatā€™s a good start, thought.

Try and follow my previous instructions, then.

Thatā€™s nor parted output, thatā€™s inxi output. :wink:

grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sdc1]
 --> mount: [/mnt]
[manjaro /]# 

Thatā€™s good! Continue with the rest.

Is that bad?

No. It just means you provided the wrong output. :wink:

But continue with reinstalling grub, like I mentioned earlier.

I did the rest of the thing and I got the same error

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Everything here:

Reinstalling grub from chroot environment.

Once in the chroot environment, you have to reinstall GRUB. To do so, run the following:

update-grub

When successfully completed, exit the chroot environment:

exit

Followed by rebooting and seeing if it worked.

If it did, feel free to heap on the praise. If, however, it didnā€™t, well, then Iā€™m not here.

In the chroot environment, please provide the output of:

mount

and

ls /boot

Yes

[manjaro /]# mount
/dev/sdc1 on / type ext4 (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=7838568k,nr_inodes=1959642,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
tmp on /tmp type tmpfs (rw,nosuid,nodev,inode64)
overlay on /etc/resolv.conf type overlay (rw,relatime,lowerdir=/run/miso/sfs/livefs:/run/miso/sfs/mhwdfs:/run/miso/sfs/desktopfs:/run/miso/sfs/rootfs,upperdir=/run/miso/overlay_root/upper,workdir=/run/miso/overlay_root/work,index=off,xino=off)
[manjaro /]# ls /boot
amd-ucode.img                       initramfs-5.15-x86_64-fallback.img  memtest86+
grub                                initramfs-5.15-x86_64.img           vmlinuz-4.14-x86_64
initramfs-4.14-x86_64-fallback.img  linux414-x86_64.kver                vmlinuz-5.15-x86_64
initramfs-4.14-x86_64.img           linux515-x86_64.kver
1 Like

OK, I can only think of one other thing, then. And it might not even be that, but I figure Iā€™ve got to ask.

  • Did you, perhaps, change the boot order in the UEFI/BIOS?
  • Did you try to see if it works again without the new SSD? If not, could you please?

I did after I couldnā€™t boot the system.

I didnā€™t try, I have it mounted a bit unconventionally and it will be hard to mount it back, but if all else fails I can try.

1 Like

Well, since that seems unrelated, try changing it back then. Maybe it works.

I have absolutely 0 other bright or dim ideas, though.

can you return

efibootmgr -v

about your motherboard and all disks

  • 4 x SATA3 6.0 Gb/s Connectors, support RAID (RAID 0, RAID 1 and RAID 10), NCQ, AHCI and Hot Plug*
    *M2_2 and SATA3_3 share lanes. If either one of them is in use, the other one will be disabled.
    ==> it means if you a re using both M2 , you loose one SATA ( SATA3 )
1 Like

It worked!

Sometimes itā€™s the smallest things.

Very happy for you!

1 Like

More like both commands were input at once, which may also be why they show one after the other. :person_shrugging:


:wink:

Okay, I figured it out. The reason GRUB didnā€™t see the partition is because my PC didnā€™t see the drive because it was on a shared SATA connection with the newly installed drive. And the reason it didnā€™t see the new drive is because itā€™s a PCI drive.
Iā€™m gonna be buying an adapter, hahā€¦
Thanks for your help!

3 Likes

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