PDA

View Full Version : PXE & Kickstart problems, will not boot into GUI



supertight
25th November 2017, 07:16 PM
here is a copy of the .ks file. The installation happens without error.

install
url --url http://mirrors.oit.uci.edu/fedora/linux/releases/27/Workstation/x86_64/os/
lang en_US.UTF-8
keyboard us
timezone --utc America/Los Angeles
network --noipv6 --onboot=yes --bootproto dhcp
authconfig --enableshadow --enablemd5
rootpw --iscrypted $6$tDEuLX4g9Sq1e276$2za7fhrsyOTji..1OKsI43WzNErrbb fwNdRpdoyfVYqR48LbU2agqYAmCRY4ZPFy0xPV3lY6aGQIfn4X B1T4//
firewall --enabled --port 22:tcp
selinux --disabled
bootloader --location=mbr --driveorder=sda --append="crashkernel=auth rhgb"

#Install Mode
text

# Disk Partitioning
clearpart --all --initlabel --drives=sda
part /boot --fstype=ext4 --size=200
part pv.1 --grow --size=1
volgroup vg1 --pesize=4096 pv.1

logvol / --fstype=ext4 --name=lv001 --vgname=vg1 --size=6000
logvol /var --fstype=ext4 --name=lv002 --vgname=vg1 --grow --size=1
logvol swap --name=lv003 --vgname=vg1 --size=2048
# END of Disk Partitioning

# Make sure we reboot into the new system when we are finished
reboot

# Package Selection
%packages --excludedocs
@core
-*firmware
-iscsi*
-fcoe*
-b43-openfwwf
kernel-firmware
-efibootmgr
wget
sudo

%end

%pre
%end
%post --log=/root/install-post.log
(
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH

# PLACE YOUR POST DIRECTIVES HERE
) 2>&1 >/root/install-post-sh.log
EOF
dnf update -y
dnf install vim -y
dnf install gdm -y
dnf groupinstall cinnamon-desktop-environment -y
ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default2.target
mv /etc/systemd/system/default2.target /etc/systemd/system/default.target -y

%end


system doesn't reboot into GUI after install.
running the following:

startx does in fact start the GUI from terminal.

ln -s /lib/systemd/system/graphical.target /etc/systemd/system/default2.target
mv /etc/systemd/system/default2.target /etc/systemd/system/default.target
changes nothing. system still continues to boot into text login.

Any help?
Thank you for reading.