From: Brendan Tildesley <brendan.tildesley@openmailbox.org>
To: 32313@debbugs.gnu.org
Subject: bug#32313: Failed to boot after reconfiguring with a btrfs drive.
Date: Tue, 31 Jul 2018 01:25:22 +1000 [thread overview]
Message-ID: <c1250c78-c4a4-b257-004c-a8bfae9b1448@openmailbox.org> (raw)
I have a second btrfs drive that I normally manually mount as /mnt/1tb.
I decided to add it to my system config and it when I reconfigure it
mounts the drive correctly, but when I reboot I get the error:
WARNING: failed to open /dev/btrfs-control, skipping device
registration: no such file or directory
ERROR: there are 1 errors while registering devices
File system check on /dev/sda1 failed; spawning Bourne-like REPL
Here is my system config:
(use-modules (gnu)
(gnu system nss)
(guix packages))
(use-service-modules desktop
ssh
admin
mcron
xorg
virtualization
cups
sddm
networking
;; avahi
;; dbus
)
(use-package-modules certs
gnome
bootloaders
cups
;; libusb
;; networking
)
(operating-system
(kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp"))
(host-name "ui")
(timezone "Australia/Hobart")
(locale "en_AU.utf8")
;; (locale-definitions '("zh_TW.utf8"
;; "zh_CN.utf8"
;; "ja_JP.utf8"
;; "en_DK.UTF-8"
;; ))
;; Assuming /dev/sdX is the target hard disk, and "my-root"
;; is the label of the target root file system.
(bootloader
(grub-configuration
;;(device "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_1TB_S2PWNX0J204086P")
(target "/dev/sdc")))
(users
(cons*
(user-account
(name "b")
(comment "ore")
(group "users")
(supplementary-groups
'("wheel" ; To use sudo
"netdev"
"audio" ; To play sound
"video" ; To access the webcam
"kvm"
"disk"
;; lp lpadmin, seen in other's configs
))
(home-directory "/home/b"))
(user-account
(name "b2")
(comment "ore too")
(group "users")
(supplementary-groups
'("wheel" ; To use sudo
"netdev"
"audio" ; To play sound
"video")) ; To access the webcam
(home-directory "/home/b2"))
%base-user-accounts))
;;System-wide packages.
(packages
(cons
(specification->package+output "glib" "bin")
(append
(map specification->package
'( "nss-certs" ; For HTTPS access
"gvfs" ; For user mounts
;"dconf" ; NOT SURE IF THIS IS ALSO NEEDED
"glibc-locales" ; Locales
"ecryptfs-utils"
"exfat-utils"
"ntfs-3g"
"btrfs-progs"
"setxkbmap" ; keyboard mappings
"xmodmap"
"i3-wm" "i3status";; "dmenu" ; tiling wm
"dbus" "pcmanfm"
;; We cannot rsync over ssh unless rsync is in the system
profile
"rsync"))
%base-packages)))
(services
(cons*
(console-keymap-service "en-latin9")
;; OpenSSH
(service openssh-service-type
(openssh-configuration
(port-number 22)))
;; Probably does something useful
(service rottlog-service-type)
(service tor-service-type)
;; from the manual, this apparently this lets us emulate building on arm
(service qemu-binfmt-service-type
(qemu-binfmt-configuration
(platforms (lookup-qemu-platforms "arm"))
(guix-support? #t)))
;; Printer stuff
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions
(list cups-filters hplip))))
;; Colemak settings for Xorg that are valid for the login manager
(let ((colemak
"Section \"InputClass\"
Identifier \"evdev keyboard catchall\"
Driver \"evdev\"
MatchIsKeyboard \"on\"
Option \"xkb_layout\" \"us\"
Option \"xkb_variant\" \"colemak\"
EndSection"))
(modify-services %desktop-services
;; (remove-services
;; (list
;; ;ntp-service-type
;; screen-locker-service-type)
;; %desktop-services)
;; Enable Colemak layout in Slim login
(slim-service-type config =>
(slim-configuration
(inherit config)
(startx (xorg-start-command
#:configuration-file
(xorg-configuration-file
#:extra-config
(list colemak))))))))))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next reply other threads:[~2018-07-30 15:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 15:25 Brendan Tildesley [this message]
2018-07-30 16:55 ` bug#32313: Failed to boot after reconfiguring with a btrfs drive Danny Milosavljevic
2018-07-31 2:04 ` Brendan Tildesley
2018-07-31 20:40 ` Danny Milosavljevic
2018-07-31 21:01 ` Danny Milosavljevic
2018-07-31 20:38 ` Danny Milosavljevic
2018-07-31 21:06 ` Danny Milosavljevic
2018-08-01 15:14 ` Brendan Tildesley
2018-08-01 1:58 ` Brendan Tildesley
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=c1250c78-c4a4-b257-004c-a8bfae9b1448@openmailbox.org \
--to=brendan.tildesley@openmailbox.org \
--cc=32313@debbugs.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.