« Return to Thread: SlugOS 5.3, Memstick & HDD -- device name confusion (sda / sdb)

SlugOS 5.3, Memstick & HDD -- device name confusion (sda / sdb)

by Jan-116 :: Rate this Message:

Reply to Author | View in Thread

Hello group!

I finally got around to trying SlugOS 5.3 on a new NSLU2 I bought off craigslist (didn't want to tamper with my existing SlugOS 3.10 NSLU2). So far so good, installation was a breeze, followed the tutorial on nslu2-linux.org and most everything seems to work well. I set it up to boot off a 4GB memory stick, which was initially recognized as /dev/sda. But when I plugged in an external hard drive, the device naming changed, and the HDD is now /dev/sda, while the memstick now is /dev/sdb. I am not really surprised by that, as I know that the storage device naming is non-deterministic on the NSLU2. Despite this effect, the slug has no problem booting off the memstick, and even though my fstab indicates that the root file system should be mounted as /dev/sda1 (which is now the HDD), it actually miraculously mounts /dev/sdb1 now (which is the new name of the memstick).

I guess this is good, but I'd like to know if there are any caveats I should know about. Should I change the fstab to reflect the new device name, or should I leave it as is, in case I ever decide to remove the HDD, to make sure it still continues to boot correctly of /dev/sda1 then.

Any opinions appreciated.

Jan

 « Return to Thread: SlugOS 5.3, Memstick & HDD -- device name confusion (sda / sdb)