[SOLVED] Using my Drives

Message
Author
User avatar
Griffy
Posts: 51
Joined: Tue Sep 19, 2023 1:04 pm

[SOLVED] Using my Drives

#1 Post by Griffy »

I have two 1tb internal drives (ext3 formatted with gparted) that I can see but not use. I have tried using the command line to change permissions but am continuously denied. Are there any tips or special tricks that I need to know in order to use them?
Last edited by Griffy on Thu Oct 05, 2023 2:15 pm, edited 1 time in total.

User avatar
CharlesV
Administrator
Posts: 7939
Joined: Sun Jul 07, 2019 5:11 pm

Re: Using my Drives

#2 Post by CharlesV »

Welcome in!

Please post your QSI ( MX Menu | Quick System Info | Copy for Forum | paste here )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Charlie Brown

Re: Using my Drives

#3 Post by Charlie Brown »

Griffy wrote: Tue Sep 19, 2023 1:10 pm... tried using the command line to change permissions but am continuously denied...
How did you try it exactly?

User avatar
Griffy
Posts: 51
Joined: Tue Sep 19, 2023 1:04 pm

Re: Using my Drives

#4 Post by Griffy »

I tried changing the permissions with chmod commands.

Code: Select all

System:
  Kernel: 6.1.0-12-amd64 [6.1.52-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-12-amd64 root=UUID=<filter> ro quiet splash
  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.26.0 Distro: MX-23_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: P8Z68-V PRO v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 3402 date: 05/07/2012
CPU:
  Info: model: Intel Core i7-2600K bits: 64 type: MT MCP arch: Sandy Bridge gen: core 2 level: v2
    built: 2010-12 process: Intel 32nm family: 6 model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  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: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3904 high: 4500 min/max: 1600/5900 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 4500 2: 3922 3: 4167 4: 4500 5: 1600 6: 3543 7: 4500 8: 4500
    bogomips: 54402
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  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: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-6 code: Sandybridge process: Intel 32nm built: 2011 ports:
    active: HDMI-A-1 empty: DP-1, DP-2, DP-3, HDMI-A-2, HDMI-A-3, VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0122 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48") s-diag: 599mm (23.57")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Samsung SyncMaster serial: <filter> built: 2008
    res: 1920x1200 hz: 60 dpi: 89 gamma: 1.2 size: 550x340mm (21.65x13.39") diag: 647mm (25.5")
    ratio: 16:10 modes: max: 1920x1200 min: 640x480
  API: OpenGL v: 3.3 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 3000 (SNB GT2)
    direct-render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 6
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
  API: ALSA v: k6.1.0-12-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 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 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe driver: e1000e v: kernel
    port: f080 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: ASUSTek Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 2-1.7:6
    chip-ID: 0b05:179c class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0
    sub-v: 9999 hci-v: 3.0 rev: 9999
  Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 1.94 TiB used: 11.1 GiB (0.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: M4-CT128M4SSD2 size: 119.24 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 0009 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD1001FALS-00J7B0 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0K05
    scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 118.99 GiB size: 116.56 GiB (97.96%) used: 11.1 GiB (9.5%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 27.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2078 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/librewolf.sources
    1: deb [arch=amd64] https://deb.librewolf.net bookworm main
Info:
  Processes: 247 Uptime: 19m wakeups: 1 Memory: 7.65 GiB used: 1.8 GiB (23.5%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12 Client: shell wrapper
  v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Charlie Brown

Re: Using my Drives

#5 Post by Charlie Brown »

What about the "ownership" ( "chown" ) ?

viewtopic.php?p=709003#p709003

User avatar
Eadwine Rose
Administrator
Posts: 15164
Joined: Wed Jul 12, 2006 2:10 am

Re: Using my Drives

#6 Post by Eadwine Rose »

*whistles about just linking* Told you many times.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Griffy
Posts: 51
Joined: Tue Sep 19, 2023 1:04 pm

Re: Using my Drives

#7 Post by Griffy »

It says "cannot access 'media/ricky/sdb' " lsblk says that's the name. I know I could be wrong, if I am I want to know how.

Charlie Brown

Re: Using my Drives

#8 Post by Charlie Brown »

When all (whichever you want to change) are mounted (there) you can use the *

... /media/ricky/*

Code: Select all

sudo chown -R 1000:1000 /media/ricky/*
or

Code: Select all

sudo chown -R ricky:ricky /media/ricky/*

User avatar
Griffy
Posts: 51
Joined: Tue Sep 19, 2023 1:04 pm

Re: Using my Drives

#9 Post by Griffy »

Thanks! It was mounted. I had to use the label I gave it. I knew it could be my fault somehow. How can I make the drives auto mount at startup now? :happy:

Charlie Brown

Re: Using my Drives

#10 Post by Charlie Brown »

Just "Disk Manager" from menu. Simple to use , gui :)

Post Reply

Return to “Hardware /Configuration”