diskless boot to fedora core 2 using PXE
Steven
shaughto at ee.ucr.edu
Thu Aug 26 01:32:04 UTC 2004
Hi,
I am trying to setup up a diskless boot to a fedora core 2 machine with
kernel 2.6.8-1 using PXE.
I get the following when doing a diskless boot:
Kernel panic: No init found. Try passing init= option to kernel.
I'm pretty sure that this error is occuring due to the kernel.
We can change the kernel to the fedora install kernel and do a remote
installation of fedora core 2 without problem.
The tftp server seems to be working fine and so does nfs. In fact some
else had it working for awhile but was having problems reading the
snapshot directory.
I have made sure to compile the kernel with these options:
The kernel for the workstation needs the following settings, as a minimum:
* /NFS filesystem support/ (|CONFIG_NFS_FS|). Note that there is no
need for /ext2/ support.
* /Root file system on NFS/ (|CONFIG_ROOT_NFS|).
* /Ethernet (10 or 100Mbit)/ (|CONFIG_NET_ETHERNET|).
* The ethernet driver for the workstation's network card (or onboard
ethernet chip, if it's built into the motherboard or chipset).
Where there is an option to compile something in as a module, do /not/
do so; modules only work /after/ the kernel is booted, and these things
are needed /during/ boot.
For dynamically assigned IP numbers, you'll also need to select one or
more of these kernel options:
* /IP: kernel level autoconfiguration/ (|CONFIG_IP_PNP|)
* /RARP support/ (|CONFIG_IP_PNP_RARP|)
* /BOOTP support/ (|CONFIG_IP_PNP_BOOTP|)
* /DHCP support/ (|CONFIG_IP_PNP_DHCP|)
Also, here is the config file for the computer in tftp:
default fc2_install
label fc2_install
kernel test2/bzImage
append initrd=test2/initrd.img init=disklessrc ramdisk_size=10000
root=/dev/ram0 NFSROOT=192.168.1.1:/nodeOS SNAPSHOT=u ip=dhcp
Any ideas as to the problem?
--
Steven
More information about the redhat-list
mailing list