Jump to content











Photo
- - - - -

Use FiraDisk without injecting it to boot.wim?


  • Please log in to reply
7 replies to this topic

#1 Uneitohr

Uneitohr

    Frequent Member

  • Advanced user
  • 219 posts

Posted 14 May 2017 - 10:20 PM

Hello! I'm trying to boot a windows install image via grub4dos. The error displayed is:

A required CD/DVD drive device driver is missing.

 

I understand that I must use either firadisk or winvblock to make it work but I'd like a solution that does not involve editing the images. And I'd also like to NOT use easy2boot for this.

What other options are there to solve this, using the requirements above?

 

The version of grub4dos I'm using is 0.4.5c-2015-05-18 but I will update if required.

 

Thank you!



#2 steve6375

steve6375

    Platinum Member

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

Posted 14 May 2017 - 11:01 PM

You can use the same method that E2B uses, ImDisk + AutoUnattend.xml?

http://www.rmprepusb...ials/firawiniso

 

Note that I had problems with firadisk and later versions of Windows 8/10, so I dropped it in favour of ImDisk.


  • Uneitohr likes this

#3 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 15 May 2017 - 11:07 AM

Easier way is use a small WinPE (you can run it from grub4dos or Windows bootmanager) and WinNTSetup and your Iso's, but you do not need the full Iso, only install.wim or install.esd, etc,

 

If you want you can rename the install file as let's say 10x64.wim or 8.1x64.esd, this allows you to save space and also put several installers togeter on the root of your USB device or on a folder if you prefer.

 

alacran


  • Uneitohr likes this

#4 Uneitohr

Uneitohr

    Frequent Member

  • Advanced user
  • 219 posts

Posted 20 May 2017 - 01:20 AM

@alacran

I already use WinNTSetup in WinPE. Have a dedicated disc that runs it automatically.

 

 

@steve6375

I would just need to create an autounattend.xml, and install imdisk from there? And once imdisk is installed in WinPE, are there any other operations that need to be done?



#5 Uneitohr

Uneitohr

    Frequent Member

  • Advanced user
  • 219 posts

Posted 20 May 2017 - 05:18 PM

I've created the autounattend.xml and script to setup imdisk in winpe. However, i am stuck at this:

write /logs/image_selection.txt iso\\en_windows_7_ultimate_with_sp1_x64_dvd_u_677332_eicfg_simplix.iso

If the file /logs/image_selection.txt is empty then it outputs the error Cannot write resident/small file! And using the command like above does not overwrite the file.



#6 steve6375

steve6375

    Platinum Member

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

Posted 20 May 2017 - 05:27 PM

I don't recognise that code. Is it grub4dos?

Are you using latest version of grub4dos (which fixes problem with small/resident files).

 

If you have a file of less than approx 900 bytes on an NTFS system, it will use the resident attribute block and not a data block. Older versions of grub4dos could not write to the resident block, so you had to make sure the NTFS file was over 1K in size so that the file data was kept on data clusters. This shortcoming was fixed in later versions of grub4dos. The current 0.4.6a 2017-05-15 is good.

 

P.S. Why not look at the way Easy2Boot does it? It uses a similar technique but uses ImDisk.

The grub4dos batch file can be found in \_ISO\e2b\grub\RunWin8.g4b and the files in \_ISO\e2b\firadisk.


Edited by steve6375, 20 May 2017 - 05:29 PM.

  • Uneitohr likes this

#7 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 20 May 2017 - 05:52 PM

If you have a file of less than approx 900 bytes on an NTFS system, it will use the resident attribute block and not a data block. 

Please read 900 as "around 744 bytes". :whistling:

 

It is not about being picky (which I am BTW), but what the heck :argue: , experiments were made, exact or almost exact results were found and provided:

 

https://www.forensic...wtopic/t=10403/

http://reboot.pro/to...testers-wanted/

we should stop using old and incorrect info.

 

And FYI/for the record on 4 Kb sectored disks, the limit is 3776 bytes:
https://www.forensic...wtopic/t=10403/

https://www.forensic...587693/#6587693

 

:duff:

Wonko


  • Uneitohr likes this

#8 Uneitohr

Uneitohr

    Frequent Member

  • Advanced user
  • 219 posts

Posted 20 May 2017 - 10:43 PM

Thank you so much! It works as expected but I'm a bit dissapointed of the fact that Windows 8/8.1/10 requires a productkey in xml in order to work. I've decided to run the install script of imdisk manually though, instead of using autounattend.xml.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users