[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with a basic GuixSD installation
From: |
韋嘉誠 |
Subject: |
Re: Help with a basic GuixSD installation |
Date: |
Tue, 30 Jun 2015 19:06:48 +0200 |
On 30-Jun-2015 3:08 pm, "Ludovic Courtès" <address@hidden> wrote:
> Evan Rowley <address@hidden> 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.
So *that's* what the mysterious (title 'label) means!
--
/c