Manjaro install on my SSD corrupted after trying to expand it in size with a live environment

I was trying to expand my Manjaro partition, but the KDE partition manager returned with an error and now it says that the partition type is unknown.

Is there any way to recover my data from this partition?

Provide Information:

Hello, I am entirely unable to boot into the install. I only have the live environment, would you like for me to give you the outputs of the live environment?


Even inside the live environment it is possible to gather a lot of needed information.

how exactly?

which one?

Errors during reformmating partitions are usually desastrous. If you have not a backup of data you wish to retrieve you would need professional software to rescue some data. Most likely, very little chance. Take it as lesson and backup your data, next time. I guess you should re-install Manjaro from the scratch.

Unfortunately, I didn’t save the error message.

If I remember correctly, I expanded the partition to the right 500 megabytes (it was a tiny section that wasn’t allocated, could this be why the install bricked?) and then shifted it to the left by 15 megabytes.

As for recovering lost data, have you any recommendations for such software?

Okay, I got the output of it

  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC 
  misobasedir=manjaro misolabel=MANJARO_KDE_2021 quiet systemd.show_status=1 
  apparmor=1 security=apparmor driver=nonfree nouveau.modeset=0 i915.modeset=1 
  Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
  Type: Desktop System: Dell product: G5 5000 v: N/A serial: <filter> Chassis: 
  type: 3 serial: <filter> 
  Mobo: Dell model: 0M6C7G v: A00 serial: <filter> UEFI: Dell v: 1.3.0 
  date: 07/20/2021 
  RAM: total: 15.42 GiB used: 3.7 GiB (24.0%) 
  Array-1: capacity: 128 GiB slots: 4 EC: None max module size: 32 GiB 
  note: est. 
  Device-1: DIMM1 size: 8 GiB speed: 2133 MT/s type: DDR4 detail: synchronous 
  bus width: 64 bits total: 64 bits manufacturer: 029E000080AD 
  part-no: CMK16GX4M2B3200C16 serial: N/A 
  Device-2: DIMM2 size: 8 GiB speed: 2133 MT/s type: DDR4 detail: synchronous 
  bus width: 64 bits total: 64 bits manufacturer: 029E000080AD 
  part-no: CMK16GX4M2B3200C16 serial: N/A 
  Device-3: DIMM3 size: No Module Installed 
  Device-4: DIMM4 size: No Module Installed 
  Info: 6-Core model: Intel Core i5-10400F socket: U3E1 bits: 64 type: MT MCP 
  arch: Comet Lake family: 6 model-id: A5 (165) stepping: 3 microcode: EA 
  L1 cache: 384 KiB L2 cache: 12 MiB L3 cache: 11.7 MiB bogomips: 69629 
  Speed: 4098 MHz min/max: 800/4300 MHz base/boost: 2871/4200 volts: 0.8 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 4098 2: 4098 3: 4002 4: 4001 
  5: 4002 6: 4098 7: 4098 8: 4000 9: 4004 10: 4002 11: 4000 12: 4000 
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities 
  arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc 
  cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms 
  est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht hwp hwp_act_window 
  hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida intel_pt invpcid 
  invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr 
  nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni 
  popcnt pse pse36 pts rdrand rdseed rdtscp rep_good sdbg sep smap smep ss 
  ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc 
  tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec 
  xsaveopt xsaves xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  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: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: Dell driver: nvidia 
  v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:21c4 
  Display: x11 server: X(dot)Org 1.20.10 compositor: kwin_x11 driver: nvidia 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 94 s-size: 519x292mm (20.4x11.5") 
  s-diag: 596mm (23.4") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 75 dpi: 96 size: 509x286mm (20.0x11.3") 
  diag: 584mm (23") 
  OpenGL: renderer: GeForce GTX 1660 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 
  chip ID: 8086:06c8 
  Device-2: NVIDIA TU116 High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:1aeb 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
  Device-1: Realtek vendor: Bigfoot Networks driver: r8169 v: kernel 
  port: 3000 bus ID: 03:00.0 chip ID: 10ec:2600 
  IF: enp3s0 state: up speed: 1000 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: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Dell driver: ath10k_pci v: kernel port: 3000 bus ID: 04:00.0 
  chip ID: 168c:0042 
  IF: wlp4s0 state: down mac: <filter> 
  Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-14:8 
  chip ID: 0cf3:e009 
  WAN IP: <filter> 
  Message: No RAID data was found. 
  Local Storage: total: 2.28 TiB used: 1.27 GiB (0.1%) 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung 
  model: SSD 970 EVO Plus 500GB size: 465.76 GiB block size: physical: 512 B 
  logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B2QEXM7 
  temp: 57.9 C 
  SMART: yes health: PASSED on: 99d 6h cycles: 769 
  read-units: 25,260,640 [12.9 TB] written-units: 15,045,987 [7.70 TB] 
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102 
  size: 1.82 TiB block size: physical: 4096 B logical: 512 B sata: 3.1 
  speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: 0001 temp: 33 C 
  SMART: yes state: enabled health: PASSED on: 118d 23h cycles: 636 
  read: 8.6 TiB written: 7.44 TiB Pre-Fail: attribute: Spin_Retry_Count 
  value: 100 worst: 100 threshold: 97 
  ID-3: /dev/sdb maj-min: 8:16 type: USB model: General size: 3.75 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 5.00 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  Message: No Optical or Floppy data was found. 
  ID-1: / raw size: N/A size: 11.56 GiB used: 1.27 GiB (11.0%) fs: overlay 
  source: ERR-102 label: N/A uuid: N/A 
  ID-2: /run/miso/bootmnt raw size: 3 GiB size: N/A (hidden?) 
  used: N/A (hidden?) fs: iso9660 dev: /dev/sdb1 maj-min: 8:17 
  label: MANJARO_KDE_2021 uuid: 2021-01-03-09-07-36-00 
  Alert: No Swap data was found. 
  ID-1: /dev/nvme0n1p5 maj-min: 259:1 size: 365.66 GiB fs: N/A label: N/A 
  uuid: N/A 
  ID-2: /dev/sda1 maj-min: 8:1 size: 1.82 TiB fs: ext4 label: LNX2TB 
  uuid: 8ffc9331-ee22-4be5-9e3f-255eb477fefd 
  ID-3: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: vfat label: MISO_EFI 
  uuid: 7B2D-7571 
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Device-1: 1-4:2 info: LogiLink UDisk flash drive type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s 
  chip ID: abcd:1234 serial: <filter> 
  Device-2: 1-7:4 info: Alienware LED controller type: HID 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.1 speed: 12 Mb/s 
  chip ID: 187c:0550 serial: <filter> 
  Device-3: 1-9:5 info: Corsair CORSAIR HARPOON RGB PRO Gaming Mouse 
  type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0 
  speed: 12 Mb/s chip ID: 1b1c:1b75 serial: <filter> 
  Device-4: 1-10:6 info: Holtek Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  chip ID: 04d9:0348 
  Device-5: 1-14:8 info: Qualcomm Atheros type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s chip ID: 0cf3:e009 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 speed: 480 Mb/s 
  chip ID: 1d6b:0002 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip ID: 1d6b:0003 
  System Temperatures: cpu: 72.0 C mobo: N/A gpu: nvidia temp: 32 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 33% 
  Processes: 299 Uptime: 8h 13m wakeups: 0 Init: systemd v: 247 Compilers: 
  gcc: N/A Packages: pacman: 1256 lib: 372 flatpak: 0 Shell: Bash (su) 
  v: 5.1.0 running in: konsole inxi: 3.2.01

this is the partition that became unallocated /dev/nvme0n1p5

Okay, I ran the command as root.