Continuing the discussion from CoMmUnItY eNgAgEmEnT – L1T Leader AMA: AdminDev Edition :
Since you know Arch, want to help me on a special mission? Create a 1gb /boot/efi (efi) and a 20gb /boot and setup a zfs root. Then hook into the Arch update thing, create a snapshot and boot menu entry that’ll mount the last (current) snapshot in the event something goes wrong.
Tada, we just fixed arch/manjaro/etc. It’ll be glorious.
One internet please.
Optional Side Mission: separate /home partition (though most linux distros don’t take separation of data from packages seriously. see also /var/mysql. I don’t have a clever solution for that which isn’t ‘Install *bsd’. but we should think about it.)
It will be glorious!
I’ve been meaning to get back into the arch space, since Fedoras lack of ZFS on Root has been frustrating me. I’ll carry this torch as far as I can on my own, but I’m going to need a couple days to find some time to get arch installed.
Dragging @AnotherDev in because he said he was interested.
16 Likes
Yeah, but he’s an XFS pleb.
3 Likes
Point is, you’re using a legacy filesystem.
1 Like
redgek
April 2, 2019, 4:48pm
6
SgtAwesomesauce:
legacy
ur a legacy, old man
in all seriousness i’d try zfs already, but am always too lazy
2 Likes
Let’s switch gears to manjaro instead of arch because … new users would appreciate this than arch folks. About half the arch folks will have a philosophical objection to this approach to recovery, I bet.
10 Likes
Okay, so the only complaint I have with this is that Manjaro doesn’t officially support ZFS root in their installer, while Antergos does.
1 Like
So do we want to go off of manjaro or arch? I’m going to need to build an installer iso for both, since the antergos zfs package is currently borked and the maintainer isn’t responding quickly enough.
I would be happy to help, although probably mainly in testing.
I also second Antergos, but still Manjaro over base Arch.
So, they’ve talked in the past about patching the manjaro installer to add zfs support. Should we do that first?
There’s an open issue for it somewhere.
Scratch that, there is no open issue.
This is the open issue for the Antergos packages:
opened 05:58PM - 28 Mar 19 UTC
closed 08:50PM - 02 Apr 19 UTC
chchi.log
```
2019-03-28 17:05:30 [DEBUG ] Looking for spl-utils-0.7.13-2 … in 4 mirrors... (download_requests.py:212)
2019-03-28 17:05:30 [DEBUG ] Starting new HTTPS connection (1): glua.ua.pt:443 (connectionpool.py:813)
2019-03-28 17:05:30 [INFO ] Fetching lsb-release 1.4-15 (597/1059)... (slides.py:240)
2019-03-28 17:05:30 [INFO ] Fetching spl-utils 0.7.13-2 (598/1059)... (slides.py:240)
2019-03-28 17:05:46 [DEBUG ] https://glua.ua.pt:443 "GET /pub/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz HTTP/1.1" 200 17088 (connectionpool.py:393)
2019-03-28 17:05:46 [WARNING] SHA256 hash of file spl-utils-0.7.13-2-x86_64.pkg.tar.xz does not match! (download_hash.py:49)
2019-03-28 17:05:46 [DEBUG ] Can't download https://glua.ua.pt/pub/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz, Cnchi will try another mirror. (download_requests.py:238)
2019-03-28 17:06:06 [DEBUG ] Starting new HTTPS connection (1): ftp.cc.uoc.gr:443 (connectionpool.py:813)
2019-03-28 17:06:07 [DEBUG ] https://ftp.cc.uoc.gr:443 "GET /mirrors/linux/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz HTTP/1.1" 200 17088 (connectionpool.py:393)
2019-03-28 17:06:07 [WARNING] SHA256 hash of file spl-utils-0.7.13-2-x86_64.pkg.tar.xz does not match! (download_hash.py:49)
2019-03-28 17:06:07 [DEBUG ] Can't download https://ftp.cc.uoc.gr/mirrors/linux/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz, Cnchi will try another mirror. (download_requests.py:238)
2019-03-28 17:06:27 [DEBUG ] Starting new HTTPS connection (1): mirrors.tuna.tsinghua.edu.cn:443 (connectionpool.py:813)
2019-03-28 17:06:29 [DEBUG ] https://mirrors.tuna.tsinghua.edu.cn:443 "GET /antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz HTTP/1.1" 200 17088 (connectionpool.py:393)
2019-03-28 17:06:29 [WARNING] SHA256 hash of file spl-utils-0.7.13-2-x86_64.pkg.tar.xz does not match! (download_hash.py:49)
2019-03-28 17:06:29 [DEBUG ] Can't download https://mirrors.tuna.tsinghua.edu.cn/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz, Cnchi will try another mirror. (download_requests.py:238)
2019-03-28 17:06:49 [DEBUG ] Starting new HTTPS connection (1): mirrors.nic.cz:443 (connectionpool.py:813)
2019-03-28 17:06:52 [DEBUG ] https://mirrors.nic.cz:443 "GET /antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz HTTP/1.1" 200 17088 (connectionpool.py:393)
2019-03-28 17:06:52 [WARNING] SHA256 hash of file spl-utils-0.7.13-2-x86_64.pkg.tar.xz does not match! (download_hash.py:49)
2019-03-28 17:06:52 [DEBUG ] Can't download https://mirrors.nic.cz/antergos/antergos/x86_64/spl-utils-0.7.13-2-x86_64.pkg.tar.xz, Cnchi will try another mirror. (download_requests.py:238)
2019-03-28 17:07:12 [ERROR ] Can't download spl-utils-0.7.13-2-x86_64.pkg.tar.xz, even after trying all available mirrors (download_requests.py:185)
2019-03-28 17:07:12 [ERROR ] "Can't download needed packages. Cnchi can't continue." (process.py:185)
2019-03-28 17:07:12 [ERROR ] Traceback (most recent call last): (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/installation/process.py", line 167, in run
self.pkg.packages, self.down.metalinks) (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/pages/zfs.py", line 594, in run_install
self.installation.run() (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/misc/extra.py", line 194, in helper
return func(*args, **kwargs) (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/installation/install.py", line 296, in run
self.download_packages() (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/installation/install.py", line 356, in download_packages
download_packages.start_download(self.metalinks) (process.py:190)
2019-03-28 17:07:12 [ERROR ] File "/usr/share/cnchi/src/download/download.py", line 114, in start_download
raise misc.InstallError(txt) (process.py:190)
2019-03-28 17:07:12 [ERROR ] misc.extra.InstallError: "Can't download needed packages. Cnchi can't continue." (process.py:190)
2019-03-28 17:07:12 [DEBUG ] Starting new HTTP connection (1): build.antergos.com:80 (connectionpool.py:205)
2019-03-28 17:07:12 [DEBUG ] http://build.antergos.com:80 "GET /hook?cnchi=2580656b5c7be34e4144a3129a95e421 HTTP/1.1" 301 None (connectionpool.py:393)
2019-03-28 17:07:12 [DEBUG ] http://build.antergos.com:80 "GET /api/hook?cnchi=2580656b5c7be34e4144a3129a95e421 HTTP/1.1" 200 None (connectionpool.py:393)
```
I just updated the ticket with all the info they should need to get the packages fixed.
I think step one is prolly manually installing zfs and automating the mounting of / to be one of the snapshots, and making a shellscript or something to both create a snap and update the boot menu?
The installer will be easy to update once the proof of concept works. Idk if there are any landmines we might encounter with zfs on / manualledit: and prolly manjaro or antergos is fine. Patching in zfs manually is NBD if we have to tho.
2 Likes
Alright, so are you still sold on Manjaro first? I wanna know which iso to build.
Actually, I’m gonna do Antergos. By the weekend, hopefully all these packages are fixed.
2 Likes
No worries either way, but this will take me some time. I’ve never been able to get Manjaro installed.
This is coming from a guy that installs “pure” Arch Linux without referencing the Wiki and I’ve used Antergos for years
I think it’s my hardware.
Gig-Ah-BIT! *shakes fist!!!*
I think so as well. Go join the amd is for poor people club.
I’ve never been happy with a Manjaro install.
Been strongly considering. However, at the immediate moment, “it’s good enough” and better has been getting me through a lot.
The first time the coveted nomodeset failed me
That Manjaro installer is a bit of a turd, if you have any partitions on the disk you want to use it crashes. Noticed this with Solus too fwiw. Anyways, nuking the partitions on the disk and rebooting works… but meh.
Seen this on multiple systems…
5 Likes
Thanks for the tip! That is insanely helpful. I am reading through using archzfs repos right now but I will definitely give Manjaro a shot.
2 Likes