Enable UEFI Red Hat support on Cobbler (2.6.7) - HOW?
by Ž D
Hallo. I was successful in UEFI boot and install, here are details:
1) Cobbler server : 2.6.9
source: ?, ?
build time: Fri Jun 12 07:42:24 2015
Cobbler is installed on Oracle Linux 6.6
2) I am installing Oracle Linux R6-U6-x86_64 on the Oracle Server x3-2
3) DHCP service is provided by another box, the config is:
host my-hostname.domain.com {
hardware ethernet 00:10:e0:aa:aa:aa;
fixed-address 10.xx.xx.xx;
next-server 10.yy.yy.yy; # my cobbler server
filename "/grub/BOOTX64.efi";
}
4) How to find proper BOOTX64.efi file, read the doc:
http://docs.oracle.com/cd/E37670_01/E41137/E41137.pdf
See the paragraph 1.4.7 (starts on page 9), the page 10 talks about
UEFI-based PXE client.
This is the key: UEFI-based PXE clients can use the BOOTX64.efi boot
loader, which is available as EFI/BOOT/BOOTX64.efi from the Oracle Linux
6 Update 6 Media Pack DVD image.
So I placed BOOTX64.efi in <my_cobbler_server>:/var/lib/tftpboot/grub/
5) I also have the file splash.xpm.gz in
<my_cobbler_server>:/var/lib/tftpboot/grub/
6) The file /var/lib/tftpboot/grub/00:10:e0:aa:aa:aa looks like
timeout=10
splashimage=(nd)/splash.xpm.gz
title OL-R6-U6-x86_64-UEFI
root (nd)
kernel /images/OL-R6-U6-x86_64/vmlinuz ksdevice=bootif lang= text
ks=http://my_cobbler_server/cblr/svc/op/ks/system/host_name
initrd /images/OL-R6-U6-x86_64/initrd.img
7) The kickstart file is
# ks for OL 6.6 UEFI
install
text
url --url=http://10.yy.yy.yy/cobbler/links/OL-R6-U6-x86_64
lang en_US.UTF-8
keyboard us
rootpw --iscrypted $1$zw2wh8P1$zZMsVBx4.HbZNxM8p1uPX1
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Los_Angeles
reboot
bootloader --location=partition
clearpart --all --initlabel
part /boot/efi --fstype=vfat --size=200 --asprimary --ondisk=sda
part /boot --fstype=ext4 --size=500 --label=/boot --asprimary --ondisk=sda
part / --fstype=ext4 --size=8192 --grow --maxsize=51200 --label=/
--ondisk=sda
part /var --fstype=ext4 --size=4096 --label=/var --ondisk=sda
part /u01 --fstype=ext3 --size=4096 --label=/u01 --ondisk=sda
part swap --size=16384 --label=swap --ondisk=sda
%packages
@base
@core
device-mapper-multipath
kexec-tools
net-tools
pciutils
sysfsutils
system-config-kickstart
wget
lsscsi
nfs-utils
8) Works for me. Let me know if you need any other detail?
--
Thanks,
Zarko
7 years, 7 months
Cobbler 2.6.11 "Missing packages" but they are not :)
by Tory M Blue
New guy,
Version 2.6.11
running on: CentOS release 6.7
Been using Cobbler for about 5 years I guess (previously on f11). But
was using a pretty old version, so I decided it was time to upgrade.
What I'm getting is a missing packages error during install
"everything that is listed in my %packages and @Base" are failing. I
can ignore, the system will build and then I can actually run a "yum
install /missing packages" and everything is installed. So I'm
wondering why the kickstart/cobbler portion is not seeing the files
when yum is.
Could there be a bad repo saved somewhere? I've looked at distros,
repos, profiles and don't see any repos that are wrong, so wondered if
it could be inserted somewhere else when I built the cobbler server
and setup the distro's repo's?
I don't get any errors in the cobbler log that I can see,
Mon Mar 21 21:31:01 2016 - INFO | REMOTE is_kickstart_in_use; user(cobbler)
Mon Mar 21 21:31:01 2016 - DEBUG | get_items; ['profile']
Mon Mar 21 21:31:01 2016 - DEBUG | done with get_items; ['profile']
Mon Mar 21 21:31:01 2016 - INFO | REMOTE read_kickstart_template;
user(cobbler); name(/var/lib/cobbler/kickstarts/membase.ks)
Mon Mar 21 21:31:01 2016 - DEBUG | authorize; ['cobbler',
'read_kickstart_template', '/var/lib/cobbler/kickstarts/membase.ks',
True, True]
Mon Mar 21 21:31:01 2016 - DEBUG | REMOTE cobbler authorization
result: True; user(?)
Mon Mar 21 21:31:01 2016 - INFO | REMOTE version; user(cobbler)
so it's grabbing the right kickstart file and again the explicit
packages that I've listed in the kickstart are coming back with
"Missing Package", but it's not missing it's there.
%packages
libgomp
libidn
libxslt
libevent
net-tools
ntp
net-snmp
screen
vim-common
vim-enhanced
postfix
sysstat
nfs-utils
telnet
examples of the files being in the repo and they were added with the createrepo
[root@boot-CentOS Packages]# ls net-snmp-5*
net-snmp-5.5-49.el6_5.3.x86_64.rpm
[root@boot-CentOS Packages]# ls telnet*
telnet-0.17-48.el6.x86_64.rpm telnet-server-0.17-48.el6.x86_64.rpm
[root@boot-CentOS Packages]# pwd
/var/www/cobbler/repo_mirror/CentOS-66-x86_64-base/Packages
Any idea where I can look?
8 years
Kickstart Installation panics during installation on Fujitsu Primergy
by Lenhardt, Matthias
Hello *,
I have a strange problem while trying to kickstart a Fujitsu Primergy RX200 S8 with cobbler to install CentOS 7. My cobbler instance came with Spacewalk 2.4, which I use to install and manage our CentOS systems. Generally automatic installation of CentOS 6 and 7 works very well with many VMware VMs and some hardware based systems.
Last week I had to reinstall two of our rare Fujitsu Primergys and was booting them from ISO image, which I build with "cobbler buildiso ..." command. Unfortunatelly the system suddenly resets itself quite early during the installation phase. The last output I can see on the srceen is the following:
[ OK ] Started dracut initqueue hook.
Starting dracut pre-mount hook...
[ OK ] Started dracut pre-mount hook.
[ OK ] Reached target initrd Root File System.
Starting Reload Configuration from the Real Root...
[ OK ] Started Reload Configuration from the Real Root.
[ OK ] Reached target Initrd File Systems.
Starting dracut mount hook...
[ 19.353791] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Started dracut mount hook.
[ OK ] Reached target Initrd Default Target.
Than the system makes a reset and boots again ...
Could anybody tell me, at which state of the boot process this happens and evt. give me a hint what could be the reason for the reset.
Many thanks in advance.
Regards
Matthias Lenhardt
Systemadministrator, BITMARCK Beratung
[http://postmaster.bitmarck.de/images/Messe_conhIT_2016_E_Mail_Signatur.png]<http://www.conhit.de/>
8 years
Regular expressions in snippets & templates
by Michael Tiernan
I concede to having to wear the dunce cap.
I'm having a really bad senior moment and cannot for the life of me get
a simple regular expression match to work in a snippet/template under
cobbler.
Anyone have any snippet examples or pointers to references for help?
Thanks for everyone's time.
8 years