Installation fromPXE netboot

When you run into problems installing MX Linux XFCE
Message
Author
User avatar
dekar
Posts: 1
Joined: Tue Jun 11, 2019 7:22 am

Re: Installation fromPXE netboot

#11 Post by dekar »

Hello all!

Do we plan adding netboot functional in future releases?

It's really needfully feature.

User avatar
patpat
Posts: 3
Joined: Tue Jun 11, 2019 12:44 pm

Re: Installation fromPXE netboot

#12 Post by patpat »

ditto.

Today a Linux distro w/o PXE support is hard to believe....

User avatar
fehlix
Developer
Posts: 10303
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installation fromPXE netboot

#13 Post by fehlix »

dekar wrote: Tue Jun 11, 2019 7:54 am Hello all!

Do we plan adding netboot functional in future releases?

It's really needfully feature.
Suggest to open a Enhancement request at https://bugs.mxlinux.org/,
to get better visibility.
Thanks
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
patpat
Posts: 3
Joined: Tue Jun 11, 2019 12:44 pm

Re: Installation fromPXE netboot

#14 Post by patpat »

MX (or antiX) does not support PXE boot because:
1) The booting initrd does not include the required network components.
2) The included init script does not know anything about network boot

But Serva did it:
https://www.vercot.com/~serva/an/NonWindowsPXE3.html

Their approach consists of loading a sequence of 2 initrds included in MX's ISO and a tiny one provided by Serva;
I just got a PXE booting MX 18.3; cool.

User avatar
sevo44
Posts: 3
Joined: Sat Jun 08, 2019 4:53 pm

Re: Installation fromPXE netboot

#15 Post by sevo44 »

BitJam wrote: Tue Jun 11, 2019 6:15 am As I said above, our system does not support the PXE netboot feature. Sorry.
As I understand it the plans to make the ability to boot to PXE, no? Tell me what I need to fix in order to configure the PXE boot. Did different builds to boot on PXE, but your just perfect. It spoils the inability to boot PXE software.

User avatar
sevo44
Posts: 3
Joined: Sat Jun 08, 2019 4:53 pm

Re: Installation fromPXE netboot

#16 Post by sevo44 »

patpat wrote: Thu Jun 20, 2019 6:58 pm Their approach consists of loading a sequence of 2 initrds included in MX's ISO and a tiny one provided by Serva;
I just got a PXE booting MX 18.3; cool.
Tell me how you did it?

User avatar
m_pav
Developer
Posts: 1390
Joined: Sun Aug 06, 2006 3:02 pm

Re: Installation fromPXE netboot

#17 Post by m_pav »

Patpat provided a link in his response. Open that link, scroll to about halfway down that page, look for the MX logo and see for yourself.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
patpat
Posts: 3
Joined: Tue Jun 11, 2019 12:44 pm

Re: Installation fromPXE netboot

#18 Post by patpat »

PXE support for 19.2 now available
https://www.vercot.com/~serva/an/NonWindowsPXE3.html

User avatar
gk_j
Posts: 1
Joined: Tue May 24, 2022 12:20 pm

Re: Installation fromPXE netboot

#19 Post by gk_j »

Hi all,
my situation related to this topic was: Thinkpad X31, optical drive broken, does not boot from usb, but working usb port.
I am not completely sure, if I get everything from this thread right, esp. if everything should have worked out fine out of the box with antiX 19.5, which I used. Otherwise:

BitJams suggestion in #8:
I think i_ri's suggestion is excellent. If you have grub running on that machine already then you can either unpack our iso file and copy over /antiX directory and add a boot entry for it or you could try to boot our iso file directly from grub. For this to work, I think you need to pass in the fromiso=xxxx cheat pointing our system to the iso file.
-> I did not try this.

BitJams suggestion in #8:
I think it is better to mount the iso file and copy over the /antiX directory to your system. If you can copy the /antiX directory to the same partition that grub is on then an entry like this in your grub.cfg should work:

Code: Select all

menuentry "MX-15 Live" {
linux /antiX/vmlinuz quiet from=hd
initrd /antiX/initrd.gz
}
-> I tried this, but it didn't work out. Booting up antiX 19.5 and 21 was ok, but the installer consequently ignored the hdd it booted from (all partitions on sda, not only the partition booted from). I would not know how to do the "small modification to the partition-info script".

What worked for me:
For the preparation (TFTP-Server) I used https://wiki.ubuntuusers.de/PXE-Installation/ (which should be quite similar to https://wiki.debian.org/PXEBootInstall? ... boot_image
I used the netboot files from debian: http://www.debian.org/distrib/netinst#netboot.
I copied the folder antiX from the 19.5 full iso to .../netboot/debian-installer/i386/antiX/.
I edited .../netboot/debian-installer/i386/boot-screens/txt.cfg - so it had the following entry (yes, dirty and quick...):

Code: Select all

  kernel debian-installer/i386/antiX/vmlinuz
  append initrd=debian-installer/i386/antiX/initrd.gz --- nomodeset
I made an USB-Stick with /antiX/linuxfs on it and plugged it in.
The notebook then booted the vmlinuz and initrd.gz, complained about not finding the linuxfs at first, then looked for it on usb-drives, found it there and booted antiX 19.5 up completely. The installer then could use the full sda and worked smoothly till the end.

User avatar
korilius
Posts: 78
Joined: Sat Oct 15, 2022 9:31 pm

Re: Installation fromPXE netboot

#20 Post by korilius »

I'm late to this party. I wasted an hour fiddling with this when I should have searched here first. It appears no one submitted a feature request to Bugzilla (or I missed it in a search). Is that still a valid thing to do? If so, I will. I'm gonna rest my brain and then read this post provided by @patpat .

I'll volunteer to enhance / fix - if it's feasible and I am capable of doing so.
Guide - How to ask for help

Please @korilius when replying to me
Desktop: MX-21.2.1_x64 “ahs”, KDE | ASUS mb | Ryzen 5 5500 cpu | Radeon 6500 XT gpu | 16gb mem | Crucial 1Tb ssd

Post Reply

Return to “Installation”