Re: ostree host from scratch w/o anaconda
- From: Leandro Santiago <leandrosansilva gmail com>
- To: Colin Walters <walters verbum org>
- Cc: ostree-list gnome org
- Subject: Re: ostree host from scratch w/o anaconda
- Date: Wed, 30 Mar 2016 11:41:56 +0200
Hi Colins, my system is based on Centos7, and I am using Fedora 22 installer to deploy my ostree images. This installer is quite old now, not supporting btrfs or tmpfs partitions or even /boot in the same partition. Then I decided to try the one from Fedora 23, but it generates a lot of garbage, which result in a non-bootable system, specially regarding plymouth, which I don't have and is not required in my use case. I'll be glad to report such issues, but I confess for now it will be quicker for me to drop anaconda and do stuff by hand :-)
In my use case, I have a single partition with both system and /boot, instead of a separated /boot. Then I also need to keep volatile data in a separated partition, to prevent data corruption and avoid / to fill out. All those stuff seem impossible to be done on anaconda + ostree, and I understand totally this limitation, which is out of its scope.
But it turns out deploying ostree manually is not that hard :-) I believe I am almost done, and there is a few manual fixes I need to do.
For example, it seems (using 2016.2) ostree admin instutils grub2-generate, called on 15_ostree, on grub2-mkconfig, expects /boot to be in a separated partition, as it generates the kernel and initrd paths like /ostree/..., when in my single partitioning setup, it should be /boot/ostree/....
Please let me know if you think I should report this issue as a bug. It's a trivial fix for me right now to just change grub.cfg after it's generated, but I'd be glad on having it behaving correctly during generation :-)
BTW, I also think grub2 sucks, and as I am using intel hardware, I was thinking on migrating to extlinux, which is way simpler and less complicated. How well supported is it on ostree?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]