Evan Rowley <rowley.e...@gmail.com> skribis:

>   (file-systems (cons (file-system
>                         (device
> "/dev/disk/by-id/ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3")
>                         (title "root")
>                         (mount-point "/")
>                         (type "ext4"))
>                       %base-file-systems))

You should be using something like:

  (file-system
    (title 'label)
    (device "ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3")
    (mount-point "/")
    (type "ext4"))

It literally means: Mount the block device whose label (in the ext[234]
sense) is “ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3”.

The root file system is mounted from the initrd, when udev is not
running; thus /dev/disk/by-id is not available yet, and it’s important
to use this 'label mechanism instead.

Thanks,
Ludo’.

Reply via email to