#Hard drive mounted on media is causing issues
269 messages · Page 1 of 1 (latest)
you can edit the mount point in disks app and select it to mount on startup
Where would you recommend mounting it in. I use it for gaming as well.
/media/games
Do I just need edit mount point to /media/games? Also do I need to change file system type from auto to ext4 and identify as to dev/sbd2 or something else?
I recommend in /home/$user/games
make the folder first ofc.
then type exact path in that field saying Mount Point
ofc replace $user with your own user account name
Thank you for responding. I mounted my home on SSD, so when I switch distro and wipe my SSD will it delete everything on my hard drive?
no the data resides on the hard drive.
What about the filesytem type and identify as do I leave me as it is?
leave alone as is
setting a mount point (ie: assigning a folder in the linux file structure) is similar to assigning a drive letter in Windows.
samples of folder names used as mountpoint locations:
- E-drive
- HDD2
- MyBigDrive
- Other
- Western Digital 500
I prefer no spaces in stuff cuz it's easier to deal with in case of manual CLI stuff
you can later also drag the folder to the left pane in the file manager's "Bookmarks" or "locations" area to set a bookmark to it there
Thanks a lot. This was very helpful.
also, if you do keep a separate drive or partition for userhome, then if you distrohop later, you can do the "Something Else" advanced setup, and make it so NOT to overwrite home partition, but still have it mount that in /home. That way you keep your settings n pics n stuff.
In that case, where would I mount my hard drive if home inside of it.
you'd repeat the process of making a mountpoint manual again either in Disks application or by direct editing the new system's fstab file
eg:
- current SSD or HDD having linux main install on it
- current home partition related to the above lives on a 2nd SSD
- games hard drive manually added to automount somewhere
in the above example, if you change distros at some point, or reinstall the same one, you'd have the linux filesystem root (represented as /) be in a main ext4 partition of the first bullet point. (and tick the Format tickbox)
and you'd tell the installer to set the second bullet point above device to use as or mount in: /home and NOT tick the Format tickbox.
Thanks, I understand the Linux file system a lot better now. I have one final question, can I add anything to folder where my HDD is located on, will it mess it up?
you may add whatever to the games drive or remove stuff. Just bear in mind, if it is NTFS, and u use linux to write to it a lot, it may go a bit screwy on u. You'll need Windows tools (chkdsk) to correct the filesystem every so often
- Hirens Boot CD PE is a live repair OS which also contains a Windows-like interface and comes with command prompt for chkdsk
if you're going to use the HDD on Linux full time, best to wipe it and reformat to ext4 for a much better overall experience.
It's already in ext4 format but thanks anyway
Will it cause me problems in the future?
it's fine to leave it. that space can be used for an EFI partition way way down the road if u ever choose to make that disk bootable and with an OS.
it's not taking much so leave it
Thanks. That's all the question I had to ask, should I edit the post to solved.
yes please do
Done. Thanks again!
um make sure letters match precisely
from what u entered in the Disks app.
plus u need a restart.
They are matching and I restarted the pc
check the Disks app now.
Maybe it has do something with file system label?
not really.
if it identifies by UUID, it shouldnt matter
so i guess if u dont see a play symbol in the hard drive rectangle in Disks, then it really did not mount
see if u can straighten it out
I see play a button? let me send screenshot
click the blue text under the diagram
I clicked but the results are the same
it takes me back here
then change the label to match the folder name exactly
Okay
There were many other files and it should show free space of 850gibs instead of the 122gb which is the free space for my ssd
ah
ur drive's almost full. that is what the file manager is telling you.
you can use the program Disk Usage Analyzer to see what's taking up so much of your hard drive.
no its showing drive
This some kind error
both drive merged or something like
Because hdd always had around 150 or under
notice Size of data, and the number of files. does it sound right?
If go home dir or anywhere my ssd is located shows storage of 122
No they are different
ur on Mint Cinnamon right?
yes'
okay
then click the pathbar at the top, and the little dot arrow beside it to enter text
then put in /home/<youruser>/HDD-1tb
and press enter
what do you see?
same thing as before
go back to this. press the stop button. Does it unmount?
I get the error
ah
and steam shows my ssd with name of hdd
yeah i see the size there
ok we'll see if can fix
close steam fully
make sure it's not in tray or anywhere
Okay done
open terminal and do lsblk
then show pic
sudo umount /dev/sdb2
ready?
ok next do sudo fsck /dev/sdb2
let it run til done
ok
some server thing using the drive?
I don't understand
is there an application like file share app that is running in background?
I'm using discord from firefox
that's fine
show your home partition highlighted in Disks app
oh you dont have a separate home partition
thought u did.
that is the root partition anyway,.
oh
the hard drive only had steamapps right?
it had 10 or more folders
did any of those folders begin with a dot in the name?
Many because I checked hidden files
ok so just open file manager, and press ctrl H and view the drive now
Sorry can we continue tomorrow, where I am from it's past 11:30
yes but just check the last thing.
what appears?
click the device representing the hard drive
same result
or the HDD-1tb folder in the home
anyway run Disk Usage Analyzer like I said before
and point it to that disk. it should find all the stuff. tomorrow u can redo the mount.
bit weird the 2nd pic. hover or click those red ringlike sectors. what are the folders?
alright ttyl
@void basalt lmk when you are available
Hello @void basalt could we continue from where we left off yesterday
then backup the fstab file in /etc/
go up one level, r-click & open as root
Okay I created a folder
where is mgr
u will undo the mount at startup thing. and set the toggle to use user defaults to on
you will then hilight and copy the UUID of that drive
/etc
there is no fstab.bak til u make a copy of fstab there
and name it such
so I just need to name a folder as fstab.bak in etc?
then while still in root file mgr, open fstab
copy n paste fstab to same location, then rename one
same location as in etc?
then delete the line regarding yesterdays's entry for the hdd
yes
then after deleting that line replace it with:
UUID=<paste the uuid from Disks>
on that same line. press Tab and fill in the rest
reflecting new mountpoint place in /mnt/whatever-no-spaces
folder name should have no spaces in name, and mind the exact lettercase
is UUID the thing above mount point
type is ext4
but Im unable to copy it
ctrl c
its one with the drop down menu right?
no
below this
yhe one highlighted?
ok got it
uncheck mount and reverse the toggle in last pic
I unchecked before but it reverted after enabling user default
close fstab if open
I meant the mount options
w/e show now
do i need to create a new folder in fstab because I can't paste the uuid
w/e?
leave that for now
okay
should I continue with the copy fstab now?
u can copy it to desktop
UUID? can't paste it anywhere
did u backup the file?
not yet
okay done
yeah
I don't understand
.
um
I was not using the terminal this whole time
I think I might missed some steps
pls forgive me I'm a day 4 linux user
😢
review what I wrote, and see sample pic, then save it and reboot
I'm stuck in this step. I can't paste the uuid anywhere in fstab
u have to highlight it first in disks app, then ctrl-c
i did that
then paste to file
like inside it?
go here and highlight n copy it
of course
but paste option is greyed
open the file and ss it
crtl v doesn't work
ss?
screenshot
go up one level, delete that folder
done
should I use search
I backed it up
delete old line pertaining to hdd
add new instead.
use my sample pic as guide
then save and reboot
on it
I can't tell which line belongs to the belonging to hdd
it's not there, just add new
uuid?
and match last line of my sample
except specify the mount point path u made in /mnt/ before
I'm doing something wrong right?
Instructions unclear
nah but u can hit tab to space it better
oh
specify that there
I don't understand what you mean by specify here
in this context
copy paste?
And what do I space better the entire thing or something specific
Align it with what
.
sorry I'm slow with the up take, I still don't get what you mean by here
what do I align it with
forget alignment just put the new mount location path where i wrote HERE
and get rid of that line symbol u put
where?
sorry this is all too vague for me
idk this my first time messing around with this
In this video we look at the process of adding a new hard drive to an existing Linux System.
Check out http://www.ezeelinux.com for more about Linux.
your being too vague I'm not techsavvy
follow that
Can you at least tell me what the problem is or will clean installing mint fix this