From: sidhu1f <sidhu1f@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Upgrade errors, Re: Upgrade errors
Date: Sat, 4 Aug 2018 13:40:47 +0530 [thread overview]
Message-ID: <CADhE+R8LxkF7MGU2HCjdU_gEhJZTV-NTZJF0dB2EfURQXEw16w@mail.gmail.com> (raw)
In-Reply-To: <87efigfh1y.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4490 bytes --]
Hi Chris
Apologies for the delay in response. Meanwhile I have done a clean
reinstall of guix version 0.15 and the error persists:
...
shepherd: Service user-homes could not be started.
shepherd: Service term-auto could not be started.
...
is output by 'guix system reconfigure /etc/config.scm' after a 'guix
pull' (both run as root).
Output you requested:
rs@anu ~$ sudo lsblk -p -o NAME,TYPE,FSTYPE,LABEL,UUID,MOUNTPOINT
NAME TYPE FSTYPE LABEL UUID
MOUNTPOINT
/dev/sda disk
└─/dev/sda1 part crypto_LUKS
c396a60c-2c22-44eb-97f4-4d885d894782
└─/dev/mapper/root-part crypt ext4 root-fs
8daae8f5-6dc0-4272-b615-fee947ba6a1e /
rs@anu ~$ sudo /home/rs/.guix-profile/sbin/parted -l
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 256GB 256GB primary
Also, my current /etc/config.scm is attached.
Look forward to help on resolving these somewhat irritating errors.
Regards
sidhu1f
On Sun, May 13, 2018 at 7:33 AM, Chris Marusich <cmmarusich@gmail.com> wrote:
> 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: config.scm --]
[-- Type: application/octet-stream, Size: 2047 bytes --]
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system
(host-name "anu")
(timezone "Asia/Kolkata")
(locale "en_IN.utf8")
;; Use the UEFI variant of GRUB with the EFI System
;; Partition mounted on /boot/efi.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
;; Specify a mapped device for the encrypted root partition.
;; The UUID is that returned by 'cryptsetup luksUUID'.
(mapped-devices
(list (mapped-device
(source (uuid "c396a60c-2c22-44eb-97f4-4d885d894782"))
(target "root-part")
(type luks-device-mapping))))
(file-systems (cons (file-system
(device (file-system-label "root-fs"))
(mount-point "/")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(users (cons (user-account
(name "rs")
(comment "Reetinder Sidhu")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/rs"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
%base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with
;; NetworkManager, and more.
(services (cons* (xfce-desktop-service)
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next prev parent reply other threads:[~2018-08-04 8:10 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 ` Upgrade errors, " Chris Marusich
2018-08-04 8:10 ` sidhu1f [this message]
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=CADhE+R8LxkF7MGU2HCjdU_gEhJZTV-NTZJF0dB2EfURQXEw16w@mail.gmail.com \
--to=sidhu1f@gmail.com \
--cc=cmmarusich@gmail.com \
--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.
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.