all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20920: Show example for GuixSD config.scm
@ 2015-06-28 14:22 Evan Rowley
  2015-06-29  8:46 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Evan Rowley @ 2015-06-28 14:22 UTC (permalink / raw)
  To: bug-Guix

Hello

I'm very interested in running a GuixSD system. I'm currently setting
one up now, and am hoping someone here would be kind enough to share
their /etc/config.scm with me. Particularly, I'm looking for examples
of how a system with multiple partitions would be defined in the
config.scm file.

My Partitions
1. bios_grub 10M
2. /boot 500M
3. /swap 16.5G
4. /root 50G
5. /usr 50G
6. /var 50G
7. /home 50G

This installation is for a 250GB hard disk on a SuperMicro H8DGU-F
motherboard with an AMD Opteron 6128 CPU and 8GB of ECC RAM. Let me
know if there is anything anyone wants tested about this setup
(assuming I can get it online)

-- 
 - EJR

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#20920: Show example for GuixSD config.scm
  2015-06-28 14:22 bug#20920: Show example for GuixSD config.scm Evan Rowley
@ 2015-06-29  8:46 ` Ludovic Courtès
  2015-06-29 18:18   ` Evan Rowley
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2015-06-29  8:46 UTC (permalink / raw)
  To: Evan Rowley; +Cc: bug-Guix

Hello,

Evan Rowley <rowley.evan@gmail.com> skribis:

> I'm very interested in running a GuixSD system. I'm currently setting
> one up now, and am hoping someone here would be kind enough to share
> their /etc/config.scm with me. Particularly, I'm looking for examples
> of how a system with multiple partitions would be defined in the
> config.scm file.
>
> My Partitions
> 1. bios_grub 10M
> 2. /boot 500M
> 3. /swap 16.5G
> 4. /root 50G
> 5. /usr 50G
> 6. /var 50G
> 7. /home 50G

I’m using a separate encrypted /home and a swap partition, so the
declaration looks like this:

--8<---------------cut here---------------start------------->8---
(operating-system
  (host-name "pluto")
  (timezone "Europe/Paris")
  (locale "en_US.utf8")

  (bootloader (grub-configuration
               (device "/dev/sda")))

  (mapped-devices (list (mapped-device
                         (source "/dev/sda3")
                         (target "home")
                         (type luks-device-mapping))))

  (file-systems (cons* (file-system
                         (device "root")
                         (title 'label)
                         (mount-point "/")
                         (type "ext3"))
                       (file-system
                         (device "/dev/mapper/home")
                         (mount-point "/home")
                         (type "ext3"))
                       %base-file-systems))

  (swap-devices '("/dev/sda4"))                   ;XXX: LABEL=swap

  ;; ...
  )
--8<---------------cut here---------------end--------------->8---

Normally you just need to add extra ‘file-system’ declarations for /var
and /boot in there, and you’re done.

/usr doesn’t make sense on GuixSD because that directory is not used at
all.

HTH,
Ludo’.

PS: Please use guix-devel@gnu.org for discussions; bug-guix@gnu.org goes
    to the bug tracker at <http://bugs.gnu.org/guix>.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug#20920: Show example for GuixSD config.scm
  2015-06-29  8:46 ` Ludovic Courtès
@ 2015-06-29 18:18   ` Evan Rowley
  0 siblings, 0 replies; 3+ messages in thread
From: Evan Rowley @ 2015-06-29 18:18 UTC (permalink / raw)
  To: guix-devel

Thank you Ludo for sharing your config.scm - it helped me a little.

I'm still experiencing issues and have started the thread "Help with
basic GuixSD installation" on guix-devel@gnu.org.


On Mon, Jun 29, 2015 at 4:46 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> Hello,
>
> Evan Rowley <rowley.evan@gmail.com> skribis:
>
>> I'm very interested in running a GuixSD system. I'm currently setting
>> one up now, and am hoping someone here would be kind enough to share
>> their /etc/config.scm with me. Particularly, I'm looking for examples
>> of how a system with multiple partitions would be defined in the
>> config.scm file.
>>
>> My Partitions
>> 1. bios_grub 10M
>> 2. /boot 500M
>> 3. /swap 16.5G
>> 4. /root 50G
>> 5. /usr 50G
>> 6. /var 50G
>> 7. /home 50G
>
> I’m using a separate encrypted /home and a swap partition, so the
> declaration looks like this:
>
> --8<---------------cut here---------------start------------->8---
> (operating-system
>   (host-name "pluto")
>   (timezone "Europe/Paris")
>   (locale "en_US.utf8")
>
>   (bootloader (grub-configuration
>                (device "/dev/sda")))
>
>   (mapped-devices (list (mapped-device
>                          (source "/dev/sda3")
>                          (target "home")
>                          (type luks-device-mapping))))
>
>   (file-systems (cons* (file-system
>                          (device "root")
>                          (title 'label)
>                          (mount-point "/")
>                          (type "ext3"))
>                        (file-system
>                          (device "/dev/mapper/home")
>                          (mount-point "/home")
>                          (type "ext3"))
>                        %base-file-systems))
>
>   (swap-devices '("/dev/sda4"))                   ;XXX: LABEL=swap
>
>   ;; ...
>   )
> --8<---------------cut here---------------end--------------->8---
>
> Normally you just need to add extra ‘file-system’ declarations for /var
> and /boot in there, and you’re done.
>
> /usr doesn’t make sense on GuixSD because that directory is not used at
> all.
>
> HTH,
> Ludo’.
>
> PS: Please use guix-devel@gnu.org for discussions; bug-guix@gnu.org goes
>     to the bug tracker at <http://bugs.gnu.org/guix>.



-- 
 - EJR

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-29 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-28 14:22 bug#20920: Show example for GuixSD config.scm Evan Rowley
2015-06-29  8:46 ` Ludovic Courtès
2015-06-29 18:18   ` Evan Rowley

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.