No graphics available with Qubes kernels which prevents installation due
to anaconda issues. I'm sure the following could be improved and maybe
all included in the kickstart file but that wasn't my priority. I got
Qubes installed and working like this:
Before starting you need the kickstart file and the Fedora kernel rpm on
removable media (sdb1 in my case but check your own setup). Similarly,
sda in the kickstart file may not be right for you. Also check
language, keyboard and timezone.
Some wrinkles I found:
- Don't change the hostname from "dom0" as it will break things
- anaconda in text mode demands a user is set up
- Qubes first-boot also sets up a user, couldn't skip this either
- With two users strange stuff happened in first-boot
- That's why I delete a user before doing anything and need root login
- In one test run I saw nomodeset as a kernel parameter and that caused
graphics to fail, after finding that I never saw it again
Boot installation media and hit tab, adding (after "quiet")
ks=hd:sdb1:/ks.cfg
Installation should run with no further interaction.
Once it is complete change to another console (Alt-F2)
# mount /dev/sdb1 /root
# cp /root/kernel*.rpm /mnt/sysimage/var/lib/qubes/updates
# umount /root
I chose /root as the mount point as it didn't seem to have anything
important in it. It worked so I didn't think any further about it.
Back to console 1 and press the finished key which will reboot.
Still no graphics, so after boot finishes with a blank screen,
find a text console to log in on as root. Then
# userdel -r deleteme
# yum install /var/lib/qubes/updates/kernel*.rpm
# grub2-mkconfig -o /boot/grub2/grub.cfg
# dracut -f
# vi /etc/yum.repos.d/qubes-dom0.repo
add "exclude = kernel" at end of [qubes-dom0-current] section
# passwd -l root
Reboot and (hopefully) enjoy. Don't forget to change the LUKS password,
or put a proper one in the kickstart file if you're happy to can erase
it safely or keep it secure some other way.
So far so good for me. There is a TPM but I haven't got round to
testing that yet (and it will be a while).
|