LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-07-2016, 04:48 PM   #1
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Question Slackware64-14.2(current) 03FEB2016 eliloconfig and PXE boot installation


I've setup a PXE server per instructions in "usb-and-pxe-installers/" to network boot 14.1 and Current and install via NFS. The DHCP is handled via OpenWRT 15.05 on a Netgear router, PXE server is Slackware32-14.1 and syslinux-4.06.

Everything work ok on both 32- and 64-bit systems with standard BIOS to boot and install Slackware. In each case I select from a menu to boot the correct kernel (32 or 64). However, when booting via PXE on UEFI systems, eliloconfig is not used - only liloconfig. Thus, the /dev/sda1 EFI partition (boot/efi, vfat) is not updated -even on a clean install with repartitioned, reformatted hard drive. Running eliloconfig after installation and before reboot does nothing.

I can manually copy the appropriate files over to the EFI partition as a workaround. I would prefer to use PXE instead of DVD/USB.

There seems to be a glitch somewhere, or is it because PXE boots the UEFI system initially as 32 bit?

Code:
# ls -gG --group-directories-first
total 1448
drwxr-xr-x 2   4096 Dec 20 18:40 pxelinux.cfg/
drwxr-xr-x 3   4096 Dec 20 18:39 slackware-14.1/
drwxr-xr-x 3   4096 Jul 14  2015 slackware-current/
drwxr-xr-x 3   4096 Jul 14  2015 slackware64-current/
-rw-r--r-- 1  38568 Mar 11  2013 chain.c32
-rw-r--r-- 1 347736 Mar 11  2013 hdt.c32
-rw-r--r-- 1   1312 Mar 11  2013 ifcpu64.c32
-rw-r--r-- 1  55012 Mar 11  2013 menu.c32
-rw-r--r-- 1 817106 Oct 23  2013 pci.ids
-rw-r--r-- 1    239 Mar 11  2013 poweroff.com
-rw-r--r-- 1  26889 Mar 11  2013 pxelinux.0
-rw-r--r-- 1    800 Mar 11  2013 reboot.c32
-rw-r--r-- 1 153872 Mar 11  2013 vesamenu.c32
-rw-r--r-- 1   2960 Mar 11  2013 whichsys.c32
# ls -gG pxelinux.cfg/
total 108
-rw-r--r-- 1 66491 Jul 15  2009 SlackGrey.jpg
-rw-r--r-- 1   899 Dec 20 18:40 default
-rw-r--r-- 1  1289 Dec 17 15:34 default.inc
-rw-r--r-- 1  9283 Dec  6  2008 kelin4.jpg
-rw-r--r-- 1   895 Dec 20 18:36 slackware.conf
-rw-r--r-- 1   458 Dec 17 15:36 slackware64.conf
-rw-r--r-- 1 10289 Nov 28 15:05 swlogo.png
Code:
cat slackware.conf 
# Slackware Installation menu
#
MENU INCLUDE /pxelinux.cfg/default.inc
menu title Slackware x86 Installation Menu

LABEL return
  MENU LABEL ^0  Return to Main Menu
  KERNEL vesamenu.c32
  APPEND pxelinux.cfg/default

label current-hugesmp.s
  menu label ^1  Slackware-current, Huge SMP kernel
  kernel slackware-current/kernels/hugesmp.s/bzImage
  append initrd=slackware-current/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=hugesmp.s

label current-huge.s
  menu label ^2  Slackware-current, Huge non-SMP kernel
  kernel slackware-current/kernels/huge.s/bzImage
  append initrd=slackware-current/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s

label stable-huge.s
  menu label ^3  Slackware-14.1, Huge SMP kernel
  kernel slackware-14.1/kernels/huge.s/bzImage
  append initrd=slackware-14.1/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s

cat slackware64.conf 
# Slackware64 Installation menu
#
MENU INCLUDE /pxelinux.cfg/default.inc
menu title Slackware Intel/AMD x64 Installation Menu

LABEL return
  MENU LABEL ^0  Return to Main Menu
  KERNEL vesamenu.c32
  APPEND pxelinux.cfg/default

label current-huge.s
  menu label ^1  Slackware x64 current, Huge kernel
  kernel slackware64-current/kernels/huge.s/bzImage
  append initrd=slackware64-current/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s
 
Old 02-21-2016, 05:21 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Everything work ok on both 32- and 64-bit systems with standard BIOS to boot and install Slackware. In each case I select from a menu to boot the correct kernel (32 or 64). However, when booting via PXE on UEFI systems, eliloconfig is not used - only liloconfig. Thus, the /dev/sda1 EFI partition (boot/efi, vfat) is not updated -even on a clean install with repartitioned, reformatted hard drive. Running eliloconfig after installation and before reboot does nothing.
If it is possible try to reconfigure and boot the server from a GPT. Install elilo on the UEFI client machines.
 
  


Reply

Tags
boot, install, pxe, uefi



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
[SOLVED] btrfs errors on initial boot following Slackware64-current installation astanton Slackware - Installation 3 04-11-2013 10:06 AM
Slackware64 -current kvm guest boot issue rpedrica Slackware 10 03-31-2011 10:15 AM
[SOLVED] Slackware64-current installation detects i686 samac Slackware 2 11-18-2010 02:24 PM
[SOLVED] Slackware64-current usbboot.img fails to boot disturbed1 Slackware 11 02-19-2010 01:12 AM
Slackware64-current installation via usb stick hangs before setup mr_mandrill Slackware - Installation 9 09-11-2009 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 10:53 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