Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 03 04:04

    pauldotknopf on master

    Removing cosmis and disco. Also… (compare)

  • Apr 03 02:53

    pauldotknopf on master-old

    refactor: consolidate build def… refactor: use push/popd feat: parameterize ubuntu distr… and 7 more (compare)

  • Apr 03 02:52

    pauldotknopf on master

    (compare)

  • Apr 03 02:35

    pauldotknopf on master

    Fixing build. (compare)

  • Jan 04 20:55

    pauldotknopf on master

    refactor: consolidate build def… refactor: use push/popd feat: parameterize ubuntu distr… and 6 more (compare)

  • Jan 04 20:55
    pauldotknopf closed #6
  • Jan 04 19:13
    aaroncwhite opened #6
  • Jun 21 2019 22:53

    pauldotknopf on master

    Ensure the kernel is the latest. Removing void, it is broken and… Merge branch 'master' of https:… (compare)

  • Jun 17 2019 23:25

    pauldotknopf on master

    Update build (compare)

  • Jun 17 2019 23:21

    pauldotknopf on master

    Update build (compare)

  • Jun 17 2019 23:04

    pauldotknopf on master

    Update build (compare)

  • May 04 2019 02:25

    pauldotknopf on master

    Update build (compare)

  • May 04 2019 01:39

    pauldotknopf on master

    Update build (compare)

  • Apr 21 2019 19:54

    pauldotknopf on master

    Adding Ubuntu bionic. (compare)

  • Apr 21 2019 17:16

    pauldotknopf on v0.28.0

    (compare)

  • Apr 21 2019 17:16

    pauldotknopf on master

    Added a hooks that stores/prese… Added a donate button. Fixing link. and 8 more (compare)

  • Apr 05 2019 07:12

    pauldotknopf on master

    Upgrading the packages in the b… (compare)

  • Apr 04 2019 20:01

    pauldotknopf on master

    Adding disco dango. (compare)

  • Apr 04 2019 19:45

    pauldotknopf on master

    Updating Arch rootfs. (compare)

  • Mar 05 2019 18:35

    pauldotknopf on master

    Update build (compare)

Peter Willemsen
@peterwilli
Arch Darch [Running] - Oracle VM VirtualBox_775.png
I get this after trying to reboot using a encrypted /var/lib/darch. I guess I have to find a way to make sure my partition get's mounted when grub starts?
Peter Willemsen
@peterwilli
strange, if I look into the grub cfg in /etc/darch my crypted disk uuid is there:
menuentry 'Darch - common:latest' {
  insmod part_gpt
  insmod cryptodisk
  insmod luks
  insmod gcry_rijndael
  insmod gcry_rijndael
  insmod gcry_sha256
  insmod ext2
  set root='cryptouuid/14fe93ad898c44bd96bebb37f0777371'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint='cryptouuid/14fe93ad898c44bd96bebb37f0777371'  48115299-94e3-4842-9d88-915f46a0756a
  else
    search --no-floppy --fs-uuid --set=root 48115299-94e3-4842-9d88-915f46a0756a
  fi
  echo 'Loading kernel...'
  linux /stage/live/zkrieteq7oikk025ple7ki5hh/vmlinuz boot=darch root=dummy darch_rootfs=rootfs.squash darch_dir=UUID=48115299-94e3-4842-9d88-915f46a0756a:/stage/live/zkrieteq7oikk025ple7ki5hh darch_stageid=zkrieteq7oikk025ple7ki5hh darch_nodoublemount=false
  echo 'Loading initial ramdisk...'
  initrd /stage/live/zkrieteq7oikk025ple7ki5hh/init.img
}
/var/lib/darch is mounted on /dev/mapper/luks-14fe93ad-898c-44bd-96be-bb37f0777371
[peter-pc peter]# file /var/lib/darch/stage/live/zkrieteq7oikk025ple7ki5hh/vmlinuz 
/var/lib/darch/stage/live/zkrieteq7oikk025ple7ki5hh/vmlinuz: Linux kernel x86 boot executable bzImage, version 4.15.0-48-generic (buildd@lgw01-amd64-036) #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019, RO-rootFS, swap_dev 0x7, Normal VGA
and it does exist in the mounted /var/lib/darch
Peter Willemsen
@peterwilli
Anyone? :D
I will just start to install fully without a encrypted darch partition xD
Peter Willemsen
@peterwilli
I'm done :D
I'm pretty proud of it, check it out
This script will automatically prompt a username and a making a homefolder in a disk image with the size of choice
This will only be done once
I also moved my whole nix config to a new darch script
I will now try and install it
Niclas
@buffet
hey
how big is a darch image typically
just the docker overhead + the base system / installed programs?
Arnar
@arnarg
My Arch Linux images are typically 1.5 GiB
the docker overhead isn't much as the images are squashed into a single layer
Oliver Evans
@OliverEvans96
@pauldotknopf how long does a recipe build usually take for you?
Peter Willemsen
@peterwilli
hey there
I'm currently having an issue with my Ubuntu darch image in that my system often freeze with RAM-heavy tasks such as running a virtual machine with > 4GB ram
I have a laptop with 16GB ram and that should be enough. I also have a 5GB swap image that is not used fully when it freezes
I was wondering if others have this issue too
LKV
@Likivik_gitlab
Hello, everyone! I just discovered this project, prebuilt images work great, so I'm trying to build my custom arch. I've searched hard but just can't find any arch recipes. Does anybody have any examples? I'm not too savvy with docker or linux for that matter, would really appreciate any reference materials!
MartinE
@ZebraArtefakt_gitlab
Hey @Likivik_gitlab :)
I have a very messy Arch recipe that I'll be glad to share, but I'll have to remove some personal data first. If you can give me a day, I'll shoot you the link.
@peterwilli: I'm far from being a Darch expert, but I feel like this probably isn't darch-related anyway. Have you checked your temp sensors? The freezes could be related to your CPU or GPU overheating. Just a guess tho. Anything in the syslog/journal?
LKV
@Likivik_gitlab
@MartinE Thank you, I'd be really glad to have it if it's not too much trouble. I'm still going through Arch bootstrap wiki, and learning bash scripting along the way, so having any kind of working config as a reference would be real nice.
Peter Willemsen
@peterwilli
@ZebraArtefakt_gitlab well now you metnioned it, my CPU did overheat over time, becuase I checked dmesg and it showed up sometimes. But I installed cpufreq-utils and it is started since then (keeping cpu frequency based on what you need). So I still think it's swap-related, because if I set swappinness to 100 the freezes stop
Paul Knopf
@pauldotknopf
@Likivik_gitlab , I use to use Arch, but now I use Ubuntu. Check my git history for the Arch recipes: https://github.com/pauldotknopf/darch-recipes/tree/663a57868406378ed94c6e9ff139fe38654b1855
@peterwilli, I have 16gb and I am not having an issue. I know your remark is old, but htop output would be helpful.
Oliver Evans
@OliverEvans96
Hi @pauldotknopf - I see that darch stage grub config-entry has the -c flag for enabling decryption in GRUB. How can I enable this behavior in the darch stage upload command?
Oliver Evans
@OliverEvans96
It seems like it's hard-coded not to use the crypto flag here
Oliver Evans
@OliverEvans96
Also, is it possible to include custom kernel parameters?
Arnar
@arnarg
@OliverEvans96 I had to create a custom darch-extract script to add custom kernel parameters https://github.com/arnarg/darch-recipes/blob/master/workstation/darch-extract
darch-extract is a script in the base godarch images https://github.com/godarch/distributions/blob/master/arch/helpers/darch-extract
Oliver Evans
@OliverEvans96
Thanks @arnarg , that's really nice!
Oliver Evans
@OliverEvans96

Hi - I'm wondering about disk usage in my darch image partition. My images should only be taking up about 10G, but I'm seeing 43G used. Any idea why this might be or how to minimize disk usage?

oliver@oliver-x1c7-arch:~ % sudo darch images list
REPOSITORY    TAG     CREATED     SIZE       
arch-base     latest  2019-07-18  1.5 GiB    
arch-desktop  latest  2019-07-18  3.8 GiB    
arch-develop  latest  2019-07-17  4.9 GiB    
arch-linux    latest  2019-07-18  659.1 MiB  
godarch/arch  latest  2019-07-15  157.5 MiB  
oliver@oliver-x1c7-arch:~ % df -h /var/lib/darch
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/ssd--vg-darch--images   67G   43G   22G  66% /var/lib/darch

Thanks!
Oliver

Arnar
@arnarg
@OliverEvans96 What about your stages? sudo darch stage list
otherwise, use du to see what's using all the space. sudo du -shx /var/lib/darch/*
Oliver Evans
@OliverEvans96
@arnarg - thanks for the reply. It looks like I have a lot of overlayfs snapshots. I'm not sure if darch is using those, or if they can safely be deleted, and if so how.
[root@oliver-x1c7-arch oliver]# darch images list
REPOSITORY    TAG                CREATED     SIZE       
arch-base     2019-07-22-013245  2019-07-22  1.5 GiB    
arch-base     latest             2019-07-22  1.5 GiB    
arch-desktop  2019-07-22-013245  2019-07-22  3.8 GiB    
arch-desktop  latest             2019-07-22  3.8 GiB    
arch-develop  latest             2019-07-17  4.9 GiB    
arch-linux    2019-07-22-013245  2019-07-22  663.3 MiB  
arch-linux    latest             2019-07-22  663.3 MiB  
godarch/arch  latest             2019-07-15  157.5 MiB  

[root@oliver-x1c7-arch oliver]# df -h /var/lib/darch
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/ssd--vg-darch--images   67G   46G   19G  72% /var/lib/darch

[root@oliver-x1c7-arch oliver]# darch stage list
arch-develop:latest

[root@oliver-x1c7-arch oliver]# du -shx /var/lib/darch/*
42G    /var/lib/darch/containerd
16K    /var/lib/darch/lost+found
4.8G    /var/lib/darch/stage

[root@oliver-x1c7-arch oliver]# du -shx /var/lib/darch/containerd/*
8.6G    /var/lib/darch/containerd/io.containerd.content.v1.content
436K    /var/lib/darch/containerd/io.containerd.metadata.v1.bolt
32K    /var/lib/darch/containerd/io.containerd.runtime.v1.linux
4.0K    /var/lib/darch/containerd/io.containerd.runtime.v2.task
8.0K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.aufs
4.0K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.btrfs
8.0K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.native
33G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs
4.0K    /var/lib/darch/containerd/tmpmounts

[root@oliver-x1c7-arch oliver]# du -shx /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/*
68K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/metadata.db
33G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots

[root@oliver-x1c7-arch oliver]# du -shx /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/*
498M    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1
2.4G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/101
5.5G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/104
20K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/107
20K    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/109
1.1G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/31
2.9G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/43
4.5G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/56
1.1G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/59
2.4G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/62
4.5G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/65
3.4G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/68
1.1G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/85
2.7G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/86
1.1G    /var/lib/darch/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/98
Christopher A. Williamson
@cawilliamson
Hey folks! I'm thinking of switching from NixOS to Arch + Darch - one question though - is there any way to get Darch running on top of ZFS?
Christopher A. Williamson
@cawilliamson

^ Disregard above - I tried a slew of different approaches including trying to use a RAID0 array (yes, I know - redundancy - doesn't matter in my case) but none of it worked.

What got it working in the end was a single disk a 5 partitions:

  • /boot = 1gb vfat 32 - uefi
  • / = 20gb ext4 - "rescue" partition
  • /etc/darch = 10gb ext4 - darch configs
  • /var/lib/darch - 200gb ext4 - darch data
  • /home - ~800gb - home data

I'm planning to revisit this now that I've got to grips with Darch more and learned of its limitations.

So far I really like it - just like you said @pauldotknopf - it gives me a lot of the perks of NixOS without the DSL and general "faffiness" of maintaining a NixOS system.

Tristan Pinaudeau
@TristanPinaudeau
Hi, I just discovered darch and am quite enthusiast about it. Thank you for the hard work. I tried installing it and it works fine except for the fstab hook, I may have not understand it but I can't find a way to make it work. The /etc/darch/hooks structure is a mystery for me, should I put my fstab.confg file under the /etc/darch/hooks or /etc/darch/hooks/fstab/ dir ? I tried both but it keep saying Glob config doesn't exist, not using any fstab... when I run sudo darch stage run-hooks.
(also, i tried specifying default config in the file /etc/darch/hooks/hooks-config.json without success)
Pestdoktor
@Pestdoktor
fstab.config goes in /etc/darch/hooks
Oliver Evans
@OliverEvans96
Hi - My /var/lib/darch is currently taking up 66GB, but when I do `sudo darch images list, the sum of my image sizes is much smaller than that. Is there any way to clean the images directory?
Andrey Koppel
@akoppela
Hi all
Pestdoktor
@Pestdoktor
Hey, when trying to update my image today I noticed the package manager in the base image is not compatible to the repositories anymore, so I tried to use a new base image off the current void rootfs but it's not booting. I opened an issue about it: godarch/distributions#7