Partition Access Issue

Hello everyone, I will just start by throwing my inxi details out there…

 ╭─fenris@fenris in ~ took 13ms
 ╰─λ garuda-inxi
System:
  Kernel: 6.1.61-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=0aec1b80-acf5-4c03-b7ec-23a5b53001b6 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=d0305655-a1d7-4f5a-9bad-37ed6b2bfae4 loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-C v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 0404
    date: 12/28/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech M705 serial: <filter> charge: 90%
    rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i3-7100 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: 0xF4
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 800 min/max: 800/3900 scaling: driver: intel_pstate
    governor: performance cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 31211
  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: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: HDMI-A-3
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5912
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.9 compositor: xfwm v: 4.18.0 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa dri: i965
    gpu: i915 display-ID: :0.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: HDMI-A-3 mapped: HDMI3 model: Acer G247HYL serial: <filter>
    built: 2016 res: 1920x1080 hz: 60 dpi: 92 gamma: 1.2
    size: 530x300mm (20.87x11.81") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: Vulkan v: 1.3.269 layers: 5 device: 0 type: integrated-gpu name: Intel
    HD Graphics 630 (KBL GT2) driver: mesa intel v: 23.2.1-arch1.2
    device-ID: 8086:5912 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
    16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  API: ALSA v: k6.1.61-1-lts status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.84 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 Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel 82571EB/82571GB Gigabit Ethernet D0/D1
    vendor: Hewlett-Packard NC360T Dual Port Server driver: e1000e v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 4 port: e020 bus-ID: 01:00.0
    chip-ID: 8086:105e class-ID: 0200
  IF: enp1s0f0 state: down mac: <filter>
  Device-3: Intel 82571EB/82571GB Gigabit Ethernet D0/D1
    vendor: Hewlett-Packard NC360T Dual Port Server driver: e1000e v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 4 port: e000 bus-ID: 01:00.1
    chip-ID: 8086:105e class-ID: 0200
  IF: enp1s0f1 state: down mac: <filter>
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives:
  Local Storage: total: 4.55 TiB used: 1.08 TiB (23.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD40EFPX-68C6CN0 size: 3.64 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A81 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD10JPLX-00MBPT0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: HDD rpm: 7200 serial: <filter> scheme: MBR
Partition:
  ID-1: / raw-size: 500 GiB size: 500 GiB (100.00%) used: 35.38 GiB (7.1%)
    fs: btrfs dev: /dev/sda3 maj-min: 8:3
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 576 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 1.14 TiB size: 1.14 TiB (100.00%)
    used: 312.97 GiB (26.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-4: /var/log raw-size: 500 GiB size: 500 GiB (100.00%)
    used: 35.38 GiB (7.1%) fs: btrfs dev: /dev/sda3 maj-min: 8:3
  ID-5: /var/tmp raw-size: 500 GiB size: 500 GiB (100.00%)
    used: 35.38 GiB (7.1%) fs: btrfs dev: /dev/sda3 maj-min: 8:3
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 23.35 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 6 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 303 Uptime: 30m wakeups: 0 Memory: total: 24 GiB
  available: 23.35 GiB used: 5.02 GiB (21.5%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1744 libs: 457 tools: pamac,paru,yay Shell: Bash v: 5.2.15
  running-in: xfce4-terminal inxi: 3.3.31
Garuda (2.6.17-1):
  System install date:     2023-08-25
  Last full system update: 2023-11-05
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            vmware.service 

 ╭─fenris@fenris in ~ took 2s
 ╰─λ 

Here is the scoop, I have lost access to all my partitions. I don’t know how long I have lost access to my partitions that I made on this new hard drive with Garuda on it, but the time I need to use it, is the time it doesn’t function for me (big shock). I also notice that when I plug a flash drive or USB hard drive in, it shows up but as read only. I can’t seem to break that cycle.

There are Virtual Machines on my partition, yes it’s in NTFS and it has to be to do what I need to do unfortunately. I have attached a screen shot to show you my problem in the best detail possible:

I was unable to find anything related to my problem, but I thought this was similar to my issue Can't mount hard drive after system crash - #10 by tbg I thought ntfs3 would help, it did not

 ╭─fenris@fenris in ~ as 🧙 took 9s
 ╰─λ sudo ntfsfix /dev/sda5
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... FIXED
NTFS volume version is 3.1.
NTFS partition /dev/sda5 was processed successfully.

 ╭─fenris@fenris in ~ as 🧙 took 228ms
 ╰─λ sudo mount -t ntfs-3g /dev/sda5
[sudo] password for fenris:         
mount: /dev/sda5: can't find in /etc/fstab.

 ╭─fenris@fenris in ~ as 🧙 took 4s
[🔴] × 

I don’t know what to do to get access to my partition with data on it, or be able to properly write data to USB media like flash drives. Any ideas? I’m all ears

You haven’t mentioned the mount point in the command. As you can see in the post you linked,

ofc, the mount point /mnt/ntfs-junk used here is just an example and you can substitute it with some other mount point. As long as the directory exists.

1 Like
 ╭─fenris@fenris in ~ as 🧙 took 4s
[🔴] × sudo blkid -o list
[sudo] password for fenris:         
device     fs_type label    mount point    UUID
-------------------------------------------------------------------------------
/dev/sda1  vfat             /boot/efi      7716-2516
/dev/sda2  swap             [SWAP]         d0305655-a1d7-4f5a-9bad-37ed6b2bfae4
/dev/sda3  btrfs   root     (in use)       0aec1b80-acf5-4c03-b7ec-23a5b53001b6
/dev/sda4  btrfs   home     (in use)       0338c7c8-e968-4fe5-983e-dc78c9c294cc
/dev/sda5  ntfs    StoragePartition (not mounted) 70E5519A2D1AB50F
/dev/sdb1  ntfs    Black Drive /run/media/fenris/Black Drive 0022A63222A62D1A
/dev/zram0 swap    zram0    [SWAP]         604fc71c-d04f-4027-b269-f5d1e8606a2b

 ╭─fenris@fenris in ~ as 🧙 took 3s
 ╰─λ 

 ╭─fenris@fenris in ~ as 🧙 took 28ms
[🔴] × sudo mount -t ntfs-3g /dev/sda5 /mnt/70E5519A2D1AB50F
fuse: failed to access mountpoint /mnt/70E5519A2D1AB50F: No such file or directory

Now this is starting to look weird

Do I need to use a mount folder or will the automatic show up on my desktop “StoragePartition” do just fine?

It isn’t do you have a directory called 70E5519A2D1AB50F under /mnt? If the answer is no then the error makes perfect sense.

Here,

sudo mount -t ntfs-3g /dev/sda5 /mnt

and if this doesn’t throw any error then,

ls /mnt

should be showing all your ntfs contents.

2 Likes
 ╭─fenris@fenris in ~ as 🧙 took 529ms
[🔴] × sudo mount -t ntfs-3g /dev/sda5 /mnt

 ╭─fenris@fenris in ~ as 🧙 took 4ms
[🔴] × ls /mnt
'Install Applications'	'Windows (x64)'

So far so good…now I can browse the file system and see the files under mnt. However all my USB drives are read only, is this a separate issue?

Seems likely.
First unmount the pendrive and the storage partition,

sudo umount -l /dev/sda5
sudo umount -l /dev/sdb1

now we make dirs for both these devices under /mnt so that we can mount them,

sudo mkdir /mnt/strpart
sudo mkdir /mnt/usbpart

Then mounting them to their respective partition,

sudo mount -t ntfs-3g /dev/sda5 /mnt/strpart
sudo mount -t ntfs-3g /dev/sdb1 /mnt/usbpart

You don’t need to unmount the storage partition if you decide to mount the USB somewhere else. Just doing this to check if your USB has the same issue as your storage partition.

If the mount is successful browse the /mnt dir and check if you can access everything.

Well, despite there being no mounting icons on my desktop anymore after all of this (which made for easy access), going to the mnt folder lists both partitions in strpart and usbpart. I’m also able to read/write so it looks like that works. Thanks

If you want you can just create two folders in ~/Desktop/ dir like what we did in /mnt dir and mount these storage partitions there.

Or you can also just create soft links to these folders in your Desktop.

You can also automate their mounting using /etc/fstab so that you don’t need to remount them with sudo mount command each startup. You just need to look around a little for that.

A fair warning. Do check if your fstab works before rebooting.
using findmnthttps://serverfault.com/a/977928 and
mount -a → either https://serverfault.com/a/509014 or https://serverfault.com/a/174182

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