this post was submitted on 27 Jul 2025
24 points (96.2% liked)

Linux

56776 readers
549 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Hey there! Windows refugee here looking for some help.

I was trying to setup Samba and get a directory shared from the external drive I have connected to my Pi. Got frustrated as I couldn't make a connection from my laptop or PC and decided to yank the drive and plug it direct to the PC, but getting this unknown error now mounting the drive anywhere. I was messing around with the samba conf file replacing the number/letter string back to the drive name--i had gotten an error previously, maybe due to the spaces, so used this string instead. I think I had started looking into mounting the drive but can't find any terminal commands I ran in that respect, and I got interrupted so can't remember what I was doing. I tried putting the path back to the string but no luck. Can someone point me in the right direction?

top 6 comments
sorted by: hot top controversial new old
[–] tgxn@lemmy.tgxn.net 11 points 2 days ago* (last edited 2 days ago) (1 children)

looks like you're not even able to mount it, I'd start with that. it could be a few reasons, maybe it's ntfs format and needs a checkdisc, have a look in lsblk for details, and I'd have a look in dmesg --follow and see if you can find the error.

[–] wizblizz@lemmy.world 3 points 2 days ago (1 children)

Thanks, saving these! It is NTFS, found it had been flagged as dirty and was in fact recommending chkdsk. Chkdsk didn't find anything to fix, but its mountable again back in linux. I figured NTFS would be fine since I'm dual booting (separate drives) while I get used to Linux. Should I power off the Pi before removing next time?

[–] anistorian@lemmy.world 3 points 2 days ago

Nah, you can just sudo umount /path/to/device and then remove it. No need to power off the pi.

[–] tun@lemmy.zip 6 points 2 days ago (1 children)

I would do the following step-by-step

  • manual mounting the drive
  • sharing via samba
  • auto mount

while doing the steps, i would

  • read wiki.archlinux.org when I need help on those steps
  • read cyberciti.biz tutorials on those topics
  • use explainshell.com to learn details about the commands I need to enter
[–] wizblizz@lemmy.world 3 points 2 days ago (1 children)

RTFM, always good advice. Thanks

[–] the_wiz@feddit.org 3 points 1 day ago

Honestly? It is.

Getting a understanding of what you do is something that is moving towards "lost arts" territory regarding everything computer related. Yeah, you will not get the solution to your problem THAT FAST, but if you find out why the thing you want to do did not work and understand how to make it work you will benefit in the long run.