from wizblizz@lemmy.world to linux@lemmy.ml on 27 Jul 15:21
https://lemmy.world/post/33551748
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?
threaded - newest
I would do the following step-by-step
while doing the steps, i would
RTFM, always good advice. Thanks
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.
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.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?
Nah, you can just sudo umount /path/to/device and then remove it. No need to power off the pi.