-   Slackware (
-   -   how can I add udev into initrd? (

randomsel 06-29-2008 04:06 PM

how can I add udev into initrd?
Is there a way to add udev into initrd, or some way to populate the /dev/disk/by-uuid/ directory from initrd? It's the last thing (hopefully) I need to have a portable HD installation of Slackware.

stress_junkie 06-29-2008 08:27 PM

I don't know about the initrd method but you don't need initrd. You could just load and run the actual kernel. In which case you could put the UUID into /etc/fstab. Here is a quote from the manual page for fstab.

Instead of giving the device explicitly, one may indicate the (ext2 or
xfs) filesystem that is to be mounted by its UUID or volume label (cf.
e2label(8) or xfs_admin(8)), writing LABEL=<label> or UUID=<uuid>,
e.g., ‘LABEL=Boot' or ‘UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'.
This will make the system more robust: adding or removing a SCSI disk
changes the disk device name but not the filesystem volume label.

All times are GMT -5. The time now is 04:06 PM.