No sooner did I send that email that I realize you appear to have mounted your image file to a loopback device :-P<div><br></div><div>It might be worth trying to cut the middleman and point your iscsi target directly at the image file. Otherwise, all I can suggest here is that you break out the trusty debug modes.</div>
<div><br></div><div>Sorry about that!</div><div><br></div><div>-Andrew Bobulsky<br><div><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 11:24 AM, Andrew Bobulsky <span dir="ltr"><<a href="mailto:rulerof@gmail.com">rulerof@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Chad,<div><br></div><div>We've all had one issue or another with a grumpy iSCSI target, so I can sympathize ;)</div>
<div><br></div><div>I don't know a whole ton about diagnosing a misbehaving MBR, so this is only a guess:</div>
<div><br></div><div>In you iSCSI target config, you've set the IO mode to blockio. However, it appears that your target points to an image file... Whenever I've used IET (I think that's what you're using here, could be wrong) and pointed a target at an image file, I've configured it for "fileio" instead of "blockio." You may want to try that instead.</div>
<div><br></div><div>It's really a shot in the dark, but it might be worth a shot!</div><div><br></div><div>Best of luck to you!</div><div><br></div><div>Cheers,</div><div>Andrew Bobulsky<div><div></div><div class="h5">
<br><br><div class="gmail_quote">
On Sun, Dec 19, 2010 at 9:22 PM, Chad Voelker <span dir="ltr"><<a href="mailto:chad.voelker@gmail.com" target="_blank">chad.voelker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I'm trying to boot a Ubuntu Lucid PC (2.6.32-26 - GRUB2) using a chained<br>
gPXE boot, it halts at "Booting from BIOS drive 0x80". I've tried<br>
various machines, so I'm assuming it is a problem with the iSCSI image's<br>
boot sectors or some other boot-related setup on the image. I can mount<br>
the iSCSI drive without a problem. I followed the directions here:<br>
<a href="http://www.etherboot.org/wiki/sanboot/ubuntu_iscsi2" target="_blank">http://www.etherboot.org/wiki/sanboot/ubuntu_iscsi2</a><br>
<br>
I was hoping to see some logging showing the iSCSI connection, but I've<br>
searched through /var/log on the iscsitarget and don't see any relevant<br>
iSCSI activity. I also looked to see if there was any evidence of a<br>
partial boot by looking at the log files on the iSCSI image (after<br>
mounting on another machine), but nothing has been touched for days.<br>
<br>
Various data is below. Any thoughts? Thanks in advance.<br>
<br>
-Chad<br>
<br>
I created a .kpxe formatted rom using <a href="http://rom-o-matic.net" target="_blank">rom-o-matic.net</a> following all of<br>
the defaults except using the undionly NIC.<br>
<br>
DHCP Server::dhcpd.conf:<br>
host y {<br>
hardware ethernet 00:1b:21:12:41:ff;<br>
fixed-address 192.168.1.90;<br>
option host-name "y";<br>
if exists user-class and option user-class = "gPXE" {<br>
option root-path<br>
"iscsi:192.168.1.170::::iqn.2010-10.net.xxxx:mc-y.lun1";<br>
} else {<br>
option root-path "192.168.1.170:/nfsroot/mythfrontends";<br>
filename "mythfrontends/gpxe-1.0.1-undionly-trim.kpxe";<br>
}<br>
}<br>
<br>
iSCSI Target::/etc/ietd.conf:<br>
Target iqn.2010-10.net.xxxx:mc-y.lun1<br>
Lun 0 Path=/dev/loop0,IOMode=wb,Type=blockio<br>
Alias LUN0<br>
<br>
iSCSI Target::$ losetup -a<br>
/dev/loop0: [0811]:8388611 (/clients/iscsi/mc-y-lun1.img)<br>
<br>
iSCSI Image::$ cat /etc/default/grub<br>
GRUB_CMDLINE_LINUX_DEFAULT="ip=dhcp ISCSI_INITIATOR=y<br>
ISCSI_TARGET_NAME=iqn.2010-10.net.voelkers:y.lun1<br>
ISCSI_TARGET_IP=192.168.1.170 ISCSI_TARGET_PORT=3260 quiet splash"<br>
_______________________________________________<br>
gPXE mailing list<br>
<a href="mailto:gPXE@etherboot.org" target="_blank">gPXE@etherboot.org</a><br>
<a href="http://etherboot.org/mailman/listinfo/gpxe" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>