The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sanboot and bootsector
2013-10-13, 11:20 (This post was last modified: 2013-10-13 11:36 by erwan.l.)
Post: #1
sanboot and bootsector
Hi There,

I have no pb sanbooting a disk image file with a partition boot sector offset = 63 sectors (32256 bytes).
Command is : sanboot --drive 0x80 ${boot-url}/_images/xp.img .

However, when partition offset is 2048 (1048576 bytes), it wont boot. (sanboot error 1d0c6139).
That same image boots fine via other means (iscsi, aoe, boot from disk, etc) so I know the image is fine.

Moreover, when sniffing packets, I notice than ipxe/sanboot first pushes a HTTP HEAD request at 32768 bytes (=64 sectors).
I have the feeling that this is a mistake.
Immediately after, I see another HTTP HEAD at 0 bytes, which I guess is to read the MBR.
And finally right after, I see a HTTP HEAD at 32256 bytes (my partition offset) and then the boot start.

So I have 2 questions :

-is not there a mistake in sanboot+http since first HTTP HEAD goes to 32768?
I would recommend to look by default at 32256.

-is it possible to boot disk images with a partition offset at 1048576 (default with latest windows versions) ?

Note that at this stage, the content of my disk image is not relevant.
It is a plain disk image file with a MBR and one partition with a BS.

Thanks !

Erwan

Erwan L. -
website : http://erwan.labalec.fr
blog : http://labalec.fr/erwan/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
sanboot and bootsector - erwan.l - 2013-10-13 11:20
RE: sanboot and bootsector - mcb30 - 2013-10-14, 15:15
RE: sanboot and bootsector - erwan.l - 2013-10-14, 15:23



User(s) browsing this thread: 1 Guest(s)