Jump to content











Photo
- - - - -

Ipxe.iso when modified with ultraiso doesn't load properly


  • Please log in to reply
4 replies to this topic

#1 pazhanii

pazhanii

    Member

  • Members
  • 58 posts
  • Location:India
  •  
    India

Posted 11 September 2016 - 12:54 PM

Hai,

 

       I am trying to lan boot windows 7 from iscsi.

 

But when i add CONF.IPXE to ipxe.iso using ultaiso software, it hangs at initialize-device stage.

 

If unmodified it boot ok. But commands have to typed manually.

 

How to add CONFIG.IPXE without disturbing ipxe.iso?

 

 

Note: IPXE.ISO size 684kb, after adding CONFIG.IPXE it goes to 300kb.

 

 

 



#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 September 2016 - 01:16 PM

Cannot say specifically, but the good ol' rule of thumb is NEVER edit a .iso, JFYI:
http://reboot.pro/to...y-to-edit-isos/

http://reboot.pro/to...ting-iso-files/

 

Why don't you provide a link to the .iso(s) in question?

It is this one, right?

http://boot.ipxe.org/ipxe.iso

 

Seems like it is "plain enough", anyway:
https://git.ipxe.org...src/util/geniso

 

 

:duff:

Wonko



#3 pazhanii

pazhanii

    Member

  • Members
  • 58 posts
  • Location:India
  •  
    India

Posted 11 September 2016 - 02:09 PM

Thanks for answering. That was the exact link. http://boot.ipxe.org/ipxe.iso

 

But how to add the CONF.IPXE to file?

 

By default ipxe.iso doesn't have it.

 

Below are lines in the CONFIG.IPXE 

 

#!ipxe

dhcp net1
set initiator-iqn iqn.1991-05.com.microsoft:mmaaaa-murugaa-target
set root-path iscsi:192.168.1.2::::iqn.1991-05.com.microsoft:mmaaaa-murugaa-target
set keep-san 1
sanboot ${root-path}
 
 
I am booting 10 PC's by Lan creating differenceing Vhd.
 
Intel945gclf onboard lan works fine even if modified.
 
Hp246 Hangs if modified
 
Lenovo B90 Hangs if modified
 
It seems to work in some PC'S and not in many LAPTOPS

Edited by pazhanii, 11 September 2016 - 02:11 PM.


#4 pazhanii

pazhanii

    Member

  • Members
  • 58 posts
  • Location:India
  •  
    India

Posted 11 September 2016 - 02:46 PM

Wonko the Sane

 

How is it possible by you to answer any question any topic? How to become expert like you? Reading various forums topics would make we wise? or reading any programming?

 

What makes you expert? 

 

I too want to answer questions posted in this forum. But most is not understood by me...



#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 11 September 2016 - 03:03 PM

Wonko the Sane

 

How is it possible by you to answer any question any topic? How to become expert like you? Reading various forums topics would make we wise? or reading any programming?

 

What makes you expert? 

 

I too want to answer questions posted in this forum. But most is not understood by me...

 

Sure, reading forums and docs, making a few experiments, being around for quite some time. 

Unfortunately :(, especially for the last item above, there are no shortcuts, and the collateral damage in the process is that you get old (and possibly also grumpy :w00t: :ph34r:).

 

About the .iso, the idea is to extract/copy its contents in a folder, add to the folder (or in a subfolder, I am not at all expert in iPxe) your CONFIG.IPXE, then recreate the .iso using either genisoimage or mkisofs (most probably the original is made with genisoimage, but it won' t make any difference, as both are supported in the source script).

Do read the given links, they explain how to extract the boot files, it is very possible that ultraiso is "tricked" (just like it happened on the given thread):

http://reboot.pro/to...ting-iso-files/

by the "wrong length" of the isolinux boot file set by the "-boot-load-size 4", the given batch should work:
http://reboot.pro/to...e-2#entry108486

 

 

:duff:

Wonko






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users