LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /dev/disk/by-uuid on install disk? (https://www.linuxquestions.org/questions/slackware-14/dev-disk-by-uuid-on-install-disk-652261/)

randomsel 06-28-2008 12:47 PM

/dev/disk/by-uuid on install disk?
 
I'm installing Slackware to a USB HD, and would like to tell lilo and ftab which partitions to mount by uuid. Problem is, there's no /dev/disk on the Slackware install disk (DVD). What would be the correct way to solve this?

TSquaredF 06-28-2008 03:37 PM

I was told, in another thread I started when I tried to use /dev/disk/by-uuid in my grub/menu.lst file, that the distros that do that have provisions for reading the uuid in the initrd that is loaded with the kernel. I did not pursue it, as I didn't think it was worth the effort, but that should provide you a starting point.
Regards,
Bill

randomsel 06-28-2008 11:05 PM

This seems also to be related to udev, and the commands udevtrigger and vol_id.

Any suggestions on how to do this in slackware? The only distro I know that works with uuid from boot is *shudder* Ubuntu.

titopoquito 06-29-2008 08:15 AM

From what I know the problem is not per se Slackware but Lilo. When you install and are gone through the Lilo configuration you can switch to a second console, do a "chroot /mnt" and then "/etc/rc.d/rc.udev start" - then you have the /dev/disk/by-uuid-folder. But Lilo can not handle UUID's as fare as I know. You would have to switch to Grub at least. I don't know if the Ubuntu Grub has a patch to do this or if the ability to handle uuid's is build into the Slackware version, too, but I fear it's only included in Grub 2 and not Grub legacy, the version that is in Slackware's /extra folder.

syg00 06-29-2008 08:33 AM

See post #2.

randomsel 06-29-2008 08:45 AM

Quote:

Originally Posted by titopoquito (Post 3198421)
From what I know the problem is not per se Slackware but Lilo. When you install and are gone through the Lilo configuration you can switch to a second console, do a "chmod /mnt" and then "/etc/rc.d/rc.udev start" - then you have the /dev/disk/by-uuid-folder. But Lilo can not handle UUID's as fare as I know.

Did not think of rc.udev. Thanks!

As for Lilo, it can handle /dev/disk/by-uuid if you use append= instead of root=.

titopoquito 06-29-2008 08:54 AM

Quote:

Originally Posted by randomsel (Post 3198441)
Did not think of rc.udev. Thanks!

As for Lilo, it can handle /dev/disk/by-uuid if you use append= instead of root=.

Ups, I meant "chroot /mnt" of course.


All times are GMT -5. The time now is 03:40 AM.