[gPXE] Booting Windows VM from iSCSI at Solaris - Comstar
Takahiro Wagatsuma
waga at sic.shibaura-it.ac.jp
Thu Nov 4 20:39:03 EDT 2010
> sbdadm create-lu /tank/data/myimage.img
>
> The LUN is created with no errors. Having the LUN, all that is needed is a target group and a target. This all works fine.
> But the initiator cannot "see" the original NTFS file system, thus a boot from the LUN fails.
sbdadm requires 64kbytes for meta data at the head.
So you should add leading 64kbytes dummy data like this.
# dd if=/dev/zero of=dummy.dat bs=1024 count=64
# cat dummy.dat myimage.img > newimage.img
# sbdadm create-lu /tank/data/newimage.img
More information about the gPXE
mailing list