kickstart installation issue

General support questions
andrewm659
Posts: 38
Joined: 2014/10/24 16:20:13

Re: kickstart installation issue

Post by andrewm659 » 2020/02/10 20:00:33

I found this - viewtopic.php?t=61446

But I have zerombr

User avatar
TrevorH
Forum Moderator
Posts: 27727
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kickstart installation issue

Post by TrevorH » 2020/02/10 23:46:15

Post the file. We can't read it from here...
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

andrewm659
Posts: 38
Joined: 2014/10/24 16:20:13

Re: kickstart installation issue

Post by andrewm659 » 2020/02/11 16:59:48

Code: Select all

15:58:06,594 INFO anaconda: /sbin/anaconda 21.48.22.156-1
15:58:07,237 INFO anaconda: created new libuser.conf at /tmp/libuser.F5fsDm with instPath="/mnt/sysimage"
15:58:07,241 INFO anaconda: 2097152 kB (2048 MB) are available
15:58:07,291 INFO anaconda: check_memory(): total:2048, needed:670, graphical:760
15:58:07,336 INFO anaconda: anaconda called with cmdline = ['/sbin/anaconda']
15:58:07,337 INFO anaconda: Default encoding = utf-8 
15:58:07,460 INFO anaconda: Parsing kickstart: /run/install/ks.cfg
15:58:08,798 DEBUG anaconda: sda matches [u'sda'] for devicetree=None and disks_only=True
15:58:09,353 DEBUG anaconda: scripts found for locale en_US.UTF-8: ['Latn']
15:58:09,356 DEBUG anaconda: console fonts found for locale en_US.UTF-8: ['latarcyrheb-sun16']
15:58:09,357 DEBUG anaconda: setting console font to latarcyrheb-sun16
15:58:09,424 DEBUG anaconda: console font set successfully to latarcyrheb-sun16
15:58:09,427 DEBUG anaconda: setting locale to: en_US.UTF-8
15:58:09,459 DEBUG anaconda: network: devices found ['ens192']
15:58:09,496 DEBUG anaconda: network: ensure single initramfs connections
15:58:09,609 DEBUG anaconda: network: apply kickstart
15:58:09,805 DEBUG anaconda: network: ensure active ifcfg connection for ens192 (125e12f4-9084-4216-84f3-7e0f374f36d5 -> 125e12f4-9084-4216-84f3-7e0f374f36d5): not activating
15:58:09,808 DEBUG anaconda: network: create missing ifcfg files
15:58:09,954 DEBUG anaconda: network: set real ONBOOT value
15:58:09,997 DEBUG anaconda: network: setting ONBOOT value of ens192 to True
15:58:10,115 DEBUG anaconda: network: real kickstart ONBOOT value set for devices ['ens192']
15:58:10,148 DEBUG anaconda: updating hostname localhost.localdomain
15:58:10,198 INFO anaconda: Running Thread: AnaWaitForConnectingNMThread (139789148903168)
15:58:10,205 WARN anaconda.stdout: Not asking for VNC because of an automated install
15:58:10,209 WARN anaconda.stdout: Not asking for VNC because text mode was explicitly asked for in kickstart
15:58:10,227 INFO anaconda: Display mode = t
15:58:10,236 INFO anaconda: 2097152 kB (2048 MB) are available
15:58:10,312 INFO anaconda: got 1 NTP servers from DHCP
15:58:10,325 INFO anaconda: Thread Done: AnaWaitForConnectingNMThread (139789148903168)
15:58:10,329 INFO anaconda: check_memory(): total:2048, needed:670, graphical:760
15:58:10,409 DEBUG anaconda: Searching /usr/lib64/python2.7/site-packages/pyanaconda/installclasses.
15:58:10,424 DEBUG anaconda: Found Red Hat Enterprise Linux (RHELBaseInstallClass).
15:58:10,426 DEBUG anaconda: Found Red Hat Enterprise Linux Atomic Host (RHELAtomicInstallClass).
15:58:10,427 DEBUG anaconda: Found Fedora (FedoraBaseInstallClass).
15:58:10,428 DEBUG anaconda: Found oVirt Node Next (OvirtBaseInstallClass).
15:58:10,430 DEBUG anaconda: Found Red Hat Virtualization (RHEVInstallClass).
15:58:10,430 DEBUG anaconda: Found CentOS Linux (RHELBaseInstallClass).
15:58:10,431 DEBUG anaconda: Found CentOS Atomic Host (RHELAtomicInstallClass).
15:58:10,433 INFO anaconda: Using a visible install class CentOS Linux (RHELBaseInstallClass).
15:58:11,683 INFO anaconda: boot loader GRUB2 on X86 platform
15:58:11,899 DEBUG anaconda: LABEL=OEMDRV matches [] for devicetree=None and disks_only=True
15:58:11,905 INFO anaconda: Running Thread: AnaStorageThread (139789148903168)
15:58:11,947 INFO anaconda: Running Thread: AnaTimeInitThread (139789099656960)
15:58:12,009 INFO anaconda: Geolocation is disabled due to automated kickstart based installation.
15:58:12,020 INFO anaconda: Running Thread: AnaPayloadRestartThread (139789091264256)
15:58:12,085 INFO anaconda: Running Thread: AnaPayloadThread (139789082871552)
15:58:12,086 INFO anaconda: Thread Done: AnaPayloadRestartThread (139789091264256)
15:58:12,092 INFO anaconda: Thread Done: AnaTimeInitThread (139789099656960)
15:58:12,895 INFO anaconda: Skipping detection of SMT.
15:58:12,919 INFO anaconda: Adding controller: SummaryHub
15:58:13,339 INFO anaconda: Module initialized: LangSpoke
15:58:13,353 INFO anaconda: Module initialized: TimeSpoke
15:58:13,358 INFO anaconda: Running Thread: AnaNTPserver1 (139789099656960)
15:58:13,361 DEBUG anaconda: checking NTP server india.colorado.edu
15:58:13,366 INFO anaconda: Running Thread: AnaSourceWatcher (139789091264256)
15:58:13,387 INFO anaconda: Running Thread: AnaSoftwareWatcher (139789074478848)
15:58:13,401 INFO anaconda: Running Thread: AnaStorageWatcher (139789066086144)
15:58:13,660 DEBUG anaconda: NTP server india.colorado.edu appears to be working
15:58:13,678 INFO anaconda: Thread Done: AnaNTPserver1 (139789099656960)
15:58:13,972 INFO anaconda: Module initialized: NetworkSpoke
15:58:14,003 INFO anaconda: Module initialized: PasswordSpoke
15:58:14,006 INFO anaconda: Module initialized: UserSpoke
15:58:14,008 INFO anaconda: Initialization of all modules (8) has been started.
15:58:15,638 INFO anaconda: boot loader GRUB2 on X86 platform
15:58:16,005 INFO anaconda: Thread Done: AnaStorageThread (139789148903168)
15:58:16,115 INFO anaconda: Module initialized: StorageSpoke
15:58:16,117 INFO anaconda: Thread Done: AnaStorageWatcher (139789066086144)
15:58:47,939 INFO anaconda: Thread Done: AnaPayloadThread (139789082871552)
15:58:47,940 INFO anaconda: Module initialized: SourceSpoke
15:58:47,941 INFO anaconda: Thread Done: AnaSourceWatcher (139789091264256)
15:58:47,943 INFO anaconda: Running Thread: AnaCheckSoftwareThread (139789091264256)
15:58:47,944 INFO anaconda: Thread Done: AnaCheckSoftwareThread (139789091264256)
15:58:47,945 INFO anaconda: Module initialized: SoftwareSpoke
15:58:47,945 INFO anaconda: All modules have been initialized.
15:58:47,945 INFO anaconda: Thread Done: AnaSoftwareWatcher (139789074478848)
15:58:48,398 DEBUG anaconda: sda matches [u'sda'] for devicetree=<blivet.devicetree.DeviceTree object at 0x7f2335c79a50> and disks_only=True
15:58:48,400 DEBUG anaconda: new disk order: [u'sda']
15:58:48,402 DEBUG anaconda: Bootloader: use 'sda' first disk from driveorder as boot drive, dry run True
15:58:49,933 DEBUG anaconda: sda matches [u'sda'] for devicetree=<blivet.devicetree.DeviceTree object at 0x7f2335c79a50> and disks_only=True
15:58:49,935 DEBUG anaconda: new disk order: [u'sda']
15:58:49,936 DEBUG anaconda: Bootloader: use 'sda' first disk from driveorder as boot drive, dry run False
15:58:49,959 DEBUG anaconda: _is_valid_disklabel(sda) returning True
15:58:49,961 DEBUG anaconda: _is_valid_size(sda) returning True
15:58:49,962 DEBUG anaconda: _is_valid_location(sda) returning True
15:58:49,964 DEBUG anaconda: _is_valid_format(sda) returning True
15:58:49,965 DEBUG anaconda: is_valid_stage1_device(sda) returning True
15:58:50,011 DEBUG anaconda: _is_valid_disklabel(sda) returning True
15:58:50,013 DEBUG anaconda: _is_valid_size(sda) returning True
15:58:50,014 DEBUG anaconda: _is_valid_location(sda) returning True
15:58:50,016 DEBUG anaconda: _is_valid_format(sda) returning True
15:58:50,017 DEBUG anaconda: is_valid_stage1_device(sda) returning True
15:58:50,019 DEBUG anaconda: _is_valid_disklabel(sda1) returning True
15:58:50,019 DEBUG anaconda: _is_valid_size(sda1) returning True
15:58:50,021 DEBUG anaconda: _is_valid_location(sda1) returning True
15:58:50,023 DEBUG anaconda: _is_valid_partition(sda1) returning True
15:58:50,026 DEBUG anaconda: _is_valid_format(sda1) returning True
15:58:50,026 DEBUG anaconda: is_valid_stage2_device(sda1) returning True
15:58:50,036 DEBUG anaconda: Storage check started with constraints {'must_be_on_linuxfs': set(['/tmp', '/var', '/usr', '/home', '/', '/usr/lib', '/usr/share']), 'must_be_on_root': set(['/etc', '/bin', '/proc', '/sbin', '/dev', '/lib', 'lost+found', '/mnt', '/root']), 'min_ram': 320, 'req_partition_sizes': {}, 'min_root': Size('250 MiB'), 'must_not_be_on_root': set([]), 'root_device_types': set([]), 'min_partition_sizes': {'/boot': Size('200 MiB'), '/home': Size('100 MiB'), '/var': Size('384 MiB'), '/tmp': Size('50 MiB'), '/usr': Size('250 MiB')}}.
15:58:50,041 DEBUG anaconda: Run sanity check verify_root.
15:58:50,041 DEBUG anaconda: Run sanity check verify_partition_sizes.
15:58:50,042 DEBUG anaconda: Run sanity check verify_partition_format_sizes.
15:58:50,045 DEBUG anaconda: Run sanity check verify_bootloader.
15:58:50,046 DEBUG anaconda: Run sanity check verify_gpt_biosboot.
15:58:50,046 DEBUG anaconda: Run sanity check verify_swap.
15:58:50,046 DEBUG anaconda: Run sanity check verify_swap_uuid.
15:58:50,046 DEBUG anaconda: Run sanity check verify_mountpoints_on_linuxfs.
15:58:50,047 DEBUG anaconda: Run sanity check verify_mountpoints_on_root.
15:58:50,047 DEBUG anaconda: Run sanity check verify_mountpoints_not_on_root.
15:58:50,047 DEBUG anaconda: Run sanity check verify_luks_devices_have_key.
15:58:50,048 DEBUG anaconda: Storage check finished with success.
15:58:50,072 DEBUG anaconda: Entered hub: SummaryHub
15:58:50,296 INFO anaconda: fs space: 10.84 GiB  needed: 2861.02 MiB
15:58:50,335 INFO anaconda: Running Thread: AnaInputThread1 (139789091264256)

andrewm659
Posts: 38
Joined: 2014/10/24 16:20:13

Re: kickstart installation issue

Post by andrewm659 » 2020/02/11 17:00:50

Code: Select all

#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --iscrypted 
# System language
lang en_US
# System authorization information
auth  --useshadow  --passalgo=sha512
# Use text mode install
text
skipx
firstboot --disable
# SELinux configuration
selinux --enforcing

# Firewall configuration
firewall --enabled --ssh
# Network information
network  --bootproto=dhcp --device=ens192
# Reboot after installation
reboot
# System timezone
timezone America/Chicago --isUtc
# Use network installation
url --url="ftp://10.150.10.7/pub/centos/7/os/x86_64/"
# System bootloader configuration
#bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
bootloader --location=mbr --driveorder=sda --boot-drive=sda --append="rhgb quiet crashkernel=auto novga console=ttyS0,115200 console=tty0"
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part /boot --fstype="ext4" --size=2048 --ondisk=sda --asprimary
part pv.01 --size=100000 --grow --ondisk=sda --asprimary #--fstype="lvmpv"
volgroup vg_root pv.01
logvol / --fstype="xfs" --name=lv_root --vgname=vg_root --size=4096
logvol /var --fstype="xfs" --name=lv_var --vgname=vg_root --size=10240
logvol /var/log --fstype="xfs" --name=lv_var_log --vgname=vg_root --size=4096
logvol /var/log/audit --fstype="ext4" --name=lv_var_log_audit --vgname=vg_root --size=2048
logvol /usr --fstype="xfs" --name=lv_usr --vgname=vg_root --size=10240
logvol /home --fstype="xfs" --name=lv_home --vgname=vg_root --size=10240
logvol /tmp --fstype="xfs" --name=lv_tmp --vgname=vg_root --size=5120
logvol swap --fstype="swap" --name=lv_swap --vgname=vg_root --size=2048
logvol /opt --fstype="xfs" --name=lv_opt --vgname=vg_root --size=5120


%packages
@base
@core
@network-tools
bash-completion
ipa-client
%end

andrewm659
Posts: 38
Joined: 2014/10/24 16:20:13

Re: kickstart installation issue

Post by andrewm659 » 2020/02/11 21:48:14

Fixed. 1) IT was a repo URL issue in my ks.cfg file, and in my tftp boot file /var/lib/tftpboot/pxelinux.cfg/default ( the inst.repo and method lines).

2) My LVM setup got changed to this:

Code: Select all

bootloader --driveorder=sda --location=mbr --driveorder=sda --boot-drive=sda --append="rhgb quiet crashkernel=auto novga console=ttyS0,115200 console=tty0"
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --drives=sda --initlabel #--disklabel gpt
# Disk partitioning information
#part biosboot --fstype=biosboot --size=1 --ondisk=sda
part /boot --fstype="ext4" --size=2048 --asprimary --ondisk=sda
part pv.01 --size=118784 --grow --ondisk=sda #--fstype="lvmpv"
volgroup vg_root pv.01 #--pesize=131072
logvol / --fstype="xfs" --name=lv_root --vgname=vg_root --size=4096
logvol /var --fstype="xfs" --name=lv_var --vgname=vg_root --size=10240
logvol /var/log --fstype="xfs" --name=lv_var_log --vgname=vg_root --size=4096
logvol /var/log/audit --fstype="ext4" --name=lv_var_log_audit --vgname=vg_root --size=2048
logvol /usr --fstype="xfs" --name=lv_usr --vgname=vg_root --size=10240
logvol /home --fstype="xfs" --name=lv_home --vgname=vg_root --size=10240
logvol /tmp --fstype="xfs" --name=lv_tmp --vgname=vg_root --size=5120
logvol swap --fstype="swap" --name=lv_swap --vgname=vg_root --size=2048
logvol /opt --fstype="xfs" --name=lv_opt --vgname=vg_root --size=5120
Thanks for all your help!

Post Reply

Return to “CentOS 7 - General Support”