Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Directory /dev Changes  (Read 2430 times)


  • Vectorian
  • ****
  • Posts: 1349
Directory /dev Changes
« on: August 15, 2011, 11:42:34 pm »

This happened now the second time while in VL7 that on a reboot the files in
directory /dev have changed. /dev/sdb* on which my second hard drive is based
including VL7 distro no longer exist instead it is now /dev/sdc*.
Change all the settings accordingly in fstab and lilo.conf and I am back in business
untill for whatever reason /dev/sdb* has come back and /dev/sdc* is gone. Back
to changing the settings.

BIG question how and why will that happen that /dev files change?


  • Administrator
  • Vectorian
  • *****
  • Posts: 4455
Re: Directory /dev Changes
« Reply #1 on: August 16, 2011, 05:06:46 am »

I've often run into that with SATA drives. They "move around" with configuration changes, like if you have a USB stick plugged in on boot or not. Or if one drive fails, the other ones move up to fill the gap.

Workaround is to use disk uuid. To find drives and their associated uuid's, run:
Code: [Select]
ls -al /dev/disk/by-uuid
Then you replace the disk identifier by the uuid in the boot loader configuration, replace
root = /dev/sda1
with something like
root = "UUID=/dev/disk/by-uuid/18843936-00f9-4df0-a373-000d05a5dd44"

Only done this with GRUB, but looks like LILO should do it too.


  • Vectorian
  • ****
  • Posts: 1349
Re: Directory /dev Changes
« Reply #2 on: August 16, 2011, 08:42:11 pm »

Thanks I will try this. So, I have my swap on the second HD. It's never being
used anyhow therefore no problem I think.

I am still on old IDE drives, MoBo has no SATA connection. I guess this
happening is with the newer UDEV programs.

On booting this morning /dev/sdb* were all back.  ???
Back to changing. :)