RE: questions about pxe images in rh72

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Followup just in case others see it too.

If you change 'prompt 1' to 'prompt 0' in pxelinux.cfg/default, the right
thing happens.  The pxelinux.0 file loads, mounts the kickstart server,
loads the ks.cfg from there, and uses the ks.cfg it loads exactly as
desired.

The bug I'm seeing happens only if you set 'prompt 1' and let the timeout
expire.

It's been entered as bug #62236 on RH's site, except they keep trying to
close it on me :-(

--
---------- vince.skahan@xxxxxxxxxx --------------
   Connexion by Boeing - Cabin Network


-----Original Message-----
From: Skahan, Vince [mailto:vince.skahan@xxxxxxxxxx]
Sent: Wednesday, March 27, 2002 6:53 PM
To: 'kickstart-list@xxxxxxxxxx'
Subject: RE: questions about pxe images in rh72



Jason:

Worked (in general) most wonderfully.  I grabbed the most recent syslinux
from the author's web site, and used your files pretty much verbatim (added
ramdisk_size to the line since I'm kickstarting rh72).

If if I let the timeout expire to try to do a hands-off kickstart, I see
anaconda doesn't read the nfs-provided ks.cfg file at all, it instead 
reads a ks.cfg file from /tmp 'within' the initrd file, and then doesn't
use that file at all.  Anaconda gives me all the prompts anyway.

[...I figured out which file it was pulling by putting unique comments in
each file, then checking out the contents of /tmp/ks.cfg in ramdisk after
anaconda started...]

Note that if I hit return at the boot: prompt initially, it correctly
uses the nfs-supplied ks.cfg file and runs automatically without needing
to answer any questions.

Is this an anaconda bug in rh72 ? 

--
---------- vince.skahan@xxxxxxxxxx --------------
   Connexion by Boeing - Cabin Network


-----Original Message-----
From: Jason L Tibbitts III [mailto:tibbs@xxxxxxxxxxx]
Sent: Friday, March 22, 2002 11:55 AM
To: kickstart-list@xxxxxxxxxx
Subject: Re: questions about pxe images in rh72


>>>>> "VS" == Vince Skahan <Skahan> writes:

VS> I have another system with no floppy or cdrom, but it has a bios
VS> that can be set to boot off the network first, and try the disk
VS> second if nobody answers.  It's an Intel chipset that tries to PXE
VS> boot. How do I configure a kickstart server to get the
VS> installation going without any boot media at all (just a dhcp/rh72
VS> server) ?

I just use syslinux.  Note: this setup is for installing RH7.1.  7.2
is similar.  dhcpd.conf includes (among other things):

subnet 192.168.16.0 netmask 255.255.255.0 {
        range 192.168.16.100 192.168.16.120;
 
        allow unknown-clients;
        allow bootp;
 
        get-lease-hostnames on;
 
        next-server 192.168.16.1;
        filename "/pxelinux.0";
}

You need tftp-server installed and running; /var/tftpboot contains:

-rw-r--r--    1 tibbs    root          440 May 27  2001 boot.msg
-rw-r--r--    1 tibbs    tibbs      773163 May 27  2001 initrd.img
-rw-r--r--    1 root     root         9364 May 27  2001 pxelinux.0
drwxr-xr-x    2 root     root         4096 May 27  2001 pxelinux.cfg/
-rw-r--r--    1 tibbs    tibbs      652144 May 27  2001 vmlinuz
 
./pxelinux.cfg:
-rw-r--r--    1 tibbs    root          191 May 27  2001 default

pxelinux.cfg/default contains:

DEFAULT ks
DISPLAY boot.msg
PROMPT 1
TIMEOUT 500
label ks
  kernel vmlinuz
  append vga=788 initrd=initrd.img lang= devfs=nomount
ks=nfs:master.lab00.math.uh.edu:/usr/local/kickstart/ks.cfg

Note that this needs changing for 7.2; you must at least include the
ramdisk_size parameter or the installation will break in weird ways.

initrd.img and vmlinuz are just copied form the bootnet floppy.
boot.msg is just a warning:

+====================================================+
|                                                    |
|  Now installing UH Mathematics Computing Lab node  |
|                                                    |
|  All data existing on this machine will be erased  |
|                                                    |
|             Press enter to proceed                 |
+====================================================+

Instructing the network card to try network before disks will result
in a machine being cleanly reinstalled.

VS> I guess what confuses me is the images/pxeboot directory on the
VS> rh72 cdrom.

I don't know what that is; I got a syslinux RPM and installed it to
get pxelinux.0.

 - J<



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux