From: Chris Marusich <cmmarusich@gmail.com>
To: sidhu1f <sidhu1f@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Upgrade errors, Re: Upgrade errors
Date: Sat, 12 May 2018 19:03:21 -0700 [thread overview]
Message-ID: <87efigfh1y.fsf@gmail.com> (raw)
In-Reply-To: <CADhE+R9OXxcWmdaX1_M8MKapEUM9+3qCLRW0ghVJjKytatC-4w@mail.gmail.com> (sidhu1f@gmail.com's message of "Sat, 5 May 2018 01:12:28 +0530, Sat, 12 May 2018 23:38:07 +0530")
[-- Attachment #1: Type: text/plain, Size: 3134 bytes --]
sidhu1f <sidhu1f@gmail.com> writes:
> ;; Assuming /dev/sdX is the target hard disk, and "my-root"
> ;; is the label of the target root file system.
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sda1")))
>
> ;; Specify a mapped device for the encrypted root partition.
> ;; The UUID is that returned by 'cryptsetup luksUUID'.
> (mapped-devices
> (list (mapped-device
> (source (uuid "fe4039bc-d231-4943-9704-f8a1186e6d42"))
> (target "fs-root")
> (type luks-device-mapping))))
>
> (file-systems (cons (file-system
> (device "fs-root")
> (title 'label)
> (mount-point "/")
> (type "ext4")
> (dependencies mapped-devices))
> %base-file-systems))
Can you also share the output of the following commands?
sudo lsblk -p -o NAME,TYPE,FSTYPE,LABEL,UUID,MOUNTPOINT
sudo parted -l
This will tell us how your disks, partitions, and LUKS volume are
configured. Hopefully that will make it easier to see why your
configuration isn't working. If you don't have those programs
available, you can install them with:
guix package -i util-linux parted
sidhu1f <sidhu1f@gmail.com> writes:
> Hi Rekado
>
> On Sat, May 12, 2018 at 1:23 PM, Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> > I did discover something curious: my guix version seems unchanged
>> > even after multiple 'guix system reconfigure' invocations. I do
>> > believe I heeded the documentation to do a 'guix pull' before the
>> > first reconfigure. Still, invocations of 'guix',
>> > '/var/guix/profiles/system-1-link/profile/bin/guix --version' and
>> > '/var/guix/profiles/system-11-link/profile/bin/guix --version'
>> > all produce:
>> >
>> > guix (GNU Guix) 12e352dbcfc07b870c812999ae81c16f0aa8dc2c
>> > Copyright...
>
>> This is not as helpful as it may seem. The “guix” executable first
>> checks if ~/.config/guix/latest exists. If it does it will load modules
>> from there. It seems that you’ve used different guix executables, but
>> they would all load the same modules from ~/.config/guix/latest.
>
> I understand and accept what you are saying but it is not clear what
> it means in the current context. Do you mean that the guix version of
> Guix SD v0.14.0 fresh install, and the guix version after recently
> (couple of days back) doing a 'guix pull' and 'guix system
> reconfigure' being the same is expected behavior? By "guix version"
> above I mean the output displayed by 'guix --version'.
The "guix" command is a thin wrapper that quickly delegates to whatever
you've installed in ~/.config/guix/latest. This is by design; it is how
we currently make it possible for multiple users to maintain separate
installations of Guix simultaneously. For a more detailed description
of how this works, you might find this email thread helpful:
https://lists.gnu.org/archive/html/help-guix/2017-09/msg00092.html
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2018-05-13 2:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 19:42 Upgrade errors sidhu1f
2018-05-07 16:12 ` Ludovic Courtès
2018-05-11 19:51 ` sidhu1f
2018-05-12 7:53 ` Ricardo Wurmus
2018-05-12 18:08 ` sidhu1f
2018-05-13 2:03 ` Chris Marusich [this message]
2018-08-04 8:10 ` Upgrade errors, " sidhu1f
2018-08-04 8:33 ` Pierre Neidhardt
2018-08-04 14:28 ` sidhu1f
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efigfh1y.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=help-guix@gnu.org \
--cc=sidhu1f@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.