[dundee] Renaming an HDD

Andrew Clayton andrew at digital-domain.net
Tue Mar 10 12:43:48 UTC 2015


On Tue, 10 Mar 2015 10:35:08 +0000, Malcolm wrote:

> Morning all.
> 
> Is this possible?  I've two identical HDDs both with PCLinuxOS on
> them, one old version, one newer version.  This means the partitions
> are the same and I can't tell the discs apart

Obviously they will show up as different devices, e.g /dev/sda*
and /dev/sdb*

If you run the findmnt utility from a terminal that should show you
what is currently mounted as what.

You could then change the volume label's on the old drive. How to do
this will vary depending on filesystem.

For ext* use tune2fs -L new-label /dev/DEVICE, for xfs use xfs_admin
-L new-label /dev/DEVICE

Where DEVICE is the location of the filesystem in question,
e.g /dev/sdb1

Cheers,
Andrew



More information about the dundee mailing list