Re: San-Boot Fedora 11 ISCSI

Cory Fedorak <[email protected]> Fri, 23 Oct 2009 09:16:29 -0600
Newsgroups gmane.network.etherboot.user
Message-ID <000601ca53f3$cc2c15c0$64844140$@net>
Okay, I have finally figured this out.  Using Fedora 11, you add a SCSI
target to the install using the GUI, then select CUSTOM LAYOUT.  This is
where I was going wrong, I wasn't selecting CUSTOM LAYOUT.  All is fixed
now, thanks for the help Shao.

 

From: Miller, Shao [mailto:[email protected]] 
Sent: Friday, October 23, 2009 8:51 AM
To: Cory Fedorak
Subject: RE: [Etherboot-discuss] San-Boot Fedora 11 ISCSI

 

I'm afraid that I don't know the answer to this one, Cory.  I must
apologize.  You might try to track down the tutorial's author.  If you've
found out the cause and resolution, please feel free to document it.  Thanks
and good day.  - Shao

  _____  

From: Cory Fedorak [mailto:[email protected]] 
Sent: Wednesday, October 07, 2009 22:25
To: 'Cory Fedorak'
Cc: [email protected]
Subject: Re: [Etherboot-discuss] San-Boot Fedora 11 ISCSI

 

Ok, I tried to install Fedora 11 i386 on my VMware server 2.0 tonight.  I
used the same tut as below, I followed the instructions to the letter, I am
installing from a PXE menu using the url install and pointing to the ISO
mounted and hosted on my webserver.  Same thing, I rebooted after install
and I got a kernel panic, the grub menu shows up but nothing after, I looked
into the grub menu and found no initrd file entry or file.  I mounted the
root partition on another machine and found in the install log it says;

 

Installing kernel-PAE-2.6.30.8-64.fc11.i686

iscsiadm: no records found!

mkinitrd failed

warning: %post(kernel-PAE-2.6.30.8-64.fc11.i686) scriptlet failed, exit
status 1

Installing libdrm-2.4.11-2.fc11.i586

 

Not sure what to do now, is it possible to break the install before it tries
to install the kernel and check the paths for my iscsi target.

 

Cory

 

From: Cory Fedorak [mailto:[email protected]] 
Sent: Saturday, September 19, 2009 2:41 PM
To: [email protected]
Subject: [Etherboot-discuss] San-Boot Fedora 11 ISCSI

 

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(R) 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/devconference

_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss