replacement disks and mounting points?


Recommended Posts

Hi all,

Forgive me if this is a simple Linux question,, but I'm still dabbling with Linux Mint once in a while...

But... Say I have a external, mounted drive containing files that I can access with applications from within Linux Mint.
Now this drive has become too small. so I move the files over to a larger drive.

Will this new external drive be 'seen' differently in Linux, eg /dev/sdc2 instead of /dev/sdc1?
If so, if I keep my mounting name scheme the same, will Linux still be able to recognize the files on the new drive for any applications that used them before?

I've been browsing the web, but it's a jumble. As always when I dive more into Linux stuff like this.... ;)

cheers for any answers,

rob

 

So you're saying if I swap out one external drive for another, the drive /dev/id will stay the same in Linux?
If so, the mounts I set up for the various folders on the external disk would not have to change too.

I have no physical hardware to test this atm, so still wondering if this would work.

Edited by Dutchie64

It might stay the same, or it might not. Depends on quite a few factors.
Still, even if it changes, it shouldn't matter. Your apps were almost certainly accessing the filesystem via mount points. So you'd simply adjust the given mount point to point to the corresponding new device/partition. Esentially the equivalent of assigning a different drive letter in Windows if that makes it more familiar to you.

This could of course get more tricky if the drive in question contained any system partitions and not just data, as that would have to be taken care of first for the system to start correctly, but it sounds like that's not the case.

@Case_f Thanks for the reply as well.
And yes, the Windows example helps as well to understand what Linux is doing in the background.

I'll see if I can test this out in a VM with some extra drives and see where things could breaks, before I start using this on real hardware.
But the principle is clear now.

Thanks again! :)
 

I would say make sure they use GPT over MBR and mount with the partition GUID instead, the /dev/sd## can change unexpectedly, though are usually tied to how the kernel enumerates over the devices at boot up.

as for the mount point (eg. /media/drivename /mnt/drivename) it's as simple as remounting, most times the auto-mount takes the name from the partition label.

@Matthew S.
Thanks!

MBR doesn't have much use nowadays with the drives being so large now, especially harddisks. I don't think I had a drive set up with MBR for... well.. long time ago ;)
But mounting with the GUID is something to look into as well, as sd## might change as you say.

Linux can be a bit more hands-on, but I always tinkered with Windows as well since 3.0 came out.
So breaking things has become a part of the story here :D

cheers all!

Yep, I thought about mentioning mounting via UUID as well, as that is most definitely more "stable" against devices suddenly enumerating differently if/when a new device is connected (as the /dev/sd## might change as a result of that, but partition UUID will not) and is definitely the recommended way to mount partitions these days, but didn't want to complicate things too much and it seemed like with the drive being external and just swapped one for another, that's less of a concern in this case.

Still, certainly something to familiarize yourself with.

I've already been tinkering on my VM with extra drives, and paths for application files etc.
So far it seems to work as expected. Even with transporting databases from Windows to Linux and changing file paths in those.
So far so good! :)

  • 3 weeks later...
On 19/09/2025 at 23:00, remixedcat said:

what drives and capacities?

All this has been resolved. No need to confuse other  readers here.
Meow? Meow!

  • Haha 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Universal USB Installer 2.0.3.7 by Razvan Serea The Universal USB Installer (UUI) is a powerful bootable USB software tool for creating USB boot drives from ISO files, perfect for installing Linux or Windows, running live systems, or building diagnostic toolkits. This versatile ISO-to-USB software makes it easy to boot from USB and create Live USBs for Linux distributions, Windows setup installers, antivirus tools, and system diagnostic utilities. Whether you need a multisystem Windows Media Creation Tool, a Live USB Linux installer, or an all-in-one PC diagnostic toolkit, UUI offers a reliable and flexible Linux and Windows bootable USB creator. Effortlessly carry your favorite portable operating systems and essential troubleshooting and diagnostic tools on a single flash drive or USB boot stick. Take your preferred Live Linux distributions, Windows installers, recovery software, backup utilities, and diagnostic tools with you, all bootable from a single USB drive. No more juggling multiple USB sticks or complicated bootloaders, UUI consolidates everything into one flexible, multiboot solution. Using this open source USB boot maker software is easy as 123. To create a Linux or Windows bootable USB drive, you simply select your target flash drive, choose your distribution from the list, browse to the ISO file (or choose to download the ISO), and then click Create. Once finished, you should have a ready to run Live USB containing the Live operating system, Windows installation media, or system diagnostics utility, or advanced system cleaner tool you previously selected. Universal USB Installer 2.0.3.7 changelog: Expanded the distro and tool catalog with additional popular Linux ISO entries. Updated: several distro homepage and download links, including Ubuntu Unity, Garuda Linux, Arch Linux, Fedora, Manjaro, and SystemRescue. Fixed: ISOs added via drag and drop (or manually copied to the drive) are now listed in the removal dropdown alongside normally installed distros. Download: Universal USB Installer 2.0.3.7 | 19.4 MB (Open Source) Link: Universal USB Installer Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • You are clueless. The updates are done in the background so the next time you open Edge the updates are applied automatically. There is no need to close all your tabs. Just keep browsing like you normally do. Clearly you don't use Edge and are just one of those haters that complain for the sake of complaining.
    • I don't get this David. Can you explain it please.  
    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
  • Recent Achievements

    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!