Difference between revisions of "Talk:PXE"

From ArchWiki
Jump to: navigation, search
(Log sections)
(UEFI: linked archiso bug)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== Troubleshooting ==
+
== Methods for PXE booting non-Arch iso's ==
  
I want to add a "troubleshooting" section too, specifically about the initial part of the PXE boot process where the option-rom is getting a DHCP lease; the pre-pxelinux part of the boot process always seems to give me the most trouble --[[User:Buhman|Buhman]] ([[User talk:Buhman|talk]]) 21:09, 22 September 2012 (UTC)
+
The arch installation iso has all the pxe image files required for network booting baked into the iso, but for RHEL/CentOS and most other distro's this is not the case. I started from the dnsmasq, darkhttpd method outlined in the instructions for installing Arch iso by PXE and added a few tweaks and extra steps to get it to work for RHEL (my blog post: [http://eatpeppershothot.blogspot.kr/2014/09/rhelcentos-pxe-install-using-dnsmasq.html]). I am sure there are others out there who have gotten similar methods to work. I think it would be helpful to add these to the wiki. [[User:Gojun077|Gojun077]] ([[User talk:Gojun077|talk]]) 19 September 2014
  
== Log sections ==
+
:Hi, it's customary to keep only Arch-specific content in this wiki, or content that applies in general, including Arch. However I also understand that it would be silly to ask you to add your method to every wiki of every distro you know :) In this case I see only two solutions:
 +
:# You create a See also section at the bottom and link to your blog post with a well-designed description full of keywords that can help people searching for a generic way to PXE-boot non-Arch iso's.
 +
:# You create a ''separate'' section (i.e. you don't add notes to the existing Arch-specific sections) for this tweaked procedure that covers a hypothetic scenario like "If you are using a custom Arch iso (or another distribution's) that does not contain PXE images, ...", sort of circumventing the above-mentioned custom, also making sure not to duplicate content existing in other sections/articles; in this way this new section would probably have good chances of "surviving" in the medium/long term.
 +
:-- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 03:13, 20 September 2014 (UTC)
 +
:: When facing such question, I always asking my self: If I am a user who want to PXE boot RHEL, where will I go to find such information. It should be RHEL documentation or wiki.
 +
:: So even if you add valuable information here, few users will benefit from it. It will increase maintenance burden because few Arch users could fix RHEL specific info when it is out of date.
 +
:: --[[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 13:47, 29 September 2014 (UTC)
  
I'm not sure whether I should "doctor" up the log sections and remove the timestamps and hostname. Also that's obviously syslog-specific stuff, which makes this article yet even less init-agnostic. --[[User:Buhman|Buhman]] ([[User talk:Buhman|talk]]) 22:44, 26 September 2012 (UTC)
+
== Traditional method ==
 +
 
 +
I wish I had the ability to add this myself.
 +
 
 +
A method for using standard dhcpd/tftpd/httpd servers would be excellent. I was surprised to be unable to find anything online to help with this, so I suspect it may be more difficult than it is here with dnsmasq/darkhttpd.
 +
--[[User:Bananabrain|Bananabrain]] ([[User talk:Bananabrain|talk]]) 00:14, 7 August 2015 (UTC)
 +
 
 +
== UEFI ==
 +
 
 +
The method described here using lpxelinux.0 only works for systems with BIOS/legacy firmware. Systems with UEFI firmware will have to be directed to a syslinux.efi file (see http://www.syslinux.org/wiki/index.php?title=PXELINUX#UEFI) or enable legacy mode.
 +
[[User:Jrmrjnck|Jrmrjnck]] ([[User talk:Jrmrjnck|talk]]) 05:20, 7 April 2016 (UTC)
 +
 
 +
:The currently generated archiso file does not contain the required syslinux files for booting a PXE image. I have filed a bug for this at https://bugs.archlinux.org/task/50188
 +
:[[User:Lekensteyn|Lekensteyn]] ([[User talk:Lekensteyn|talk]]) 21:21, 28 July 2016 (UTC)

Latest revision as of 21:22, 28 July 2016

Methods for PXE booting non-Arch iso's

The arch installation iso has all the pxe image files required for network booting baked into the iso, but for RHEL/CentOS and most other distro's this is not the case. I started from the dnsmasq, darkhttpd method outlined in the instructions for installing Arch iso by PXE and added a few tweaks and extra steps to get it to work for RHEL (my blog post: [1]). I am sure there are others out there who have gotten similar methods to work. I think it would be helpful to add these to the wiki. Gojun077 (talk) 19 September 2014

Hi, it's customary to keep only Arch-specific content in this wiki, or content that applies in general, including Arch. However I also understand that it would be silly to ask you to add your method to every wiki of every distro you know :) In this case I see only two solutions:
  1. You create a See also section at the bottom and link to your blog post with a well-designed description full of keywords that can help people searching for a generic way to PXE-boot non-Arch iso's.
  2. You create a separate section (i.e. you don't add notes to the existing Arch-specific sections) for this tweaked procedure that covers a hypothetic scenario like "If you are using a custom Arch iso (or another distribution's) that does not contain PXE images, ...", sort of circumventing the above-mentioned custom, also making sure not to duplicate content existing in other sections/articles; in this way this new section would probably have good chances of "surviving" in the medium/long term.
-- Kynikos (talk) 03:13, 20 September 2014 (UTC)
When facing such question, I always asking my self: If I am a user who want to PXE boot RHEL, where will I go to find such information. It should be RHEL documentation or wiki.
So even if you add valuable information here, few users will benefit from it. It will increase maintenance burden because few Arch users could fix RHEL specific info when it is out of date.
--Fengchao (talk) 13:47, 29 September 2014 (UTC)

Traditional method

I wish I had the ability to add this myself.

A method for using standard dhcpd/tftpd/httpd servers would be excellent. I was surprised to be unable to find anything online to help with this, so I suspect it may be more difficult than it is here with dnsmasq/darkhttpd. --Bananabrain (talk) 00:14, 7 August 2015 (UTC)

UEFI

The method described here using lpxelinux.0 only works for systems with BIOS/legacy firmware. Systems with UEFI firmware will have to be directed to a syslinux.efi file (see http://www.syslinux.org/wiki/index.php?title=PXELINUX#UEFI) or enable legacy mode. Jrmrjnck (talk) 05:20, 7 April 2016 (UTC)

The currently generated archiso file does not contain the required syslinux files for booting a PXE image. I have filed a bug for this at https://bugs.archlinux.org/task/50188
Lekensteyn (talk) 21:21, 28 July 2016 (UTC)