Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
In the near future I will be deploying RedHat Enterprise on a number of systems. I would like to automate this as much as possible. The directions here:
seem great. However, most of my systems use 3com and Linksys network cards that do not support PXE. Is there any way to create a "PXE boot disk" which will allow machines to do a PXE boot even if the NIC doesn't support it? I would appreciate any suggestions.
Thanks for your help. Netboot looks like it would do the trick, but it didn't seem to include the drivers I need. I know that I can add them myself, but still....
Instead, what I think I am going to do, is use a GRUB boot floppy which will grab the kernel and ramdisk off of my tftp server. In some ways this will be even better than my original idea because I will be able to make multiple GRUB entries that use their own kickstart file. I am going to create entries for a server install, a cluster install, a desktop install, etc. These entries will each have their own custom kickstart file associated with them. This way you boot off the floppy, pick the install type, and walk away....
Hay that sounds like a great idea. I would like to know how you make out with that. I now netboot expect to get the kernel image off a tftp site. How will grub do it? Let me know please. I know you were the one looking for help but now you have peaked by curiosity.
Right now I am still in the testing phase, but so far things are looking good. Here are the basic steps that I followed (using RedHat Enterprise 3):
1. Run: redhat-config-netboot and configure a network install. I used the name test as the OS identifier. You must specify a valid installation source (I'm using an annonymous FTP server which has the contents of the RHEL CDs copied to it.) Unless you have clients with PXE capable NICs don't worry about adding clients, all we really care about is the kernel and initrd that this program creates in /tftpboot.
2. Grab and unpack the latest version of grub.
3. Create a grub.conf outside of the freshly extracted GRUB source tree, mine looks like this:
default=0
timeout=3
title Install RedHat Enterprise Linux
bootp
root (nd)
kernel /tftpboot/linux-install/test/vmlinuz \
ramdisk_size=10000 ks=ftp://ftpserver.domain.com/pub/ks.cfg
initrd /tftpboot/linux-install/test/initrd.img
4. In the above example you will want to put in the location of your own kickstart file. Also make sure that the paths are correct for your setup. I will be adding multiple entries in the future, each pointing to there own kickstart file.
5. switch to the GRUB source directory and run:
NOTE: This assumes that your clients uses one of these network cards. You may need to build additional, or fewer, network card modules for your machines.
7. Make your that your dhcp server has a next-server line with the IP address of your tftp server.
8. Boot a machine off of your newly created floppy. Select the appropriate install "type" and the machine should take care of the rest.
I appoligize for the line breaks and for the vagueness of these instructions, but I don't have these machines in front of me. If you have any questions/comments let me know.
tells GRUB to use 172.20.21.100 as the TFTP server. There may be a way to set this in this grub config file, but I don't know it off the top of my head.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.