[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#20920: Show example for GuixSD config.scm
From: |
Evan Rowley |
Subject: |
Re: bug#20920: Show example for GuixSD config.scm |
Date: |
Mon, 29 Jun 2015 14:18:32 -0400 |
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 address@hidden
On Mon, Jun 29, 2015 at 4:46 AM, Ludovic Courtès <address@hidden> wrote:
> Hello,
>
> Evan Rowley <address@hidden> 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 address@hidden for discussions; address@hidden goes
> to the bug tracker at <http://bugs.gnu.org/guix>.
--
- EJR
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bug#20920: Show example for GuixSD config.scm,
Evan Rowley <=