Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2006, 01:30 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249
Rep:
|
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 it...is 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?
|
|
|
11-23-2006, 01:44 AM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
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
http://www.bookpool.com/sm/059600222X
<= There's a whole chapter on network boot options...
Here are a couple of links that might be of interest:
http://tldp.org/HOWTO/Network-boot-HOWTO/
http://www.faqs.org/docs/Linux-HOWTO...ess-HOWTO.html
http://frank.harvard.edu/~coldwell/diskless/
'Hope that helps .. PSM
|
|
|
11-23-2006, 02:02 AM
|
#3
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978
Rep:
|
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.
|
|
|
11-23-2006, 03:07 PM
|
#4
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep: 
|
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
|
|
|
11-23-2006, 08:12 PM
|
#5
|
Member
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249
Original Poster
Rep:
|
Thanks for your responses.
Reading up on this, I've become confused by what PXELINUX actually is...it'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?
Thanks.
|
|
|
11-23-2006, 09:53 PM
|
#6
|
Member
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|