From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Error system reconfigure with guix-latest Date: Sun, 04 Mar 2018 23:01:59 +0800 Message-ID: <87bmg3evfc.fsf@member.fsf.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esV9d-0005hB-5y for help-guix@gnu.org; Sun, 04 Mar 2018 10:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esV9c-0001NY-BT for help-guix@gnu.org; Sun, 04 Mar 2018 10:02:25 -0500 In-Reply-To: (Jone's message of "Sun, 4 Mar 2018 15:46:29 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jone Cc: help-guix@gnu.org Jone writes: > Hello! > I'm newbie. After update system (guix pull) I see this error: > > root@guix ~# guix system -n reconfigure /etc/CURRENT.scm > /etc/CURRENT.scm:37:24: error: you need these modules in the initrd for > /dev/sdb2: sata_nv pata_acpi Hello, this is due to recently added functinon to detect missing modules in the initrd: . To fix it, you can use 'initrd-modules' instead of the 'initrd' field in the 'operating-system' record. > > BUT: > 1. Prior to this (before upgrade) everything was OK > 2. sata_nv and pata_acpi already selected in CURRENT.scm: > > (operating-system > (host-name "guix") > (timezone "Europe/Moscow") > (locale "en_US.utf8") > (bootloader (bootloader-configuration > (bootloader grub-bootloader) > (target "/dev/sdd"))) > (initrd (lambda (file-systems . rest) > (apply base-initrd file-systems > #:extra-modules '("sata_nv" "pata_acpi") > rest))) This '#:extra-modules' usage is deprecated by the newly added 'initrd-modules' field in 'operating-system'. For example: > (file-systems (cons* > (file-system > (device "two") > (mount-point "/") > (type "ext4") > (title 'label)) > (file-system > (device "one") > (mount-point "/home") > (type "ext4") > (title 'label)) > %base-file-systems)) > > I didn't find any answers in GuixSD documentation.. Well, the guix info manual did got updated, but currently 'guix pull' won't bring it, for reference: .