From mboxrd@z Thu Jan 1 00:00:00 1970 From: Divan Santana Subject: Re: Installing GuixSD on an external USB hard drive Date: Tue, 17 Apr 2018 15:04:49 +0200 Message-ID: <871sfehtla.fsf@santanas.co.za> References: <87k1t7hvtv.fsf@santanas.co.za> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8Qmg-00062f-Vd for help-guix@gnu.org; Tue, 17 Apr 2018 09:36:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8Qme-0002jJ-Cl for help-guix@gnu.org; Tue, 17 Apr 2018 09:36:35 -0400 Received: from outmail148154.authsmtp.co.uk ([62.13.148.154]:57843) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8Qmd-0002gf-Rt for help-guix@gnu.org; Tue, 17 Apr 2018 09:36:32 -0400 Received: from mail-c245.authsmtp.com (mail-c245.authsmtp.com [62.13.128.245]) by punt22.authsmtp.com. (8.15.2/8.15.2) with ESMTP id w3HD4xIQ011289 for ; Tue, 17 Apr 2018 14:04:59 +0100 (BST) (envelope-from divan@santanas.co.za) Received: from mail.santanas.co.za ([156.0.193.126]) (authenticated bits=0) by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id w3HD4uEF001438 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 17 Apr 2018 14:04:58 +0100 (BST) (envelope-from divan@santanas.co.za) Received: from authenticated-user (mail.santanas.co.za [156.0.193.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.santanas.co.za (Postfix) with ESMTPSA id 99C4C2000B for ; Tue, 17 Apr 2018 15:04:53 +0200 (SAST) In-reply-to: <87k1t7hvtv.fsf@santanas.co.za> 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: help-guix Divan Santana writes: > Hi Guix, > > So I'm installing GuixSD on an external USB hard drive. > > This is obviously quite useful to test and setup all before you switch > to it. I plan to eventually install on laptop. > > I could do it in a VM but... > > Anyway, the install went flawless and docs are great. > > *After a reboot*, I did a guix pull and system reconfigure. > > (I did change the drive letter, since post reboot grub was on sdb, not c) > > I got an error saying: > > unknown location, you may need these modules in the initrd: uas > usb_storage . > > It then pastes the snippet of code. Really cool and useful. > > Though, bit confused why the install worked and rebooted, yet post > reboot I now require it? > > Moving on, I add the snippet of code but it errors out with: > > usb_storage module not found. > > A find shows the module is in the 4.16 dir, named usb-storage. > > Note - not _. > > I thought perhaps that's the issue so I changed the code to specify mod > usb-storage (not _). > > However I then get the orig error, that I should add usb_storage mod in > initrd-modules. > > Suppose the question is why is usb_storage not found? > > Any ideas? > > (sorry for lack of exact messages, don't have remote access to system at mo) OK, I think this is a bug. The way I worked around it was to: 1) remount /gnu/store rw 2) cd /gnu/store/n9ym4yl7s55pm57rnc5whjlzjgvxas32-linux-libre-4.16.2/lib/modules/4.16.2-gnu/kernel/drivers/usb/storage/ cp usb_storage.ko usb-storage.ko As said earlier guix doesn't allow me to specify usb-storage in the scm file and it suggests usb_storage, which it fails to find without the above hack. Prob gets it from lsmod which reports usb_storage while the file is usb-storage.ko This is obviously not right. Prob a simple fix but out of my capabilities at the mo. lol -- Divan