sashabe
New Around Here
I've bought an RT-AC86U and have 384.11_2 AsusWRT Merlin installed on it. I've got two disks, a HDD and a USB3.0-enabled SSD. The HDD has just one HFS+ partition (sda1, used for Time Machine). The SSD is partitioned into two partitions, one HFS+ (sdb1, used for general file storage) and another ext4 (sdb2, used for entware and swap file). I want the SSD to always stay sdb* since I'd like to disconnect it from time to time from the router and view/modify the contents of the HFS partition on a Mac directly.
Recently I have had some problems with the disks connected on reboot in a wrong order. HDD becomes sdb1 and SSD becomes sda1 and sda2, which obviously breaks some stuff. The solution is said to be labelling the partitions an mounting them by label. How can this be done? Do I need to edit the jffs scripts for that? The partitions are labelled right now — HFS+ partitions through Mac's Finder and ext4 through tune2fs.
This is what blkid is showing now:
/dev/sdb2: LABEL="ENTWARE" UUID="e4b28958-ff35-4e4f-844b-6fe6d48c167e"
/dev/sdb1: LABEL="RFASTDOCS" UUID="5c92871d-2d29-38a9-ade8-dc1fb9e0fecf"
/dev/sda1: LABEL="RouterHDD" UUID="905fe806-f71e-333d-bfb2-fe531254b94f"
Thanks!
Recently I have had some problems with the disks connected on reboot in a wrong order. HDD becomes sdb1 and SSD becomes sda1 and sda2, which obviously breaks some stuff. The solution is said to be labelling the partitions an mounting them by label. How can this be done? Do I need to edit the jffs scripts for that? The partitions are labelled right now — HFS+ partitions through Mac's Finder and ext4 through tune2fs.
This is what blkid is showing now:
/dev/sdb2: LABEL="ENTWARE" UUID="e4b28958-ff35-4e4f-844b-6fe6d48c167e"
/dev/sdb1: LABEL="RFASTDOCS" UUID="5c92871d-2d29-38a9-ade8-dc1fb9e0fecf"
/dev/sda1: LABEL="RouterHDD" UUID="905fe806-f71e-333d-bfb2-fe531254b94f"
Thanks!