You are not logged in.

#1 2009-12-16 14:03:18

layton
Member
Registered: 2009-09-11
Posts: 5

Not all uuid symlinks are created

Hi,

This morning my computer did not boot. I noticed this was because not all UUID symlinks were created in /dev/disk/by-uuid. More precisely, all uuid symlinks were created except the one for my root partition :S. I need this UUID because I have two disks which are randomly assigned /dev/sda /dev/sdb. I temporarily solved the problem by using /dev/sda5 in fstab, so now when I have to reboot as long as it takes until the disk containing the root partition is assigned /dev/sda.

This problem might have started after I did a pacman -Suy, not sure. How can this be solved?

-Thanks!

Offline

#2 2010-01-15 06:56:10

darehanl
Member
Registered: 2006-09-08
Posts: 24

Re: Not all uuid symlinks are created

I've encountered the same problem just now after a power failure crashed by system. My UUID symbolic link for sda5 is gone.

$ blkid
/dev/sda1: UUID="58108FE8108FCC06" TYPE="ntfs"
/dev/sda2: UUID="71a5e685-9829-4015-8ff1-d4950615f80e" TYPE="ext2"
/dev/sda3: UUID="8c1a46fa-9288-4c0c-ba82-bee0623caa0e" TYPE="swap"
/dev/sda5: UUID="e76d5bd6-4240-4398-aab9-a3c5dc620956" TYPE="jfs"
/dev/sda6: UUID="16192d14-abfe-477c-b27e-1c53c9336289" TYPE="jfs"
$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jan 15 00:35 16192d14-abfe-477c-b27e-1c53c9336289 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jan 15 00:35 58108FE8108FCC06 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 15 00:35 71a5e685-9829-4015-8ff1-d4950615f80e -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 15 00:35 8c1a46fa-9288-4c0c-ba82-bee0623caa0e -> ../../sda3

I've tried creating the symbolic link myself, but it doesn't seem to be persistent across reboots, or at least it's not there anymore when grub tries to find the root device.

Offline

Board footer

Powered by FluxBB