Mounted locations have changed name

Quick to answer questions about finding your way around Linux Mint as a new user.
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.
Locked
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Mounted locations have changed name

Post by gibbs1984 »

OK so turned my computer on today and noticed that the names of the mounted drives have changed name.

In this screenshot you can see that they're called sda1, sda2 and sdb1 but they used to be called Expansion Drive, 52gb drive etc.

Does anyone know how to change the names of them as they look weird now, I've right clicked them and gone to Properties but you can't change anything.

Image

Here is a screenshot of my history of updates:

Image
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 20.3 (Cinnamon) 64bit.
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Mounted locations have changed name

Post by altair4 »

They are changing mountpoint even though you have them automount?

Please post the output of the following commands:

Code: Select all

cat /etc/fstab

Code: Select all

sudo blkid -c /dev/null
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Mounted locations have changed name

Post by gibbs1984 »

altair4 wrote:They are changing mountpoint even though you have them automount?

Please post the output of the following commands:

Code: Select all

cat /etc/fstab

Code: Select all

sudo blkid -c /dev/null
Yeah, they still point to the same place:

sdb1 - External hard drive
sda2 - Windows 7 partition
sda1 - No idea really, something to do with my Windows 7 partition but I can't see any of my data like I can with the sda2 partition

Output of cat /etc/fstab:

Code: Select all

steve@steve-System-Product-Name ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=df1bcfec-770e-440d-951f-a607f7f8604f /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda7 during installation
UUID=ff73aafb-ce2a-4b30-83ef-0db8fbb9820d /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=64d9749e-b098-4ae5-bba1-612d75ecba12 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
steve@steve-System-Product-Name ~ $ 
Output of sudo blkid -c /dev/null:

Code: Select all

steve@steve-System-Product-Name ~ $ sudo blkid -c /dev/null
[sudo] password for steve: 
/dev/sda1: LABEL="RECOVERY" UUID="46509D79509D7083" TYPE="ntfs" 
/dev/sda2: UUID="DA668DEA668DC829" TYPE="ntfs" 
/dev/sda5: UUID="64d9749e-b098-4ae5-bba1-612d75ecba12" TYPE="swap" 
/dev/sda6: UUID="df1bcfec-770e-440d-951f-a607f7f8604f" TYPE="ext4" 
/dev/sda7: UUID="ff73aafb-ce2a-4b30-83ef-0db8fbb9820d" TYPE="ext4" 
/dev/sr0: LABEL="FM2011" TYPE="udf" 
/dev/sdb1: LABEL="Expansion Drive" UUID="24C49FABC49F7E2C" TYPE="ntfs" 
steve@steve-System-Product-Name ~ $ 
Linux Mint 20.3 (Cinnamon) 64bit.
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Mounted locations have changed name

Post by gibbs1984 »

OK, so I tried to unmount one of the devices and got the following error.

I've only run updates from the Update Manager so I don't know why this has all suddenly changed...

Image
Linux Mint 20.3 (Cinnamon) 64bit.
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Mounted locations have changed name

Post by gibbs1984 »

Hmm weird.

Restarted my computer and now my mounts are back to normal, something must have happened on that boot. I'll keep an eye on it to see if it keeps happening as it might be a one off.

Image
Linux Mint 20.3 (Cinnamon) 64bit.
altair4
Level 20
Level 20
Posts: 11460
Joined: Tue Feb 03, 2009 10:27 am

Re: Mounted locations have changed name

Post by altair4 »

EDIT: Posted past each other. If it's fixed now don't mess with things. If it ain't broke .....

Well, there is something definitely odd about these two
/dev/sda1: LABEL="RECOVERY" UUID="46509D79509D7083" TYPE="ntfs"
/dev/sdb1: LABEL="Expansion Drive" UUID="24C49FABC49F7E2C" TYPE="ntfs"
They should be showing up as "Recovery" and "Expansion Drive". But either way none of them should be showing up as sdxy.

All I would suggest is that you have all the internal ntfs partitions defined in fstab so they mount to their proper names or at least ones that you create for them.

[1] Create mount points for the 2 internal NTFS partitions:

Code: Select all

sudo mkdir /media/Recovery
sudo mkdir /media/Win7
[2] Add the following lines to the end of /etc/fstab:

Code: Select all

UUID=46509D79509D7083 /media/Recovery ntfs defaults,noauto 0 0
UUID=DA668DEA668DC829 /media/Win7 ntfs defaults,nls=utf8,uid=1000,umask=000,windows_names 0 0
[3] If you currently have sda1 or sda2 mounted unmount them.
[4] The run the following command to test for syntax errors and mount the partitions to their new mount points:

Code: Select all

sudo mount -a
That should take care of the 2 internal ntfs partitions - doesn't fix the external one showing up incorrectly though.

BTW, the "RECOVERY" partition I have set as "noauto" in fstab so it shouldn't mount and shouldn't show up anywhere. Shouldn't be going in there anyway.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Mounted locations have changed name

Post by gibbs1984 »

Thanks for taking the time to help me though altair4 :)

If it happens again I may try what you suggested below but like you say whilst it's working I won't try and fix it ;)
Linux Mint 20.3 (Cinnamon) 64bit.
Locked

Return to “Beginner Questions”