Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sanboot:win2k8_iscsi_install [2010/01/19 17:33] billmc |
sanboot:win2k8_iscsi_install [2010/06/07 20:48] sha0 Fix pxelinux.0 typo |
||
---|---|---|---|
Line 12: | Line 12: | ||
- Boot from DVD-ROM. | - Boot from DVD-ROM. | ||
- | ===== Configuring gPXE for iSCSI boot ===== | + | <sub>//If you can't boot from gPXE from your BIOS read: [[/howtos#how_to_deploy_gpxe|How to Deploy gPXE]]. Specifically [[/pxechaining|Boot gPXE for your PXE enabled network card]] and [[/removable#creating_a_bootable_floppy_disk|Loading gPXE from a bootable floppy]] or the ultimate [[/romburning|Replace your legacy network card PXE ROM]]//</sub> |
+ | |||
+ | ===== Configure DHCP gPXE options for iSCSI boot ===== | ||
+ | |||
+ | Refer to [[/howtos#how_to_use_advanced_dhcp_options|advanced dhcp options]] | ||
+ | |||
+ | ==== ISC dhcpd ==== | ||
+ | See [[dhcpd]] for more info on the following settings | ||
Place the following lines in ///etc/dhcpd.conf//: | Place the following lines in ///etc/dhcpd.conf//: | ||
Line 29: | Line 36: | ||
root@chipmunk# /etc/init.d/dhcpd restart | root@chipmunk# /etc/init.d/dhcpd restart | ||
+ | |||
+ | ==== Microsoft DHCP Server ==== | ||
+ | See [[msdhcp]] for more info on the following settings | ||
+ | |||
+ | {{:sanboot:msdhcpiscsiwds.png|}} | ||
+ | |||
+ | <sup>NOTE: //The above picture shows settings for a specific windows deployment environment//. Configure your settings to meet your needs.</sup> | ||
+ | |||
+ | Option 17 Root Path iscsi:my.target.dns.name::::iqn.2007-08.name.dns.target.my:iscsiboot | ||
+ | Option 67 Bootfile "" | ||
+ | Option 175 gPXE_Options 08 01 01 FF | ||
+ | |||
+ | Where //freenas1.domain.local// == //my.target.dns.name// == is the DNS name (or IP address) of your iSCSI target, and //iqn.2007-09.local.domain.freenas1.target:disk1// == //iqn.2007-08.name.dns.target.my:iscsiboot// == the iSCSI target IQN that you wish to boot from.\\ | ||
+ | See [[/pxechaining#using_the_windows_dhcp_server|PXE Chaining]] for the two //Option 67// entries pictured above, if your **not** using [[/pxechaining#using_the_windows_dhcp_server|PXE Chaining]] set //Option 67// as a //blank entry//\\ | ||
+ | See [[/msdhcp#setting_up_a_gpxe_encapsulated_options_on_windows_dhcp|gPXE Encapsulated options]] for information on //Option 175//, 08 01 01 FF is the Hex entry for //keep-san 1// | ||
===== Starting the installation ===== | ===== Starting the installation ===== | ||
Line 53: | Line 75: | ||
</code> | </code> | ||
- | Note: | + | **NOTE:** |
- | when using tftpd32, bootmgr.exe should reside inside the root tftp directory and inside the boot directory. | + | When using tftpd32, bootmgr.exe should reside inside the root tftp directory and inside the boot directory. |
+ | |||
+ | **NOTE:** | ||
+ | If the Windows Setup cannot recognize your iSCSI drive be sure that WinPE is recognized your network card. Type "route print" to the WinPE command prompt and look for your network interface. If it is not there, you should load your network card's driver by using the "loaddrv" command of the WinPE. Go to a local or a network folder which has your driver and execute "loaddrv file.inf" to load the driver. | ||
===== Alternative Method (simple) ===== | ===== Alternative Method (simple) ===== | ||
Line 79: | Line 104: | ||
set keep-san 1 | set keep-san 1 | ||
sanboot iscsi:192.168.1.11::::iqn.2007-08.name.dns.target.my:iscsiboot | sanboot iscsi:192.168.1.11::::iqn.2007-08.name.dns.target.my:iscsiboot | ||
- | chain tftp://192.168.1.11/pxeboot.0 | + | chain tftp://192.168.1.11/pxelinux.0 |
</code> | </code> | ||