Ixcoatl Perez
2009-08-30 06:28:54 UTC
Hi,
I am the administrator of a scholar network with 30 PCs.
My intention was to take away the hard disks (that fail a lot) of the
computers and use a dedicated iscsi server, but im having
trouble booting any OS.
The server has Ubuntu Jaunty on it, and the version of iscsi-target is 0.4.16.
I followed the instructions at:
http://etherboot.org/wiki/sanboot/winxp
To install Windows XP from SAN.
I installed Windows XP in a QEMU box with a 3GB drive following the instructions of the guide.
The default network card on QEMU RTL8029 was configured for dhcp.
I extracted the partition image from the hard drive image as said in the guide and configured my
dhcpd and etd servers like this (only relevant parts are shown):
/etc/ietd.conf
Target iqn.2009-09.winxp1:iscsiboot
Lun 0 Path=/home/ixcoatl/Documents/boot/gPXE/imagenes/partWinXP,Type=fileio
/etc/dhcp3/dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.30 192.168.1.50;
option subnet-mask 255.255.255.0;
option routers 192.168.1.254;
filename "";
option root-path "iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot";
default-lease-time 600;
max-lease-time 7200;
}
When I boot the real diskless computer with a gPXE-USB I get something like:
gPXE initialising devices ...
gPXE 0.9.7+ -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP DNS TFTP AoE iSCSI bzImage COMBOOT ELF Multiboot PXE PXEXT
net0: 00:a1:b0:25:51:e3 on PCI01:02.0 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:a1:b0:25:51:e3).... ok
net0: 192.168.1.32/255.255.255.0 gw 192.168.1.254
Booting from root path "iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot"
iSCSI booting from iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot
Registered as BIOS drive 0x80
Booting from BIOS drive 0x80
Error de disco
Those 2 words at the end means 'Disk error' isn sapnish and I guess they are
comming from Windows.
As far as I see the DHCP part is running fine and the network is configured correctly.
The OS (or part of it) is also loaded, and then it has trouble communicating with the
iSCSI disk.
Do I'm missing something? I watched the video of a conference with the developers
and got the impresion that the BIOS interrupts are intercepted so the the OS thinks
that there is real disk attached to the computer, so I tried with a MSDOS image instead of
the Windows one and got the same error ("Disk I/O error, insert a disk and press enter to
continue"). If my understanding of the technology was right, MSDOS shouldnt have any
trouble booting since it uses the bios interrupts, right? Or maybe the scisi emuation needs
some drivers to be loaded with DOS?
Does it has to do with the fact that QEMU has a different network card than the
real computer?
Any help will be greatly appreciated!
Tank you in advance and sorry for my bad english.
Encuentra las mejores recetas en Yahoo! Cocina.
http://mx.mujer.yahoo.com/cocina/
I am the administrator of a scholar network with 30 PCs.
My intention was to take away the hard disks (that fail a lot) of the
computers and use a dedicated iscsi server, but im having
trouble booting any OS.
The server has Ubuntu Jaunty on it, and the version of iscsi-target is 0.4.16.
I followed the instructions at:
http://etherboot.org/wiki/sanboot/winxp
To install Windows XP from SAN.
I installed Windows XP in a QEMU box with a 3GB drive following the instructions of the guide.
The default network card on QEMU RTL8029 was configured for dhcp.
I extracted the partition image from the hard drive image as said in the guide and configured my
dhcpd and etd servers like this (only relevant parts are shown):
/etc/ietd.conf
Target iqn.2009-09.winxp1:iscsiboot
Lun 0 Path=/home/ixcoatl/Documents/boot/gPXE/imagenes/partWinXP,Type=fileio
/etc/dhcp3/dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.30 192.168.1.50;
option subnet-mask 255.255.255.0;
option routers 192.168.1.254;
filename "";
option root-path "iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot";
default-lease-time 600;
max-lease-time 7200;
}
When I boot the real diskless computer with a gPXE-USB I get something like:
gPXE initialising devices ...
gPXE 0.9.7+ -- Open Source Boot Firmware -- http://etherboot.org
Features: HTTP DNS TFTP AoE iSCSI bzImage COMBOOT ELF Multiboot PXE PXEXT
net0: 00:a1:b0:25:51:e3 on PCI01:02.0 (open)
[Link:up, TX:0 TXE:0 RX:0 RXE:0]
DHCP (net0 00:a1:b0:25:51:e3).... ok
net0: 192.168.1.32/255.255.255.0 gw 192.168.1.254
Booting from root path "iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot"
iSCSI booting from iscsi:192.168.1.4::::iqn.2009-09.winxp1:iscsiboot
Registered as BIOS drive 0x80
Booting from BIOS drive 0x80
Error de disco
Those 2 words at the end means 'Disk error' isn sapnish and I guess they are
comming from Windows.
As far as I see the DHCP part is running fine and the network is configured correctly.
The OS (or part of it) is also loaded, and then it has trouble communicating with the
iSCSI disk.
Do I'm missing something? I watched the video of a conference with the developers
and got the impresion that the BIOS interrupts are intercepted so the the OS thinks
that there is real disk attached to the computer, so I tried with a MSDOS image instead of
the Windows one and got the same error ("Disk I/O error, insert a disk and press enter to
continue"). If my understanding of the technology was right, MSDOS shouldnt have any
trouble booting since it uses the bios interrupts, right? Or maybe the scisi emuation needs
some drivers to be loaded with DOS?
Does it has to do with the fact that QEMU has a different network card than the
real computer?
Any help will be greatly appreciated!
Tank you in advance and sorry for my bad english.
Encuentra las mejores recetas en Yahoo! Cocina.
http://mx.mujer.yahoo.com/cocina/