Which Hard Drive is Storing my Files - SOLVED
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Which Hard Drive is Storing my Files - SOLVED
Hello - I am a total novice to Linux and really need some help, please. I have just completed a clean install of Linux Mint 20.2 Cinnamon on my PC, which went fairly smoothly. I have been finding my way around and adding software, doing updates etc. enjoying what I am finding. What I can't seem to find is which of my two hard drives are being used for my main storage and which is being used by Linux. I have a 240GB Sata3 SSD and a 1TB Sata3 HDD. I have been using Windows since the late '80s so I know nothing about how to work with Linux. Please be gentle - I never even knew what a 'Terminal' was until after I had installed Linux! Thank you in advance for your help.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Which Hard Drive is Storing my Files
barring you having done anything special, everything is saved to the root filesystem, which is contained on the drive you installed LM to.
Re: Which Hard Drive is Storing my Files
Thank you for your reply. I just followed the instructions on installing Linux Mint. During the install I was asked if I wanted to set up any partitions, but I didn't. The system drive for my Windows installation was a 500GB SSD and my files were stored on a 1TB HDD. I don't know if Linux works in a similar way to Windows and installed on the SSD, or the HDD. I really don't know what to do next. Apologies for being a bit dim, but as I mentioned, I am a total novice!
Re: Which Hard Drive is Storing my Files
It installed where-ever you told it to install.
Are you asking how to determine what you told the installer to do, because you don't remember?
Are you asking how to determine what you told the installer to do, because you don't remember?
Re: Which Hard Drive is Storing my Files
Judging by that info:
500GB Windows system drive
240GB SSD for data
1TB SSD for data
If you simply used automated install, not selecting "Something else" or changing any other options, I would assume you dragged the slider bar to downside the Windows partition and create enough room for the Mint install, then Linux would've installed to that 500GB drive.
You can use this terminal command, and it will show you a web page at termbin.com, you can show us that link. command is
500GB Windows system drive
240GB SSD for data
1TB SSD for data
If you simply used automated install, not selecting "Something else" or changing any other options, I would assume you dragged the slider bar to downside the Windows partition and create enough room for the Mint install, then Linux would've installed to that 500GB drive.
You can use this terminal command, and it will show you a web page at termbin.com, you can show us that link. command is
upload-system-info
Re: Which Hard Drive is Storing my Files
You can also go to your LM menu, where the "start" menu for Windows would be in lower left corner, and type in "syst" (no quotes) then choose "System Monitor". This will show you which devices (drives) your / and /home partitions are on. A drive is designated as /dev/sda or /dev/sdX where X is a, b, c, etc A partition on a drive is /dev/sda1, /dev/sda2 etc. Use the info in System Monitor in conjunction with the info from Disks, as @ChickyNugglez suggested, and you should have your system layout.
As to what you mean by your "main storage" is anybody's guess. The non-Linux drive will not show up in Nemo, the FileViewer app, if it is not mounted. Read up on Linux file systems, mounting partitions, and fstab. This will be well worth your time if you plan to stick with Linux
As to what you mean by your "main storage" is anybody's guess. The non-Linux drive will not show up in Nemo, the FileViewer app, if it is not mounted. Read up on Linux file systems, mounting partitions, and fstab. This will be well worth your time if you plan to stick with Linux
Last edited by Daisuke on Mon May 16, 2022 10:09 pm, edited 2 times in total.
Re: Which Hard Drive is Storing my Files
Thank you all for your replies. I will have to work on this later in the week and try to sort out what I have or haven't done. Answering the comment on what I meant by main storage, I guess once again this is from my Windows days. I always had a separate storage drive to a system drive. I will let you know how things are working out at the weekend. Thanks again.
Re: Which Hard Drive is Storing nomy Files
I edited my last reply so please have another quick peek. Welcome to Linux Mint!
Re: Which Hard Drive is Storing my Files
The command
Feel free to post and ask questions about it. You have something of a learning curve ahead of you, but everyone here likes to help.
One thing that may confuse you is that in Linux, you have one "root" drive, like the system drive in Windows, but rather than other drives having separate drive letters with their own tree structure, they appear as the contents of folders within the one-and-only root filesystem. For example, if you plug a CD in it will likely appear in /media/yourname/CDROM, not as a separate drive letter. So other drives are just a branch/sideshoot of the tree. In fact I suspect that Linux actually boots with and empty / filesystem and then reads and mounts the system drive into that totally empty root (I'm guessing).
lsblk
will show the information you need in a compact form. lsblk -fmap
gives more info, some of which can be very useful. The output of those is easy to copy and paste into a post in this forum if needed. System Moniotor (as Daisuke suggested) shows much the same info in graphical form.Feel free to post and ask questions about it. You have something of a learning curve ahead of you, but everyone here likes to help.
One thing that may confuse you is that in Linux, you have one "root" drive, like the system drive in Windows, but rather than other drives having separate drive letters with their own tree structure, they appear as the contents of folders within the one-and-only root filesystem. For example, if you plug a CD in it will likely appear in /media/yourname/CDROM, not as a separate drive letter. So other drives are just a branch/sideshoot of the tree. In fact I suspect that Linux actually boots with and empty / filesystem and then reads and mounts the system drive into that totally empty root (I'm guessing).
Re: Which Hard Drive is Storing my Files
Thank you to everyone who has been kind enough to reply to my questions. I am now back in my office for at least 10 days now, so hopefully, I can get this sorted with everyone's help. I have opened Disk and Disk Usage Analyser. Looking at the analyser, my 1TB Hard Disk isn't mounted. I have taken screenshots of both, although not sure if it is permitted to add these to a post? Please advise. Thank you.
I have also tried to update to Linux Mint 20.3 without success. Receiving Error Messages - I have screenshots of these as well!
I have also tried to update to Linux Mint 20.3 without success. Receiving Error Messages - I have screenshots of these as well!
Re: Which Hard Drive is Storing my Files
sure, you can post images (although they need to be smallish -- might be better to use a picture hosting site or similar).
Or just use terminal commands and post the ouput in [ code ] tags (the
Or just use terminal commands and post the ouput in [ code ] tags (the
</>
button).Re: Which Hard Drive is Storing my Files
Thanks for your guidance. System Monitor shows two drives /dev/sda5 - the details are identical apart from one showing a /run/timeshift/t Directory. The third drive is /dev/sda1 (Directory /boot/efi Type vfat) I have taken your advice and have started to look into mounting partitions and fstab. Thanks again.Daisuke wrote: ⤴Mon May 09, 2022 1:24 pm You can also go to your LM meno, where the "start" menu for Windows would be in lower left corner, and type in "syst" (no quotes) then choose "System Monitor". This will show you which devices (drives) your / and /home partitions are on. A drive is designated as /dev/sda or /dev/sdX where X is a, b, c, etc A partition on a drive is /dev/sda1, /dev/sda2 etc. Use the info in System Monitor in conjunction with the info from Disks, as @ChickyNugglez suggested, and you should have your system layout.
As to what you mean by your "main storage" is anybody's guess. The non-Linux drive will not show up in Nemo, the FileViewer app, if it is not mounted. Read up on Linux file systems, mounting partitions, and fstab. This will be well worth your time if you plan to stick with Linux
Re: Which Hard Drive is Storing my Files
Thanks for the information. Unfortunately, I am a total novice, particularly on Linux. I used to consider myself 'computer literate' - then I switched to Linux! Total numpty now! I have only used Terminal when inputting suggested commands from Linux users. Such a long way to go....
Re: Which Hard Drive is Storing my Files
enjohn wrote: ⤴Mon May 16, 2022 10:11 am Thanks for your guidance. System Monitor shows two drives /dev/sda5 - the details are identical apart from one showing a /run/timeshift/t Directory. The third drive is /dev/sda1 (Directory /boot/efi Type vfat) I have taken your advice and have started to look into mounting partitions and fstab. Thanks again.
/run/timeshift
is the mountpoint for timeshift backups, when saving to a secondary drive / partition./boot/efi
is necessary for UEFI-style (i.e. modern) boot sequences. Don't worry too much about it -- we all started at the beginning. You'll find that if you've used Windows "cmd" utility (or even DOS) for things, a lot of the commands will be semi-familiar (e.g. CMD'senjohn wrote: ⤴Mon May 16, 2022 10:16 amThanks for the information. Unfortunately, I am a total novice, particularly on Linux. I used to consider myself 'computer literate' - then I switched to Linux! Total numpty now! I have only used Terminal when inputting suggested commands from Linux users. Such a long way to go....
dir
command is now ls
, cd
is the same (albeit paths are less insane), CMD's ipconfig
is now ip a
, and so on)The
lsblk
command will give you the listing of partitions and (if mounted), their current mount points. For example, my laptop:Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
├─nvme0n1p2 259:2 0 464.3G 0 part /
└─nvme0n1p3 259:3 0 976M 0 part [SWAP]
sda
and sdb
Re: Which Hard Drive is Storing my Files
Thanks once again. The information regarding the WIndows "cmd" dir and ipconfig is very helpful and will help me get my head around things later on.
I did as you suggested with the lsblk command which produced the following:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 223.1G 0 part /run/timeshift/backup
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 16M 0 part
└─sdb2 8:18 0 931.5G 0 part
sr0 11:0 1 1024M 0 rom
Apologies for the text - I tried copying and pasting from the terminal based on other posts, but afraid this is the best I can do!
I did as you suggested with the lsblk command which produced the following:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 223.1G 0 part /run/timeshift/backup
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 16M 0 part
└─sdb2 8:18 0 931.5G 0 part
sr0 11:0 1 1024M 0 rom
Apologies for the text - I tried copying and pasting from the terminal based on other posts, but afraid this is the best I can do!
Re: Which Hard Drive is Storing my Files
Thanks once again. The information regarding the WIndows "cmd" dir and ipconfig is very helpful and will help me get my head around things later on.djph wrote: ⤴Mon May 16, 2022 10:46 amenjohn wrote: ⤴Mon May 16, 2022 10:11 am Thanks for your guidance. System Monitor shows two drives /dev/sda5 - the details are identical apart from one showing a /run/timeshift/t Directory. The third drive is /dev/sda1 (Directory /boot/efi Type vfat) I have taken your advice and have started to look into mounting partitions and fstab. Thanks again./run/timeshift
is the mountpoint for timeshift backups, when saving to a secondary drive / partition.
/boot/efi
is necessary for UEFI-style (i.e. modern) boot sequences.
Don't worry too much about it -- we all started at the beginning. You'll find that if you've used Windows "cmd" utility (or even DOS) for things, a lot of the commands will be semi-familiar (e.g. CMD'senjohn wrote: ⤴Mon May 16, 2022 10:16 amThanks for the information. Unfortunately, I am a total novice, particularly on Linux. I used to consider myself 'computer literate' - then I switched to Linux! Total numpty now! I have only used Terminal when inputting suggested commands from Linux users. Such a long way to go....dir
command is nowls
,cd
is the same (albeit paths are less insane), CMD'sipconfig
is nowip a
, and so on)
Thelsblk
command will give you the listing of partitions and (if mounted), their current mount points. For example, my laptop:
Note that I have an NVMe drive, whereas your SATA-connected drives will beCode: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 465.8G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 464.3G 0 part / └─nvme0n1p3 259:3 0 976M 0 part [SWAP]
sda
andsdb
I did as you suggested with the lsblk command which produced the following:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 223.1G 0 part /run/timeshift/backup
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 16M 0 part
└─sdb2 8:18 0 931.5G 0 part
sr0 11:0 1 1024M 0 rom
Apologies for the text - I tried copying and pasting from the terminal based on other posts, but afraid this is the best I can do!
Re: Which Hard Drive is Storing my Files
You just missed sticking it in [ code ] tags (again, thatenjohn wrote: ⤴Mon May 16, 2022 11:59 am
I did as you suggested with the lsblk command which produced the following:Apologies for the text - I tried copying and pasting from the terminal based on other posts, but afraid this is the best I can do!Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 223.1G 0 part /run/timeshift/backup sdb 8:16 0 931.5G 0 disk ├─sdb1 8:17 0 16M 0 part └─sdb2 8:18 0 931.5G 0 part sr0 11:0 1 1024M 0 rom
</>
looking button). I've done so in the quoted text.Are you perhaps running this command from the live session (i.e. the USB install media) ?
Re: Which Hard Drive is Storing my Files
I did try to paste it into the code tags but it produced the same mess! Need to practice! I don't think I'm running from the live session. Where should I look to check?djph wrote: ⤴Mon May 16, 2022 12:25 pmYou just missed sticking it in [ code ] tags (again, thatenjohn wrote: ⤴Mon May 16, 2022 11:59 am
I did as you suggested with the lsblk command which produced the following:Apologies for the text - I tried copying and pasting from the terminal based on other posts, but afraid this is the best I can do!Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 223.1G 0 part /run/timeshift/backup sdb 8:16 0 931.5G 0 disk ├─sdb1 8:17 0 16M 0 part └─sdb2 8:18 0 931.5G 0 part sr0 11:0 1 1024M 0 rom
</>
looking button). I've done so in the quoted text.
Are you perhaps running this command from the live session (i.e. the USB install media) ?
Re: Which Hard Drive is Storing my Files
if you open terminal and the prompt is
(or when the LM USB menu comes up, select the "boot off primary disk" option).
mint@mint
then you're on the live session. Reboot / pull the USB when it tells you to, and boot off the main HDD.(or when the LM USB menu comes up, select the "boot off primary disk" option).
Re: Which Hard Drive is Storing my Files
Here is a screenshot of my SystemMonitor taken a while ago. If you click on the screenshot, you will get a larger, easier to read view.enjohn wrote:Thanks for your guidance. System Monitor shows two drives /dev/sda5 - the details are identical apart from one showing a /run/timeshift/t Directory. The third drive is /dev/sda1 (Directory /boot/efi Type vfat) I have taken your advice and have started to look into mounting partitions and fstab. Thanks again.Daisuke wrote: You can also go to your LM meno, where the "start" menu for Windows would be in lower left corner, and type in "syst" (no quotes) then choose "System Monitor". This will show you which devices (drives) your / and /home partitions are on. A drive is designated as /dev/sda or /dev/sdX where X is a, b, c, etc A partition on a drive is /dev/sda1, /dev/sda2 etc. Use the info in System Monitor in conjunction with the info from Disks, as @ChickyNugglez suggested, and you should have your system layout.
Notice the first two column headings: Device and Directory. For your question, these are the important ones. Using this as an example, the most important lines for any Linux system are in the first row and the fourth row. In this screenshot, the first row is highlighted. The device (i.e. partition on the /dev/sda drive) is /dev/sda1. It is mapped to the / directory. The fourth row is the partition /dev/sda3 which is mapped to the /home directory. All the devices starting with /dev/sdaX are on the same physical hard drive. You should have something similar I think.
Now when you open nemo, the file browser on Linux Mint Cinnamon, on the left hand side navigation pane, you should see directories labeled Home and File System. If you click on Home, and look in the text bar at the top of the window, it will give the full path to YOUR home directory which should be something like /home/enjohn or whatever your user name is. Similarly, if you click on the File System entry on the left, and then look in the text bar at the top of the window, it will show the path /. Linux operating system files are in / and your personal configuration files and data files are in /home/enjohn.
Please take a screenshot of your SystemMonitor with the FileSystems tab selected. The Screenshot tool is also in the Menu. Save it to your desktop for now. Then use the attachments tab to paste it here so we can see all the relevant info.
Don't give up!