At 2017-01-13 17:42:01, "Ricardo Wurmus" <address@hidden> wrote:
>tumashu 你好!
>
>> guix system: loading new services: file-system-/mnt/backup1 file-system-/mnt/backup2...
>> shepherd: Evaluating user _expression_ (register-services (primitive-load "/gn...") #).
>>
>> ****looooooooooooooooooooooong time and I have to C-c C-c it.*****
>
>Did it actually mount the file systems at this point?
>
>[…]
>
>> ;; Assuming /dev/sdX is the target hard disk, and "my-root"
>> ;; is the label of the target root file system.
>> (bootloader (grub-configuration (device "/dev/sda")))
>>
>> (swap-devices '("/dev/sda5"))
>>
>> (file-systems (cons* (file-system
>> (device "/dev/sda1")
>> (title 'device)
>> (mount-point "/")
>> (type "ext4"))
>> (file-system
>> (device "/dev/sda7")
>> (title 'device)
>> (mount-point "/home")
>> (type "ext4"))
>> (file-system
>> (device "/dev/sda8")
>> (title 'device)
>> (mount-point "/mnt/backup1")
>> (type "ext4"))
>> (file-system
>> (device "/dev/sda6")
>> (title 'device)
>> (mount-point "/mnt/backup2")
>> (type "ext4"))
>> %base-file-systems))
>
>I suggest not to use these arbitrary device nodes. Use labels or uuids,
>because unlike device nodes they are stable.
>
>You will also have to make sure that the devices already contain file
>systems. Guix is not going to format the disks for you.
When I use 'lable to mount instead of 'device, it seem to work again, thanks very much!
>
>--
>Ricardo / 吴珂多
>
>GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
>https://elephly.net
>