From: Giovanni Biscuolo <g@xelera.eu>
To: znavko@disroot.org, help-guix <help-guix@gnu.org>
Subject: Re: error in bootloader config while system init
Date: Tue, 21 May 2019 10:53:26 +0200 [thread overview]
Message-ID: <87v9y489yx.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <6bafb31cbd973b67094f5551a8d7c403@disroot.org>
[-- Attachment #1: Type: text/plain, Size: 5775 bytes --]
Hi znavko,
cannot help now, just a quick reply to inline error log and config for
ml archiving purposes
znavko@disroot.org writes:
> Hello! I want to install guix, but have troubles with bootloader configuration. I parted my disk this way:
>
> # fdisk -l /dev/sdb
>
> Disk /dev/sdb: 59.6 GiB, 64023257088 bytes, 125045424 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 3E7A5583-EC16-4444-BD05-F488879F5F8 Device Start End Sectors Size Type /dev/sdb1 2048 104859647 104857600 50G Linux filesystem /dev/sdb2 104859648 125045390 20185743 9.6G Linux swap
> # guix system init /mnt/etc/config.scm /mnt 2>err
> # cat err | nc termbin.com 9999
> https://termbin.com/r3oh
this is the output
--8<---------------cut here---------------start------------->8---
Backtrace:
13 (apply-smob/1 #<catch-closure eee8e0>)
In ice-9/boot-9.scm:
705:2 12 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 11 (_ #(#(#<directory (guile-user) f70140>)))
In guix/ui.scm:
1747:12 10 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 9 (catch _ _ #<procedure 7f5bb7621910 at guix/ui.scm:703…> …)
829:9 8 (catch _ _ #<procedure 7f5bb7621928 at guix/ui.scm:826…> …)
In guix/scripts/system.scm:
1325:8 7 (_)
In guix/status.scm:
768:4 6 (call-with-status-report _ _)
In guix/scripts/system.scm:
1181:4 5 (process-action _ _ _)
In guix/store.scm:
623:10 4 (call-with-store _)
1794:24 3 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
1197:13 2 (_ _)
867:9 1 (perform-action init #<<operating-system> kernel: #<pa…> …)
In gnu/system.scm:
974:26 0 (operating-system-bootcfg #<<operating-system> kernel:…> …)
gnu/system.scm:974:26: In procedure operating-system-bootcfg:
In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #f
--8<---------------cut here---------------end--------------->8---
> # cat /mnt/etc/config.scm | nc termbin.com 9999
> https://termbin.com/r5rq
> Please, what is wrong?
this is the config
--8<---------------cut here---------------start------------->8---
;-*- mode: Scheme; -*-
;;this is znavko's cute config
;; for lightweight xfce4 desktop
;; without networkmanager but wpa_supplicant + dhcp-client instead
;; notebok settings: disabling sleep on closing lid
;; disabling pc-speaker, lenovo wifi blocking solution
;; enabling touchpad tapping
(use-modules (gnu) (gnu system nss)
(gnu system locale) ;;for locale-definition
(gnu services desktop)
(srfi srfi-1) ;;for remove function
(gnu services networking) ;;for remove ntp
(gnu services avahi) ;;for remove avahi
(gnu services xorg)
(gnu packages admin) ;;for wpa_supplicant
)
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sdb")))
(file-systems (cons (file-system (device "/dev/sdb1") (mount-point "/mnt") (type "ext4")) %base-file-systems))
(swap-devices '("/dev/sdb2"))
(users (cons* (user-account (name "bon") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/bob"))
(user-account (name "mom") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/mom"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
wpa-supplicant
%base-packages))
(services (cons*
;; xfce4 desktop, dhcp-client, slim
(service xfce-desktop-service-type)
(service dhcp-client-service-type)
;; slim config for enabling touchpad tap
(service slim-service-type
(slim-configuration
(xorg-configuration
(xorg-configuration
(extra-config
'("Section \"InputClass\"
Identifier \"touchpad\"
Driver \"libinput\"
MatchIsTouchpad \"on\"
Option \"Tapping\" \"on\"
EndSection")
))))
)
(modify-services
;; removing unnecessary services
(remove (lambda (service)
(member (service-kind service)
(list ntp-service-type avahi-service-type
bluetooth-service network-manager-service-type
gdm-service-type)))
%desktop-services) ;end of remove lambda services
;; wpa_supplicant + dhcp-client (above) instead of networkmanager
(wpa-supplicant-service-type config =>
(wpa-supplicant-configuration
(interface "wlp2s0")
(config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
;; disabling sleep on closing notebook lid
(elogind-service-type
c => (elogind-configuration (handle-lid-switch 'ignore)))
) ;;end of modify-services
)) ;;end of services
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss)
;;blacklist ugly sound speaker
(kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth"))
) ;;end of operating-system
--8<---------------cut here---------------end--------------->8---
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-05-21 8:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 3:47 error in bootloader config while system init znavko
2019-05-21 8:53 ` Giovanni Biscuolo [this message]
2019-05-21 13:23 ` Ludovic Courtès
2019-05-21 18:11 ` znavko
2019-05-21 19:55 ` znavko
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=87v9y489yx.fsf@roquette.mug.biscuolo.net \
--to=g@xelera.eu \
--cc=help-guix@gnu.org \
--cc=znavko@disroot.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.