Kodi Community Forum
[LIVE] Hard Drive ID's keep changing on reboot. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LIVE] Hard Drive ID's keep changing on reboot. (/showthread.php?tid=105159)



[LIVE] Hard Drive ID's keep changing on reboot. - DejaVu - 2011-07-09

I have 4 internal drives that keep changing their ID's everytime I reboot.

I dont know if it makes a different, but the XBMCLive drive is on an IDE drive, the rest are SATA, where all my Media is.

After my initial install, I scrapped the drives and everything was fine. When I rebooted, everything was missing.

I can see it's something to do with FSTAB and UUID's and configuring them upon startup, but it's all new to me and a little confusing.

Can anyone lend a hand?

For Example,
/dev/sda1 changes to /dev/sdc1


- teeedubb - 2011-07-09

You can generate a list of UUID's of disks with the following command:

Quote:ls -l /dev/disk/by-uuid

These UUID's can be used in the /etc/fstab file to have the harddisks automounted on boot to a location of your choice which wont change.


- LB06 - 2011-07-09

Indeed. If you execute blkid you can just copy the relevant UUID="xxxxxxx-xxxxxxxxx-xxx" and replace /dev/sdxy in your fstab with it.