Jump to content











Photo
- - - - -

grub4dos wimboot support


  • Please log in to reply
15 replies to this topic

#1 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 10 November 2014 - 10:49 AM

*
POPULAR

Not sure if this is new, but latest version supports booting from a wim file using wimboot executable and initrd.
http://grub4dos.chen...ries/downloads/

This can be used to boot a variety of wim files from different folders

\wimboot

\WIN7\bootmgr
\WIN7\boot\bcd
\WIN7\boot\boot.sdi
\WIN7\sources\boot.wim

title WIMBOOT WIN7PE\nBoot WIn7PE from \WIN7 folder
kernel /wimboot
initrd @bcd=/WIN7/boot/bcd @boot.sdi=/WIN7/boot/boot.sdi @bootmgr=/WIN7/bootmgr @boot.wim=/WIN7/sources/boot.wim

You can also specify the image number, e.g.

kernel /wimboot index=2

initrd syntax is @name1=file @name2=file


also can access files inside initrd file now (maybe for patching linux?)

map /initrd.gz (rd)
ls (rd)/

  • wimb, ReTokener, ZEE and 1 other like this

#2 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 10 November 2014 - 11:06 AM

VERY nice :smiling9:.

But WHICH "latest version"?
2014-11-10?
0.4.5c or 0.4.6a?
Please choose:
http://grub4dos.chen....6a-2014-11-10/
http://grub4dos.chen....5c-2014-11-10/

:duff:
Wonko

#3 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 10 November 2014 - 12:26 PM

yes

[Edit for Wonko]Both 0.4.5c and 0.4.6a  2014-11-10 have the new feature, and probably all later versions will too[/Edit]



#4 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 10 November 2014 - 12:38 PM

yes

Perfect. :thumbsup:

An exceptionally good example of non-answer.

However it seems that BOTH 0.4.5c and 0.4.6a have this added feature.

People willing to experiment will need wimboot from here:
http://ipxe.org/wimboot

In other words what was added is the feature of chainloading the iPxe wimboot as kernel and pass the parameters to it (which originally were multi-line initrd commands) in a single initrd command with the @ syntax explained.

There is no mention that I can find (apart Steve6375's post) about the possibility to pass a wimboot command on the kernel line, besides the index=n (useful for multiple images) I guess that the parameter rawbcd (which is not mentioned yet in any grub4dos related documentation) would be VITAL on non-UEFI systems (but on the other hand grub4dos would not work on UEFI systems, so it is possible the rawbcd parameter is "implied" when the thingy is chainloaded from grub4dos :unsure:.
In any case, if you are going to try this new feature make SURE to have a backup of the \BCD. :ph34r:

:duff:
Wonko

#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 10 November 2014 - 12:53 PM

Perfect. :thumbsup:

An exceptionally good example of non-answer.

:duff:
Wonko

 

Is your hair blue or green - choose?

Try looking at the text on pages of the two links that you yourself gave - can you not see that they both have the new feature?

You asked me to choose - how can I choose when they both have the new feature - you asked a poor question so I gave a poor answer ;-)


  • devdevadev likes this

#6 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 10 November 2014 - 01:13 PM

You asked me to choose - how can I choose when they both have the new feature - you asked a poor question so I gave a poor answer ;-)

And I publicly appreciated your non-answer tagging it as "perfect" :), do you want me to additionally "like" your post? :dubbio:

You replied (non-answer):
yes
the actual answer (there is a simple enough English world for it) would have been:
both
(and anyway pressing a few more keys to explain this might have been nicer).
You know, something *like*:
Both versions 0.4.5c-2014-11-10 and 0.4.6a-2014-11-10 support this new feature.

Have you noticed how the link you provided:
http://grub4dos.chen...ries/downloads/
(for some strange reasons connected to the way chenall site works) "lands" with the 2009 tab pre-selected?

Don't you think that a number of less experienced users would have by mistake downloaded an old version?

Hint ;), next time please explicit the version and use this link instead:
http://grub4dos.chen...oads/#year_2014

:duff:
Wonko

#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 10 November 2014 - 01:15 PM

but what happens in 2 months time when we are in 2015? That link will be wrong and maybe confuse people?


  • devdevadev likes this

#8 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 10 November 2014 - 01:54 PM

but what happens in 2 months time when we are in 2015? That link will be wrong and maybe confuse people?

Well, hopefully now that a date version has been explicited AND two direct links have been given the possibility of a mismatch is lower, and hopefully (knowing how many sites grub4dos changed over the years) the links to THOSE TWO SPECIFIED versions will STILL be valid and STILL be both under the 2014 tab.

:duff:
Wonko



#9 At1ant

At1ant
  • Members
  • 7 posts
  •  
    Ukraine

Posted 15 November 2014 - 09:13 PM

I take files from image of Windows Seven, put them on my flash and use menu bellow:

title Wimboot test
kernel /WIN7/wimboot
initrd @bcd=/WIN7/boot/bcd @boot.sdi=/WIN7/boot/boot.sdi @bootmgr=/WIN7/bootmgr @boot.wim=/WIN7/sources/boot.wim


And it's say that file not found, why ?
Tested on virtual machine and real hardware, grub4dos-0.4.5c-2014-11-11.7z.


Edited by At1ant, 15 November 2014 - 09:15 PM.


#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 15 November 2014 - 09:40 PM

maybe because one of the files specified does not exist?



#11 At1ant

At1ant
  • Members
  • 7 posts
  •  
    Ukraine

Posted 15 November 2014 - 11:38 PM

All files written in menu are exist and Grub4Dos sees them.

There are ideas?



#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 16 November 2014 - 12:05 AM

\win7\bootmgr ???



#13 At1ant

At1ant
  • Members
  • 7 posts
  •  
    Ukraine

Posted 16 November 2014 - 12:37 PM

Oh sorry, I didn't notice the absence of bootmgr.



#14 ZEE

ZEE

    Member

  • Members
  • 79 posts
  •  
    Portugal

Posted 3 weeks ago

map /initrd.gz (rd)
ls (rd)/

​Hi Steve... try(ed) your bit of code to list the (rd) content...

after loading the wimboot kernel...

​and after loading 3 files with initrd with success

​but the command 'map /initrd.gz (rd)'

tell me file not found...

​also try some variants of this with no luck...

​when I issue the 'find' from the command line
the only availble drive is the mapped PXE boot device (pd)

​I'm using the latest grb4dos (2017.02.xx)

I hope you solution works
as it is a good thing to inspect the ramdrive content
for debug or patch purpouses

​?any ideas

​Thx


Edited by ZEE, 3 weeks ago.


#15 steve6375

steve6375

    Platinum Member

  • Developer
  • 6462 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 3 weeks ago

do you have a file called /initrd.gz?

The example I gave was for looking inside an initrd.gz file - it is nothing to do with wimboot...


  • ZEE likes this

#16 ZEE

ZEE

    Member

  • Members
  • 79 posts
  •  
    Portugal

Posted 3 weeks ago

do you have a file called /initrd.gz?

The example I gave was for looking inside an initrd.gz file - it is nothing to do with wimboot...

 

​No... sorry... my mistake...

​Do you know of any way to list/consult the files we are placing in the container with initrd ?

​Thx






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users