San-Boot Fedora 11 ISCSI
Cory Fedorak <[email protected]>
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <000001ca3969$88d1ca80$9a755f80$@net> |
Hello,
I'm trying to get a fedora 11 install to boot from SAN using ISCSI and gPXE.
Here is my dhcpd.conf file for the gPXE setup.
##dhcpd.conf###
authoritative;
ddns-update-style none;
ignore client-updates;
allow bootp;
allow booting;
# gPXE-specific encapsulated options
#
option space gpxe;
option gpxe-encap-opts code 175 = encapsulate gpxe;
option gpxe.priority code 1 = signed integer 8;
option gpxe.keep-san code 8 = unsigned integer 8;
option gpxe.no-pxedhcp code 176 = unsigned integer 8;
option gpxe.bus-id code 177 = string;
option gpxe.bios-drive code 189 = unsigned integer 8;
option gpxe.username code 190 = string;
option gpxe.password code 191 = string;
option gpxe.reverse-username code 192 = string;
option gpxe.reverse-password code 193 = string;
option gpxe.version code 235 = string;
# Other options that may be useful
#
option iscsi-initiator-iqn code 203 = string;
option domain-name "fedcor.loc";
option domain-name-servers 192.168.0.3;
default-lease-time 86400;
max-lease-time 604800;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.75 192.168.0.99;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
next-server 192.168.0.18;
filename "pxelinux.0";
}
host castle { # testing out gpxe
hardware ethernet 00:0c:29:c0:88:06;
fixed-address 192.168.0.24;
if exists user-class and option user-class = "gPXE" {
filename "";
option root-path
"iscsi:192.168.0.18::::iqn.2009-09.loc.fedcor.castle:iscsiboot.lun0";
} else {
filename "undionly.kpxe";
}
}
###EOF###
To install the fedora image I comment out the entire if statement so that
host uses the pxelinux.0 boot menu, I then start a pxe install of fedora
using vnc. Before rebooting after the install I uncomment the if statement
to load gpxe.
I have used this tutorial to setup fedora.
http://www.etherboot.org/wiki/sanboot
I have tried both fedora 10 and 11 with the same results.
Everything installs fine, but on reboot I get a kernel panic, I have looked
into the grub.conf file and found I have no initrd command and when looking
for it on the drive I don't see it anywhere.
Does anyone have any clues as to why I have no initrd?
Thanks
Cory
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss