April 19, 2015, 02:39:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
Author Topic: Directory /dev Changes  (Read 1462 times)
Posts: 1321

« on: August 15, 2011, 10: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?
Posts: 4070

« Reply #1 on: August 16, 2011, 04: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:
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.
Posts: 1321

« Reply #2 on: August 16, 2011, 07: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.  Huh
Back to changing. Smiley
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!