Use the device mapper. Instead of mounting, say, /dev/sda1, mount by ID. This is how the respective line from fstab would look like:
UUID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx / ext3 relatime,error=remount-ro 0 1
You can find out what the id's are with blkid:
/dev/sda3: UUID="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx" TYPE="ext3"
The above UUID is what you should use in the fstab entry above.
From the fstab man page:
Instead of giving the device explicitly, one may indicate the (ext2 or xfs) filesystem that is to be mounted by its UUID or volume label (cf.
e2label(8) or xfs_admin(8)), writing LABEL= or UUID=, e.g., 'LABEL=Boot' or 'UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'. This will
make the system more robust: adding or removing a SCSI disk changes the disk device name but not the filesystem volume label.