Commit Graph

38 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
48aa0e06c9 anaconda: lower disk requirements
Base installed system, including one template uses about 8GB. So make it
possible to install the system with root partition about that size. This
is probably bad idea, but the limit here is hard - it isn't possible to
force installation on smaller partition.
2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
63da7da0ec anaconda: update Qubes-specific code for Fedora 21 version 2016-03-22 02:27:16 +13:00
Marek Marczykowski-Górecki
3e63d1dd37 anaconda: update to 21.48.21-1
Apply diff anaconda-20.25.16-1..anaconda-21.48.21-1
2016-03-22 02:27:15 +13:00
Marek Marczykowski-Górecki
2556a42c04
anaconda: EFI: create xen.cfg before registering boot entry
This will help installing, even when efibootmgr fails. Because xen.cfg
will be already populated.

QubesOS/qubes-issues#794
2016-03-18 13:27:48 +01:00
Marek Marczykowski-Górecki
2838da02cf
anaconda: allow /boot on LVM in UEFI mode
Since all the required files are on ESP (and are loaded by xen.efi), we
don't need /boot accessible at all from there. This will in practice
allow to not have separate /boot at all.

Fixes QubesOS/qubes-issues#1721
2016-02-06 00:23:37 +01:00
Marek Marczykowski-Górecki
763098db0e
anaconda: use installer kernel parameters as default for installed system
This way if any kernel parameter was need to boot Qubes on particular
hardware, it will also be set to installed system

Fixes QubesOS/qubes-issues#1650
2016-02-06 00:23:37 +01:00
Marek Marczykowski-Górecki
538d80186d
anaconda: disable crashkernel default options
We don't support it.
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
c83c75b338
anaconda: include default kernel parameters in EFI setup
QubesOS/qubes-issues#794
2015-11-29 04:19:38 +01:00
Marek Marczykowski-Górecki
1d4f49961c
anaconda: limit dom0 maxmem to 4GB to limit its overhead on big systems
Linux kernel have some memory overhead depending on maxmem. Dom0 isn't
meant to use that much memory (most should be assigned to AppVMs), so on
big systems this will be pure waste.

QubesOS/qubes-issues#1136
Fixes QubesOS/qubes-issues#1313
2015-10-10 00:33:13 +02:00
Marek Marczykowski-Górecki
f29979be41 anaconda: use correct root= kernel parameter when creating EFI xen.cfg 2015-09-25 16:25:46 +02:00
Marek Marczykowski-Górecki
bdba0f99d0 anaconda: workaround efibootmgr bug (SIGABRT while removing entries) 2015-09-25 16:25:46 +02:00
Marek Marczykowski-Górecki
b3d04825a2
anaconda: generate xen efi configuration 2015-08-05 02:12:11 +02:00
Marek Marczykowski-Górecki
5796c78979
anaconda: disable os prober
It tries to mount every existing block device, including VM images.
2015-08-05 02:11:23 +02:00
Marek Marczykowski-Górecki
2726c5a9f5
anaconda: use kernel-install instead of grubby to regenerate initrd/grub.conf
Since we have own hook there, it properly handles Xen. This means we no
longer need post scripts in kickstart for that.
2015-07-12 16:01:02 +02:00
Marek Marczykowski-Górecki
73e8665a2b anaconda: add dom0_mem=min:1024M to default xen cmdline
This will solve #959 for new installations.

Related to qubesos/qubes-issues#959
2015-05-14 21:41:37 +02:00
Wojciech Zygmunt Porczyk
d460acf065 anaconda: do not fail on nonexistent inital-setup-*
Split `systemctl enable` to fail only on nonexistent units. Qubes does not
currently use initial-setup.
2014-11-10 14:48:31 +01:00
Marek Marczykowski-Górecki
c066d85b06 anaconda: lower minimum required disk space
Indeed 50GB is advisable minimum to have usable system, but do not rule
out some corner cases/test installs.
2014-06-27 02:56:05 +02:00
Marek Marczykowski-Górecki
fe547f8ea9 anaconda: Remove link to software selection from storage dialog
If clicked too early (before metadata got loaded) it causes installer
crash. We don't provide wide software selection so just remove that
link.
2014-04-18 04:07:44 +02:00
Marek Marczykowski-Górecki
23a54d7436 anaconda: remove network setup from text interface
We have network disabled.
2014-04-17 01:30:56 +02:00
Marek Marczykowski-Górecki
5a363bf786 anaconda: set default hostname to 'dom0' 2014-04-08 18:26:46 +02:00
Marek Marczykowski-Górecki
3e9ec61613 anaconda: set default grub theme 2014-04-08 18:26:46 +02:00
Marek Marczykowski-Górecki
9d8a1f945b anaconda: disable user creation
For now we will stay with old firstboot for this task.
2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
c583904597 anaconda: indentation fix 2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
c938ccb706 anaconda: fixes for upgraded anaconda (failed conflict resolution) 2014-04-08 05:50:32 +02:00
Marek Marczykowski-Górecki
f73b3741f0 Update anaconda to 20.25.16
Apply result of "git diff anaconda-18.37.11-1..anaconda-20.25.16-1" and
resolve conflicts.
2014-04-08 05:50:31 +02:00
Marek Marczykowski-Górecki
383f9fb3df anaconda: fix build on fc20 2014-04-02 19:33:10 +02:00
Marek Marczykowski
8558b595b0 anaconda: fix post-install scripts, regenerate initramfs
InstallClass.postAction isn't called from anywhere, move things to
anaconda post-scripts. Add regenerate of initramfs image to include
qubes-pciback module.
2013-02-25 06:22:25 +01:00
Marek Marczykowski
73e4bd6c22 anaconda: add "console=none" Xen parameter 2013-02-23 03:12:08 +01:00
Marek Marczykowski
62252c5a3c anaconda: replace installclass with Qubes one
Mainly to modify default partitioning layout.
2013-02-14 03:36:31 +01:00
Marek Marczykowski
e345814639 anaconda: display correct root password status 2013-02-14 00:32:10 +01:00
Marek Marczykowski
5e55b430b7 anaconda: add option to lock root account
Not only default setting, so one could leave account locked if entered
password setting spoke.
2013-02-13 13:40:28 +01:00
Marek Marczykowski
40aff2cab3 anaconda: lock root account by default 2013-02-12 02:30:33 +01:00
Marek Marczykowski
2c55391588 anaconda: simplify autopart customization (minor) 2013-02-12 02:30:05 +01:00
Marek Marczykowski
1c0f105c44 anaconda: write minimal network configuration
Do not skip it completely, only remove network devices setup.
Especially set hostname.
2013-02-08 02:52:34 +01:00
Marek Marczykowski
492e2932e7 anaconda: make encrypted partitions by default 2013-01-26 22:29:36 +01:00
Marek Marczykowski
745a36a17d anaconda: fix grub config setup
Remove non-xen options, make the right thing default one
2013-01-26 22:28:55 +01:00
Marek Marczykowski
da044ddca2 anaconda: do not start network during install 2013-01-26 22:26:08 +01:00
Marek Marczykowski
00c5528adc anaconda: import unmodified 18.37.11 version from fc18 2013-01-24 01:45:53 +01:00