unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Divan Santana <divan@santanas.co.za>
To: help-guix <help-guix@gnu.org>
Subject: Re: Installing GuixSD on an external USB hard drive
Date: Tue, 17 Apr 2018 15:04:49 +0200	[thread overview]
Message-ID: <871sfehtla.fsf@santanas.co.za> (raw)
In-Reply-To: <87k1t7hvtv.fsf@santanas.co.za>

Divan Santana <divan@santanas.co.za> 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

  parent reply	other threads:[~2018-04-17 13:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-16 18:04 Installing GuixSD on an external USB hard drive Divan Santana
2018-04-16 19:09 ` Pierre Neidhardt
2018-04-17  7:54   ` Divan Santana
2018-04-17 11:34     ` Pierre Neidhardt
2018-04-17 13:04 ` Divan Santana [this message]
2018-04-17 16:26   ` Chris Marusich
2018-04-19  9:26     ` Divan Santana
2018-04-17 13:32 ` myglc2
2018-04-19  9:23   ` Divan Santana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871sfehtla.fsf@santanas.co.za \
    --to=divan@santanas.co.za \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).