Unable to mount drives

System:
Kernel: 6.8.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=c171126c-8ce6-46f6-a3ba-e4314bfd7d68 rw rootflags=subvol=@
quiet rd.luks.uuid=df6cebf4-956b-4b71-a8e8-3fd955c3e240 loglevel=3
ibt=off
Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Micro-Star product: GL62M 7RD v: REV:1.0
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Micro-Star model: MS-16J9 v: REV:1.0 serial: <superuser required>
part-nu: 16J9.3 uuid: <superuser required> UEFI: American Megatrends
v: E16J9IMS.324 date: 03/23/2018
Battery:
ID-1: BAT1 charge: 24.2 Wh (94.2%) condition: 25.7/43.2 Wh (59.5%)
volts: 12.1 min: 10.8 model: MSI BIF0_9 type: Li-ion serial: N/A
status: not charging
CPU:
Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
model-id: 0x9E (158) stepping: 9 microcode: 0xF8
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 874 high: 994 min/max: 800/3800 scaling:
driver: intel_pstate governor: powersave cores: 1: 994 2: 933 3: 800 4: 800
5: 965 6: 900 7: 800 8: 800 bogomips: 44798
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel HD Graphics 630 vendor: Micro-Star MSI driver: i915
v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:591b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Micro-Star MSI
driver: nvidia v: 550.67 alternate: nouveau,nvidia_drm non-free: 545.xx+
status: current (as of 2024-04; EOL~2026-12-xx) arch: Pascal code: GP10x
process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1c8d
class-ID: 0302
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: modesetting,nvidia
unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
gpu: i915,nvidia display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2)
device-ID: 8086:591b memory: 7.37 GiB unified: yes display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 10 device: 0 type: integrated-gpu
name: Intel HD Graphics 630 (KBL GT2) driver: mesa intel v: 24.0.5-arch1.1
device-ID: 8086:591b surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: NVIDIA GeForce GTX 1050 driver: nvidia v: 550.67
device-ID: 10de:1c8d surfaces: xcb,xlib,wayland device: 2 type: cpu
name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
v: 24.0.5-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000
surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel CM238 HD Audio vendor: Micro-Star MSI driver: snd_hda_intel
v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a171
class-ID: 0403
API: ALSA v: k6.8.5-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: Micro-Star MSI
driver: alx v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
bus-ID: 03:00.0 chip-ID: 1969:10a1 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:3 chip-ID: 8087:0aa7
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 931.51 GiB used: 38.43 GiB (4.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A3U0 scheme: GPT
Partition:
ID-1: / raw-size: 154.61 GiB size: 154.61 GiB (100.00%)
used: 38.42 GiB (24.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-df6cebf4-956b-4b71-a8e8-3fd955c3e240
ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
used: 728 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 154.61 GiB size: 154.61 GiB (100.00%)
used: 38.42 GiB (24.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-df6cebf4-956b-4b71-a8e8-3fd955c3e240
ID-4: /var/log raw-size: 154.61 GiB size: 154.61 GiB (100.00%)
used: 38.42 GiB (24.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-df6cebf4-956b-4b71-a8e8-3fd955c3e240
ID-5: /var/tmp raw-size: 154.61 GiB size: 154.61 GiB (100.00%)
used: 38.42 GiB (24.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-df6cebf4-956b-4b71-a8e8-3fd955c3e240
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 7.55 GiB used: 10.8 MiB (0.1%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
ID-2: swap-2 type: partition size: 14.9 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 59.0 C pch: 52.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 8 GiB note: est. available: 7.55 GiB used: 2.94 GiB (38.9%)
Processes: 292 Power: uptime: 3m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 2.97 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2018 libs: 551 tools: octopi,paru Compilers:
clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.34
Garuda (2.6.25-1):
System install date:     2024-03-16
Last full system update: 2024-04-14
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:
[root@cerulean-gl62m7rd ~]# fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HGST HTS721010A9
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9AA3CA72-9FC7-4801-AD40-21BA1767DF26

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    2050047   2048000  1000M EFI System
/dev/sda2     2050048    4096922   2046875 999.5M EFI System
/dev/sda3     4096923   35348479  31251557  14.9G Linux swap
/dev/sda4   738473984 1062713343 324239360 154.6G Linux filesystem
/dev/sda5  1062713344 1064810495   2097152     1G Linux filesystem
/dev/sda6    35348480  133005311  97656832  46.6G unknown
/dev/sda7   133005312  152537087  19531776   9.3G unknown
/dev/sda8   152537088  738473983 585936896 279.4G unknown
/dev/sda9  1064810496 1285347327 220536832 105.2G Linux filesystem
/dev/sda17 1285347328 1953523711 668176384 318.6G unknown

I have some drives - till yesterday I was able to mount them just by clicking on the folder and entering the passphrase for them. now when I click on them I get the error message -
an error occured while accessing the system responded an unspecified error has occured object does not exist at path /

I also have another OS installed when I am trying the same there - it works. I am able to mount the drive and access the files.

What can be a possible issue and a solution?

Have you tried ntfs 3g-fix yet in Linux, or performed a chkdsk /f on them in Windows?

2 Likes

Have you checked the permissions on the drive?

Is your user the owner?

2 Likes

Hi - the drives that I have are btrfs encrypted partition.

I did reinstall Garuda but I am still getting the same error - on running fsck and ntfsfix i am getting the following -

[root@cerulean-gl62m7rd ~]# sudo fsck /dev/sda6
fsck from util-linux 2.40
[root@cerulean-gl62m7rd ~]# ntfsfix /dev/sda6
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.

what else should I do here ? I have MXLinux installed also and when I am using it to access the drives it is working.

Hi, thanks for your response - since I am not able to mount the drives how can I check the permission on the drives - can you please guide me on this.

These are not drives but partitions / volumes / subvolumes.

BTRFS is a file system and not encryption. LUKS is your encryption.

What do you see on MXLinux for sda6 as the file system?

Do you remember that you have to decrypt LUKS encrypted volumes before using fs-repair tools like fsck on them!?!?

1 Like

Hi, I reinstalled Garuda, and immediately checked the drives - they were all accessible - then I ran an update and the drives are not accessible any more. I ran the followin commands -

root@cerulean-gl62m7rd ~]# fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HGST HTS721010A9
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9AA3CA72-9FC7-4801-AD40-21BA1767DF26

Device          Start        End   Sectors   Size Type
/dev/sda1        2048    2050047   2048000  1000M EFI System
/dev/sda2     2050048    4096922   2046875 999.5M EFI System
/dev/sda3     4096923   35348479  31251557  14.9G Linux swap
/dev/sda4   738473984 1062713343 324239360 154.6G Linux filesystem
/dev/sda5  1062713344 1064810495   2097152     1G Linux filesystem
/dev/sda6    35348480  133005311  97656832  46.6G unknown
/dev/sda7   133005312  152537087  19531776   9.3G unknown
/dev/sda8   152537088  738473983 585936896 279.4G unknown
/dev/sda9  1064810496 1285347327 220536832 105.2G Linux filesystem
/dev/sda17 1285347328 1953523711 668176384 318.6G unknown

Partition 3 does not start on physical sector boundary.
Partition table entries are not in disk order.


Disk /dev/mapper/luks-33faa5a5-eb95-4e18-b53f-57a36d0c9171: 154.61 GiB, 166008455168 bytes, 324235264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram0: 7.56 GiB, 8112832512 bytes, 1980672 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Next I open the luks for /dev/sda6

[root@cerulean-gl62m7rd ~]# cryptsetup luksOpen /dev/sda6 luks
Enter passphrase for /dev/sda6:

Please note that now the folder is opening. but if I try another one for e.g. /dev/sda7 - I continue to get the same error message.

[root@cerulean-gl62m7rd ~]# cryptsetup luksOpen /dev/sda7 luks
Device luks already exists.

What can be the next action for this ?
Screenshot_20240416_180835

Again - where are my manners - Thank you so much for your prompt response - @nepti @Bro @tbg

1 Like

Sorry, but what you’re doing is…
If you use dm-crypt in the terminal, learn how it works :slight_smile:

None of us know how and with which scenario you set up LUKS on MXLinux - nor whether you unmount the partitions and close them correctly with cryptsetup luksClose. And the Garuda Community is not responsible for that either.

My recommendation would be: Make backups of all luks partitions on MXLinux with which you have issues with garuda.
Open a partition manager (e.g. gparted, kde-partitionmanager), delete the partitions and recreate them with btrfs+luks. Then copy the backups back again.
Then you should be able to access it using the file manager without any problems.

2 Likes

I get that same warning about “Object does not exist” on my luks encypted drive after a recent update. I unlocked the drive in KDE partition manager and was then able to mount it by clicking on it in dolphin to get the drive back, but I am not sure if manual unlocking will be required next boot or whatever.

1 Like

In your example here, you are trying to use the same mapping for both devices. Change the name of one of the mappings from “luks” to literally anything else.

cryptsetup open /dev/sda7 my_super_awesome_second_luks_device

Often people choose a name for the mapping which is easy to remember or informative. For example, if you keep your photos on that partition you might choose to call it “photos”.

1 Like

@erwinrommel and @Beagle_Appreciator take a look on this:

https://bugs.kde.org/show_bug.cgi?id=485507

"Fixing a major regression that prevented the LUKS-encrypted disks from being decrypted by KDE software using the Solid framework. "

Issue is fixt in the next kde frameworks version 6.2.

2 Likes

it fixes with last update.

now it’s working properly.

Operating System: Garuda Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-zen1-2-zen (64-bit)
Graphics Platform: X11
1 Like

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