iPXE discussion forum
Sanboot Debian question - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Sanboot Debian question (/showthread.php?tid=7093)



Sanboot Debian question - Renhy - 2013-11-10 07:47

Hi!
Im trying to sanboot from an iSCSI target, using iPXE and Debian. My plan is, to setup a target on Debian, than from a client connect to it, than install a base Debian with debootstrap on that LUN, than install grub also. At iPXE should it work, only specifying something like sanboot iscsi:10.0.4.1:::1:iqn.2010-04.org.ipxe.dolphin:storage? Or should I place the kernel and the initrd on a TFTP server than specify where the root filesystem is?


RE: Sanboot Debian question - mcb30 - 2013-11-12 15:46

(2013-11-10 07:47)Renhy Wrote:  Im trying to sanboot from an iSCSI target, using iPXE and Debian. My plan is, to setup a target on Debian, than from a client connect to it, than install a base Debian with debootstrap on that LUN, than install grub also. At iPXE should it work, only specifying something like sanboot iscsi:10.0.4.1:::1:iqn.2010-04.org.ipxe.dolphin:storage? Or should I place the kernel and the initrd on a TFTP server than specify where the root filesystem is?

When SAN-booting using iPXE, you do not need to place the kernel+initrd on a separate TFTP (or other) server. iPXE hooks the iSCSI target as a virtual BIOS disk, and the copy of grub present on the iSCSI target disk then loads the kernel+initrd from the disk's own filesystem exactly as with a local hard disk boot.

Michael