Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-23-2006, 02:30 AM   #1
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Booting from PXE

When booting diskless clients, PXE is the way to do it. However, I read up on it and realized that it has to do with installing Linux on the client machines rather than simply booting from my interpretation correct, or can PXE be used to just boot from the installation on the server? It looks like it's got to do with installation because it's talking about kickstart files and other things like that.

Also, for diskless clients, once the OS is loaded from the server, is it just stored in memory or what?
Old 11-23-2006, 02:44 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Yes, your interpretation is correct.

And yes, once the OS is loaded from the server it can indeed be stored entirely in memory (in fact, this is how "setup" CDs typically work. Including MS Windows "setup") (of course, assuming you've got enough memory ;-)).

And (to a question you didn't ask), you can easily mount and use any peripherals (including hard disks, USB drives and/or network shares) once Linux is running.

Book recommendation:
"Building Embedded Systems in Linux", O'Reilly
<= There's a whole chapter on network boot options...

Here are a couple of links that might be of interest:

'Hope that helps .. PSM
Old 11-23-2006, 03:02 AM   #3
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
PXE is used to boot directly from a nic.
TFTP is the server that holds informations and the boot image file for the client that tries its boot attempt.
DHCP is also needed.
Old 11-23-2006, 04:07 PM   #4
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi, again -

Your original post was correct. Odcheck is also correct.

The fact is that accomplishing a "diskless boot" involves SEVERAL steps, SEVERAL protocols and will probably involve several DIFFERENT software components. There are different choices you can make at every step.

Nevertheless, it ISN'T rocket science - it can actually be pretty straightforward and simple.

Take a look at the links I posted, veeruk101, and see if any of the information looks appropriate for your situation. Please post back if you have any questions.

Good luck .. PSM
Old 11-23-2006, 09:12 PM   #5
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Original Poster
Rep: Reputation: 16
Thanks for your responses.

Reading up on this, I've become confused by what PXELINUX actually's being described as a boot loader. Things like LILO and GRUB are also boot loaders, right? So are these alternatives to each other, except that PXELINUX has some other functionality? Does the boot ROM choose between LILO, GRUB, and PXELINUX? How?

Also, I've tried looking up about the purpose of initrd, but can't understand what they're saying. On a diskless client, would you download a kernel to RAM, then create an initial ramdisk, then get rid of it and start up another one? Could somebody please explain this concept in clear, simple (beginner) terms?

Old 11-23-2006, 10:53 PM   #6
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
No, PXE is not the same as GRUB or LILO. GRUB and LILO (bootloaders) define what system will be booted. PXE is a system that gets booted. (MS has it's own bootloader)

initrd is used on many Linux systems in case of disaster. The kernel boots with the "initrd" as a sort of pre-root system. If the real root system is bad, then there are minimal programs on the "initrd" for saving/correcting the real root.

"initrd" is optional and may or may not be used with any given Linux system, depending on how it was created.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dhcp - PXE booting icedude Linux - Enterprise 10 09-28-2010 06:36 AM
pxe booting geden Linux - Networking 5 09-08-2006 08:26 PM
PXE Booting pvlajith Red Hat 1 06-06-2006 09:15 PM
PXE/Network Booting OS ap0ll0 Linux - Networking 1 03-23-2006 03:11 PM
ClusterKnoppix PXE booting CHAOS? kehaiji Linux - Networking 0 09-17-2004 11:59 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:49 PM.

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