LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-15-2017, 05:00 AM   #1
dr0
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
syslinux issues with Ubuntu 16.04 PXE boot using SOL IPMI


Hi,

I have a cheap 1u server that has a basic BMC IPMI with only Serial Over Lan for remote console.

I am attempting to PXE boot the server by following: https://www.ostechnix.com/how-to-ins...-ubuntu-16-04/ but am having no luck getting past pxelinux...

My pxelinux.cfg/default file looks like:
Code:
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
#CONSOLE 0 115200
SERIAL 0 115200

path ubuntu-installer/amd64/boot-screens/
include ubuntu-installer/amd64/boot-screens/menu.cfg
default ubuntu-installer/amd64/boot-screens/vesamenu.c32

prompt 0
timeout 100

label linux
kernel ubuntu-installer/amd64/linux
append initrd=ubuntu-installer/amd64/initrd.gz vga=off console=tty0 console=ttyS0,115200n8 --
NOTE: the pxelinux.cfg/default is essentially syslinux and the CONSOLE 0 was commented out as it was distorting the "Installer boot menu" making it unreadable.

The Server will boot, initate pxe and pull down the pxelinux.0 file as well as the configs but all i get over SOL is a blue "Installer boot menu" which i cannot interact with. After the timeout it looks like it is attempting to load the ubuntu installer but i get a few blank lines over serial and nothing else.

From TCP Dump, after the timeout i can see it pulling the linux kernel:
Code:
10:54:45.427392 IP kvm00.serv.49187 > pxe.serv.tftp:  58 RRQ "ubuntu-installer/amd64/linux" octet tsize 0 blksize 1408
10:54:45.429474 IP pxe.serv.47024 > kvm00.serv.49187: UDP, length 29
10:54:45.429958 IP kvm00.serv.49187 > pxe.serv..47024: UDP, length 4
10:54:45.430363 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
10:54:45.431047 IP kvm00.serv..49187 > pxe.serv..47024: UDP, length 4
10:54:45.431423 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
10:54:45.432191 IP kvm00.serv..49187 > pxe.serv..47024: UDP, length 4
10:54:45.432566 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
10:54:45.433260 IP kvm00.serv..49187 > pxe.serv..47024: UDP, length 4
10:54:45.433640 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
10:54:45.434251 IP kvm00.serv..49187 > pxe.serv..47024: UDP, length 4
10:54:45.434562 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
10:54:45.435163 IP kvm00.serv..49187 > pxe.serv..47024: UDP, length 4
10:54:45.435426 IP pxe.serv..47024 > kvm00.serv..49187: UDP, length 1412
But not seeing it fetch initrd.gz correction, i can now see its being downloaded as well:
Code:
12:26:27.821225 IP kvm00.serv..49187 > pxe.serv..tftp:  58 RRQ "ubuntu-installer/amd64/linux" octet tsize 0 blksize 1408
12:26:31.345237 IP kvm00.serv..49188 > pxe.serv..tftp:  62 RRQ "ubuntu-installer/amd64/initrd.gz" octet tsize 0 blksize 1408

When attempting to pxe boot a VM using the same config i get full graphical install and it looks to work fine...

Dose anyone know what i am doing wrong? It is as if the initrd is not accepting the serial config i am passing it.

Thank you

Last edited by dr0; 08-15-2017 at 06:30 AM.
 
Old 08-15-2017, 09:27 AM   #2
dr0
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Fixed,

Followed:
http://strugglers.net/~andy/blog/201...rial-over-lan/


Turns out there are a load of other files that also need to be updated:
Code:
  ubuntu-installer/amd64/boot-screens/adtxt.cfg 
  ubuntu-installer/amd64/boot-screens/rqtxt.cfg 
  ubuntu-installer/amd64/boot-screens/syslinux.cfg 
  ubuntu-installer/amd64/boot-screens/txt.cfg
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pxe boot ubuntu ac_kumar Linux - Newbie 3 07-15-2016 06:04 PM
PXE Boot Issues adabard Linux - Networking 1 09-29-2010 03:56 PM
Making Syslinux boot a different partition also with Syslinux. tokico Linux - Software 6 03-04-2009 09:37 AM
PXE Boot issues - TFTP? xiaodown Linux - Server 8 07-08-2008 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration