Bootloader problems deploying from ostree repo using anaconda kickstarter (reproductible, configuration files attached)
- From: Leandro Santiago <leandrosansilva gmail com>
- To: ostree-list gnome org
- Subject: Bootloader problems deploying from ostree repo using anaconda kickstarter (reproductible, configuration files attached)
- Date: Sat, 23 May 2015 20:31:07 +0200
First of all, I found no documentation about doing what I am trying to
do, but it's in theory possible. Please let me know if I am posting to
the wrong mailing list :-)
What I am doing is basically the following: From a normal fedora
installer (I used both fedora 22 and rawhide) I am booting a machine
(for now on virtualbox) and using a remote kickstart which deploys a
remote ostree (based on centos 7, generated by rpm-ostree-toolbox). In
a ideal world it should work, but I am having some problem in the
post-install phase, installing the boot loader.
Basically the error happens then the installer tries to move the
/boot/grub.cfg file to /boot/loader/grub.cfg
(os.rename(boot_grub2_cfg, target_grub_cfg) on rpmostreepayload.py).
But as the directory /boot/loader/ does not exist, the installation
fails.
I am not using the CentOS 7 installer because it does not support
ostreesetup kickstart command, whereas Fedora does. When using Fedora
to deploy CentOS, am I trying to achieve the impossible? :-)
In order to reproduce the problem, download the attached file, extract
its contents and generate (inside it) the tree:
# rpm-ostree-toolbox treecompose -c centos-atomic-egym.ini --ostreerepo repo
Then copy the repo dir to the server machine, which in my case has the
IP 192.168.56.1 (Virtualbox host). Copy the file setup.ks too. If your
IP is different, you will need to change it in this file
Then I start a simple http server in the directory which contains both
repo/ and setup.ks, where the data will be fetched from.
# python -m SimpleHTTPServer 8080
Now trying to deploy the tree on the client... I am booting a clean
virtualbox machine (with a clean 6GB virtual hard drive, which will be
wiped anyway) which is able to reach the host on network. As I said
before, I am using fedora 22 installer, but the latest rawhide image
(boot.iso) has the same behavior.
On the boot options, I add: ks=http://192.168.56.1:8080/setup.ks
The process is non-interactive and, just after pulling and deploying
the image, the bootloader error happens.
This may not be related to ostree, but to CentOS or what I am trying
to perform is just nonsense :-) Perhaps someone in the mailing list
will be able to give me any clue :-)
Thank you in advance.
Oh, both config files and error logs generated by anaconda are in the
link: https://dl.dropboxusercontent.com/u/3550969/egym-ostree-config.tar.bz2
--
Sent from my mind
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]