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
VMware EFI + CentOS7
by Marcq, Nicolas
Hi experts !
I'm testing Cobbler and I'm stuck when I try to deploy CentOS 7 on VMware VM (ESX 5.5) with EFI bios activated.
I don't see anything about specific configuration I should have added on the official documentation. In DHCP log I can see the requested boot file is pxelinux.0 instead of grub-x86_64.efi but I don't know why.
Thx for any help!
My Cobbler version
cobbler --version
Cobbler 2.6.9
source: ?, ?
build time: Mon Jun 22 18:06:11 2015
This is my DCHP config
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option domain-name-servers 16.110.135.51;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.0.100 192.168.0.200;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.0.1;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
if option pxe-system-type = 00:02 {
filename "ia64/elilo.efi";
} else if option pxe-system-type = 00:06 {
filename "grub/grub-x86.efi";
} else if option pxe-system-type = 00:07 {
filename "grub/grub-x86_64.efi";
} else {
filename "pxelinux.0";
}
}
}
My System declaration
cat /var/lib/tftpboot/grub/01-00-50-56-BD-48-E7
title CentOS-7-x86_64
root (nd)
kernel /images/CentOS-7-x86_64/vmlinuz ksdevice=bootif lang= kssendmac text ks=http://192.168.0.1/cblr/svc/op/ks/system/test
initrd /images/CentOS-7-x86_64/initrd.img
My DHCP log
tail -f /var/log/messages
Aug 3 15:14:43 hwosvm12 dhcpd:
Aug 3 15:14:43 hwosvm12 dhcpd: Sending on Socket/fallback/fallback-net
Aug 3 15:14:43 hwosvm12 systemd: Started DHCPv4 Server Daemon.
Aug 3 15:14:57 hwosvm12 dhcpd: DHCPDISCOVER from 00:50:56:bd:48:e7 via ens224
Aug 3 15:14:58 hwosvm12 dhcpd: DHCPOFFER on 192.168.0.101 to 00:50:56:bd:48:e7 via ens224
Aug 3 15:15:00 hwosvm12 dhcpd: DHCPREQUEST for 192.168.0.101 (192.168.0.1) from 00:50:56:bd:48:e7 via ens224
Aug 3 15:15:00 hwosvm12 dhcpd: DHCPACK on 192.168.0.101 to 00:50:56:bd:48:e7 via ens224
Aug 3 15:15:00 hwosvm12 in.tftpd[23148]: RRQ from 192.168.0.101 filename /pxelinux.0
Aug 3 15:15:00 hwosvm12 in.tftpd[23148]: tftp: client does not accept options
Aug 3 15:15:00 hwosvm12 in.tftpd[23149]: RRQ from 192.168.0.101 filename /pxelinux.0
Aug 3 15:30:01 hwosvm12 xinetd[13037]: EXIT: tftp status=0 pid=22585 duration=1699(sec)
8 years, 5 months
Cobbler over IPv6
by Jiafan Zhou
Hi all,
Does Cobbler support IPv6 network, DHCPv6?
UEFI can PXE boot from IPv6 network interface.
Thanks.
8 years, 6 months
Using "cobbler import" on LiveCDs?
by Locane
Hello everyone - I'm trying to find resources on how to have Cobbler
correctly import a LiveCD. Does anyone have any links I can look at? Does
Cobbler even support this?
I've tried manually editing the PXE menu with a known-good-working
configuration from an old pxe server, and a test system just hangs at
blinking cursor at the menu when I attempt to load it.
Thanks in advance!
8 years, 6 months
Anyone have success installing Ubuntu 15.04?
by Will Dennis
Hi all,
Have been trying to install Ubuntu 15.04 via Cobbler (both using kickstart and preseed) - the install looks normal, completes, but then when the machine reboots, it hangs after the BIOS screens where it would normally display the GRUB menu... I have tried this process on two different Dell PowerEdge machines (an 1850 and a 1950) but the same thing happens every time. I can successfully install on either of these machines if I use the regular Ubuntu 15.04 CD to install. Anyone seeing this, or have any suggestions on how I might troubleshoot? I have booted the Cobbler-installed machines with an Ubuntu rescue CD, and did the "reinstall GRUB" option, but they still won't boot thereafter...
Thanks,
Will
8 years, 6 months
install complete customised Debian8.1 on remote machines
by Thierry Granier
Hi,
i have a Debian 8.1 customised on a macine and i'd like to install this
this Debian 8.1 customised on remote clean machines.
How can i clone the customised Debian system ?
How can i install it on remote machines with Cobbler?
Is t possible?
Many thanks
T.
8 years, 6 months
Buildiso doesn't seem to be bootable
by Harry Hoffman
Hi All,
Running 2.6.9 on top of CentOS 7.x
I've got distros for Centos and RHEL (6.x, 7.x - x86-64).
Running buildiso and then taking generated.iso and dd'ing it to a USB stick via:
dd if=./generated.iso of=/dev/sdc
This method works for isos included in the RHEL DVDs but not for the cobbler generated iso.
Am I missing some key step here or is cobbler not actually building a bootable image?
Cheers,
Harry
8 years, 6 months
Re: [cobbler] CentOS 7 install failure
by Chris Johnson
Hi,
Don't know if this last post made it.
I've narrowed it down to something in the network_config, pre and post
SNIPPETS. I have seen bug report 1117640 however no data is missing as
in that case, I've done a cobbler system getks and all the data is
there as far as I can tell. I pulled all three SNIPPETs out and
replaced them with the proper network kickstart line and the error about
an illegal IP address string is gone. The install has other issues but
that's not this problem.
So it's something in the network SNIPPETs that is causing the illegal IP
address string error when trying to install CentOS 7.
Chris J.
> Hi.
>
> I've probably missed something somewhere. I'd love to know what.
>
> I have a cobbler server (2.6.5-9.1) running on CentOS 6.5 in a VBox
> (4.3.16) VM on OS X (10.9.5). Now 6.5 installs just fine this way on
> my other VMs. However when trying to install C7, anaconda keeps
> dumping on an illegal IP address string passed to inet_aton and that's
> even using the default sample.ks kickstart.
>
> Has anyone managed to install CentOS 7 on a VBox VM? I'd love to know
> where this error is coming from.
>
> Tnx.
>
> Chris J.
>
>
8 years, 6 months
Hello - Newbie need to clone RHEL6 with awesome cobbler - LIPERE Benjamin.
by Benjamin LIPERE
Hello.
Can someone send me an up-to-date tutorial or link for cloning, please ?
I need to clone installed system for HPC cluster.
I am searching but I am not finding it !
Thanks !!!!!!!!!!!
Best Regards.
Benjamin.
--
LIPERE Benjamin
Le logis de paille
87270, Chaptelat
FRANCE
06 26 14 35 20
benjamin.lipere123(a)gmail.com
8 years, 6 months