unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: help-guix@gnu.org
Subject: gparted not seeing all filesystem options
Date: Mon, 12 Apr 2021 15:22:06 +0300	[thread overview]
Message-ID: <YHQ7buYeLNncMx8x@3900XT> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 676 bytes --]

On a lark I tried putting together a Guix image with GParted, like the
official one GParted puts out but based on Guix instead of Debian. When
I check on the commandline I can see mkfs.btrfs and the file system
support image shows btrfs support but when I go to actually format a
disk btrfs isn't an option. This holds true for a bunch of the other
filesystems as well. Does anyone have an ideas?

The image can be built with 'guix system vm gparted.scm'

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #1.2: gparted.scm --]
[-- Type: text/plain, Size: 2647 bytes --]

;; This is an operating system configuration for a bootable GParted image.
;; Modify it as you see fit and rebuild it by running:
;;
;;   guix system image /path/to/gparted.scm
;;

(use-modules (gnu) (guix) (srfi srfi-1))
(use-service-modules desktop networking xorg)
(use-package-modules
  admin
  bootloaders
  certs
  disk
  gnome
  linux
  package-management
  wm
  xorg)

(operating-system
  (host-name "gnu")
  (timezone "Etc/UTC")
  (locale "en_US.utf8")
  (keyboard-layout (keyboard-layout "us" "altgr-intl"))

  ;; Label for the GRUB boot menu.
  (label (string-append "GNU Guix " (package-version guix)))

  (bootloader (bootloader-configuration
               (bootloader grub-bootloader)
               (target "/dev/sda")
               (terminal-outputs '(console))))
  (file-systems (cons (file-system
                        (mount-point "/")
                        (device "/dev/sda1")
                        (type "ext4"))
                      %base-file-systems))

  (users %base-user-accounts)

  (packages (append (list
                      adwaita-icon-theme
                      lvm2
                      neofetch
                      nss-certs
                      fluxbox)
                    %base-packages-disk-utilities
                    %base-packages))

  (services
   (append (list (service slim-service-type
                          (slim-configuration
                            (auto-login? #t)
                            (default-user "root")
                            (xorg-configuration
                              (xorg-configuration
                                (keyboard-layout keyboard-layout)))))

                 (service special-files-service-type
                          `(("/root/.fluxbox/startup"
                             ,(mixed-text-file "fluxbox-startup"
                                               "exec " gparted "/bin/gparted &\n"
                                               "exec " xterm "/bin/xterm &\n"
                                               "exec fluxbox\n")))))

           (remove (lambda (service)
                     (let ((type (service-kind service)))
                       (or (memq type
                                 (list gdm-service-type
                                       cups-pk-helper-service-type
                                       modem-manager-service-type))
                           (eq? 'network-manager-applet
                                (service-type-name type)))))
                   %desktop-services)))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2021-04-13 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 12:22 Efraim Flashner [this message]
2021-04-13 11:53 ` gparted not seeing all filesystem options Vincent Legoll

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=YHQ7buYeLNncMx8x@3900XT \
    --to=efraim@flashner.co.il \
    --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).