[ipxe-devel] sanboot error questions
Christian Nilsson
nikize at gmail.com
Tue Feb 12 15:58:07 UTC 2019
Since you are not running in EFI mode, it makes little sense to use filename.
iPXE tries to invoke BIOS to run the disk and the bootsector on the
disk - and this fails.
Does the disk have a valid bootsector?
Could you tcpdump the iSCSI traffic and make sure it has valid data?
Your second sanboot command fails because the --drive is already taken
which has some information at the error url that wasn't included:
http://ipxe.org/03232019
You are using --no-describe, this results in the iBFT not being filled
in, which means that Windows won't be able to find the disk (there is
lots of other magic here as well)
I think you should try one sanboot, without any extra options other
than only the SAN target, that should simplify things.
On Tue, 12 Feb 2019 at 15:33, Christian Rappo <rappoc at hotmail.com> wrote:
>
> Hi,
>
> You can forget the PS: below.I build from a Ubuntu VM (as recommended) and it's OK now, sorry.
> But the "sanboot --filename \bootmgr --no-describe --drive 0x80 (KO--->>Boot from SAN device 0x80 failed: Operation canceled: http://ipxe.org/0b8080a0)" is always pending ...
>
> Thanks for helping!
> Kind regards,
> Christian
> ________________________________
> From: Christian Rappo <rappoc at hotmail.com>
> Sent: Tuesday, February 12, 2019 9:57 AM
> To: ipxe-devel at lists.ipxe.org
> Cc: Christian Rappo
> Subject: sanboot error questions
>
> Hi,
>
> Trying to boot Windows Server 2019 Standard Core via IPXE using the following ISO: http://boot.ipxe.org/ipxe.iso.
> Here is the situation:
>
> dhcp (OK)
> set keep-san 1 (OK)
> sanhook --drive 0x80 iscsi:192.168.1.10:::1:iqn.2000-01.com.synology:Storage.Target-1.bd589bc392 (OK--->>Registered SAN device 0x80)
> sanboot --filename \bootmgr iscsi:192.168.1.10:::1:iqn.2000-01.com.synology:Storage.Target-1.bd589bc392 (KO--->>Could not open SAN device: Error 0x03232019)
> sanboot --filename \bootmgr --no-describe --drive 0x80 (KO--->>Boot from SAN device 0x80 failed: Operation canceled: http://ipxe.org/0b8080a0)
>
> Thanks for helping!
> Kind regards,
> Christian
>
>
>
> PS:
> I also try to build ipxe on my iMac Mojave macOS 10.14.3 (18D109) :
> Already installed:
>
> git clone git://git.ipxe.org/ipxe.git
> gcc (version 3 or later)
> binutils (version 2.18 or later)
> make
> perl
> mtools
>
> xz-5.2.4 is present in the same folder as ipxe (the "ipxe" resulting from git clone git://git.ipxe.org/ipxe.git)
>
> via terminal:
>
> cd ipxe/src
> make
>
> Result:
> [BUILD] bin/__divdi3.o
> clang: error: unknown argument: '-mpreferred-stack-boundary=2'
> clang: error: optimization flag '-fstrength-reduce' is not supported [-Werror,-Wignored-optimization-argument]
> clang: error: optimization flag '-falign-jumps=1' is not supported [-Werror,-Wignored-optimization-argument]
> clang: error: optimization flag '-falign-loops=1' is not supported [-Werror,-Wignored-optimization-argument]
> clang: error: optimization flag '-falign-functions=1' is not supported [-Werror,-Wignored-optimization-argument]
> make: *** [bin/__divdi3.o] Error 1
>
> Do I miss something?
>
>
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
More information about the ipxe-devel
mailing list