Jump to content











Photo
- - - - -

PrePE - fast boot PE


  • Please log in to reply
82 replies to this topic

#26 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 19 March 2012 - 11:21 AM

@smx06
Since the reg file is seemingly EXTENSIVELY commented, something that could be really useful would be to translate those comments from Russian to English.
Or at least *somehow* convert it to text that I can try feeding Google Translate or similar.

:cheers:
Wonko

#27 wimb

wimb

    Platinum Member

  • Developer
  • 2682 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 19 March 2012 - 11:27 AM

But as I understand this is grldr(grub) + full disk image (loaded into RAM?)

All options are open.
You can boot the XP Image file either as FILEDISK from USB or HDD,
Or load and boot from RAMDISK, OR you can decide to use IMG_XP_Restore.exe to restore to partition ......(HDD or USB)

:cheers:

#28 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 19 March 2012 - 11:44 AM

@smx06
Since the reg file is seemingly EXTENSIVELY commented, something that could be really useful would be to translate those comments from Russian to


Comments are very few ))
translation attached
http://www.box.com/s...goe11jzgyoo592y

#29 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 19 March 2012 - 11:46 AM

fresh 'system' from my XP VM(Ware) after 1st reboot (of installation process)

http://www.box.com/s...cc74b3551698af8

#30 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 19 March 2012 - 11:48 AM

same 0x07 BSOD with it;
and the same goes on FIXED usb drive

So i'm curious about 1st post..

#31 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 19 March 2012 - 01:10 PM

fresh 'system' from my XP VM(Ware) after 1st reboot (of installation process)

http://www.box.com/s...cc74b3551698af8


p.s. for some reason it is not editable (?)
reg importing also fails (even reporting success! in cmd line)

#32 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 19 March 2012 - 02:38 PM

Comments are very few ))
translation attached
http://www.box.com/s...goe11jzgyoo592y


The user hosting this
content is out of bandwidth.


:(

54 Mb out of a 50800 bytes file? :w00t:

My suggestion is to leave alone any other VM and do the tests with Qemu (with Qemu Manager): http://www.davereyn.co.uk/download.htm

It will be slower than other VM's but - believe me on my word for it - it is more suitable for this kind of experiments.

Ok about Qemu.

fresh 'system' from my XP VM(Ware) after 1st reboot (of installation process)

Perfect. :thumbsup:

:cheers:
Wonko

#33 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 19 March 2012 - 07:24 PM

Perfect. :thumbsup:


I known you'd like it ))

real link
http://www.box.com/s...cc74b3551698af8

#34 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 19 March 2012 - 08:53 PM

I known you'd like it ))

I thought that sarcasm was transparent enough. :dubbio:

I will expand on it though.
There are a zillion versions of VmWare (of which I have NOT installed ANY) so, besides the fact that "VmWare" means nothing without an EXACT version description, I have no iinterest for a file that is made on something that I cannot easily replicate.
Additionally VmWare virtual machines, last time I used one, had "peculiar" hardware simulated, thus needing some proprietary drivers installed, and from experience such VM's are "less similar" to "real hardware" in a few parts that may make the difference when conducting this kind of experiment.
For the reason above I asked you (I guess politely :unsure:) if you could instead use Qemu + Qemu Manager, as I have it available and - in my experience - is an environment that is better suited.
To this you replied with "OK" (mind you, you were - and still are - perfectly free to reply "No I will never use Qemu!").
Now it would only be normal if you carried your experiment on Qemu and posted related data, since you replied "OK".

We are not only talking two different languages :( we also have different VM's :w00t:.

:cheers:
Wonko

#35 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 07:11 AM

Hi.

Sure. I did not intend to use sarcasm or something.
Sorry if I did write anything ambiguous..

Yes , yes, i understand about Qemu and Vmware.
I just tried to reproduce 1st post - there is written it was SUCCESSFUL on usb media.
This is while we waiting details from VV2006
I don't think registry from qemu install xp will be very different from VM and the real machine,
i mean in case of we have registry "patch" posted above that needs to eliminate hardware differences.

This was just due i had vm , xp installation disk and 5 minutes to install (1st boot) and extract "system"
This r just small experiments trying to lucky follow 1st post instruction.
If i'll have no additional info (from VV2006) then i'll involve the real debugging (qemu and other things)

Thanks

ps BTW does qemu support virtual com1/2 port redirected to pipe?
to connect it to windbg like i do in vmware?

#36 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 07:12 AM

ps about the file, i thought you downloaded it
it was wrong link to very different stuff))

#37 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 20 March 2012 - 09:42 AM

Well, the real issue is that I simply cannot understand (due to the language barrier) something like 3/4 and 4/5 of the "original" method.
To understand in which situation I am, see what I can get with google translate of the original post by Alexey:
ORIGINAL:
http://forum.ru-boar...18&start=380#15
Google translate of the above:
http://translate.goo...&hl=it&ie=UTF-8
You might understand how I cannot get much from sentences like:

After picking a ntbtlog.txt after booting via ntldr and setupldr.bin found that ntldr first determines Soup, and then loads the wood, and setupldr.bin does everything through the ass - first loads all of the wood, and then unloads the excess.


That is why I would have been interested in the translation of the comments inside the .reg file:

Request: please write, who can, cmd script to convert txtsetup.sif (section [SCSI.Load] and [HardwareIdsDatabase]) in the reg-file. It is well commented, I think it will be clear. There's quite simple, but I do not know how to make cmd cycles.


I could write the batch allright, if only I could understand the concepts.

:cheers:
Wonko

#38 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 10:05 AM

Unfortunately there is no additional information there.

"After picking a ntbtlog.txt .." section describes differences between NTLDR and SETUPLDR.bin
that differences are in load drivers rules:
- ntldr checks devices and loads drivers for em
- setupldr loads ALL drivers and then unloads unneeded

2nd section about cmd file is seems alredy included in .reg file posted above
Originaly he asked for help to convert txtsetup.sif ([SCSI.Load] & [HardwareIdsDatabase] sections) into reg file.
[this is already done imho; shall recheck]

The problem is that he says he did rename SETUPREG.HIV to system and appended it with those final .reg file
(produced from txtsetup.sif) and SUCCESSFULLY booted different test XP machines

I can't do this from Bart's SETUPREG.HIV appended with posted above .reg
Seems .reg file above is not full or we miss somthing..
(LIKE PATCHED NTDETECT.COM - what for?)

So waiting some help (of old results digging) from VV2006,
or shall try to recreate those experiments of making 'system' later if nothing will come out from the dark..

#39 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 10:08 AM

The bad is we missed original archive and now need to do all from the start (not all but it could be better to receive those results: .reg, ntdetect, etc)

#40 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 20 March 2012 - 11:54 AM

Still there is a misunderstanding. :unsure:
I could not get the "translated" .reg file. :frusty:
The link you posted originally was to a very large .pdf file that I was NOT able to download.
The other files you posted are seemingly "system.zip" files that I have no use whatsoever for.

WHICH files (the "original archive" you cited) are you missing instead? :dubbio:
In the original post by Alexey there are three files cited:
http://narod.ru/disk..._ntldr.rar.html <- For_boot_ntldr.rar
http://narod.ru/disk...torito.rar.html <- Eltorito.rar
http://narod.ru/disk...TSETUP.SIF.html <- TXTSETUP.SIF



And a link to here:
http://sly.ru/intere...lash-drive.html
which seems to me a Russian version of the original instructions by emanuel:
http://web.archive.o...jsp?pageid=4176

I have a copy of the three cited files, which one do you miss?

:cheers:
Wonko

#41 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 04:52 PM

Ah!

Do you have the original For_boot_ntldr.rar??
Plz attach it, all links above are dead!

sorry about the link, seems i was not carefull
again - reg file with translation:
http://www.box.com/s...56fb4725c728417

#42 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 20 March 2012 - 04:54 PM

ps
TXTSETUP.SIF - it is from original MS installation disk..

#43 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 March 2012 - 11:46 AM

Very good, I got the translated file, thanks. :)

I am now starting to understand the idea/procedure :smiling9:, and it's very clever I might say :thumbsup:.

To replicate, it should be easier if we do the steps in the post by VV2006 "reversed". :w00t:
  • FORGET (temporarily) anything about this approach.
  • Create a "normal" PE 1.x (the simplest, with the less complications/piugins/what not the better) using XP SP2 sources should be the "safer" choice.
  • Test it so that it boots on the media you chose (Virtual Hard disk image or USB flash stick)
    A simple howto "convert" an existing, working PE 1.x .iso is given here:
    http://www.911cd.net...topic=23777&hl= (step #6)
    For USB - only if needed - one can use the Dietmar's modified NTDETECT.COM.
  • Test that it boots normally.
  • You have now a "plain" PE 1. x that boots with a SETUPLDR.BIN copied to root and renamed to NTLDR and with a "flat" directory structure minint (as you are on HD like device)
  • Now do the steps by VV2006:, only very slightly modified
    • Copy with rename minintSYSTEM32SETUPREG.HIV to minintSYSTEM32CONFIGSYSTEM.
    • Extract from archive Updated_boot_ntldr.rar files srv_txtset.cmd and srv_txtset.reg to minintSYSTEM32CONFIG and then run srv_txtset.cmd.
      Little changed srv_txtset.cmd:
      
      			@ECHO OFF
      
      			SETLOCAL ENABLEEXTENSIONS
      
      			rem VV2006 -- a few changes by jaclaz
      
      			IF NOT EXIST SYSTEM GOTO :ERROR1
      
      			REG LOAD HKLMt SYSTEM
      
      			regedit /s srv_txtset.reg
      
      			REG UNLOAD HKLMt
      
      			
      
      			PAUSE
      
      			GOTO :EOF
      
      			:ERROR1
      
      			ECHO File %~dp0SYSTEM does not exist!
      
      			PAUSE
      
      			GOTO :EOF
      
      
  • Put this BOOT.INI in the root of the drive:
    [boot loader]
    
    timeout=30
    
    default=multi(0)disk(0)rdisk(0)partition(1)minint
    
    [operating systems]
    
    multi(0)disk(0)rdisk(0)partition(1)minint="Use NTLDR" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE
    
    C:grldr="Use SETUPLDR.BIN"
    
    
  • Rename NTLDR back to SETUPLDR.BIN (so that you can go back if anything is not working as expected
  • Copy to root a "real" NTLDR
  • Add to root grldr from latest grub4dos
  • Put this menu.lst in root:
    color black/cyan yellow/cyan
    
    timeout 30
    
    
    
    title find and load SETUPLDR.BIN of Windows NT/2K/XP
    
    find --set-root /setupldr.bin
    
    chainloader /setupldr.bin
  • Try booting from the thingy. (keeping your fingers crossed), you should be able to boot "as before" (if you choose "Use SETUPLDR.BIN") or with the new approach (if you choose "Use NTLDR").
    http://www.zshare.ne...440555512168ef/
:cheers:
Wonko

#44 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 21 March 2012 - 12:03 PM

Hi

http://www.zshare.ne...440555512168ef/


link not working

#45 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 21 March 2012 - 12:17 PM

Thanks about your guiding.

Meanwhile I recreated the 1st post results.
But plz reupload the archive ANYWAY!
My fault was using VMware (like your said), it somehow emulates/works with USB connected HDD and stick
different way.

I did near all the same on live machine and booted successfully from USB stick!
The only difference i used with posted above is:
additionally to appending SETPREG.HIV with .reg above
i appended it before with full 'system' posted above (from 1st boot installed full XP)
['system' was exported to .ref file also as somehow it is locked for editing as a hive]
without this step like i written above just "/config/system corrupt" error on registry accessing.

ps. /minint switch in boot.ini is always needed in such case to avoid LICENSE_VIOLATION BSOD

So i'm going now to the ntldr-CD-boot part of the project..

WAITING FOR Updated_boot_ntldr.rar UPLOAD!

p.p.s.
Do You know some sources with patched ntdetect.com (for bsods or somth) to read for?

ThanX!

#46 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 21 March 2012 - 12:19 PM

ps
from my tests it is better without /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

#47 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 March 2012 - 12:29 PM

Sorry for the wrong link, it is the stupid board software. :frusty:
Correcting it now, however it is this one:
http://www.zshare.ne...440555512168ef/
hxxp://www.zshare.net/download/99440555512168ef/

And yes, the stupid board software also makes attachment work "randomly" at least with my Opera setup. :w00t:

The "Dietmar's" ntdetect.com is only needed on some hardware, however you can recreate it easily, see:
http://www.msfn.org/...ing-text-setup/


My fault was using VMware (like your said), it somehow emulates/works with USB connected HDD and stick
different way.

Yep :smiling9:

Experience: that most brutal of teachers. But you learn, my God do you learn.

;)


:cheers:
Wonko

#48 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 21 March 2012 - 12:44 PM

Thanks!

#49 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 March 2012 - 01:41 PM

Good. :)
Once you will have confirmed that the approach works for you, we might try again at the CD, like in original VV2006's request.
I seem to remember that there were a few findings related to NTLDR and CD paths in the meantime, I'll try and find them.

One of my usual semi-random ideas :ph34r:, based on the posts made here:
http://reboot.pro/3765/
and on the BOOT.INI posted there by VV2006, which is here in UNbotched CODE:

[boot loader]

timeout=3

default=multi(0)disk(0)cdrom(224)\I386

[operating systems]

multi(0)disk(0)cdrom(224)\I386="CD on Primary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

multi(0)disk(0)cdrom(239)\I386="CD on Secondary Channel" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

C:\grldr="Grub Menu"




What happens if on the CD there is BOTH the \I386\ folder and a \minint\ one (at first attempt I would simply make the \I386\ an integral copy of the already tested \minint\ on USB)?


[boot loader]

timeout=3

default=multi(0)disk(0)cdrom(224)\I386

[operating systems]

multi(0)disk(0)cdrom(224)\I386="224_I386" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

multi(0)disk(0)cdrom(239)\I386="239_i386" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

multi(0)disk(0)cdrom(224)\minint="224_minint" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

multi(0)disk(0)cdrom(239)\minint="239_minint" /fastdetect /minint /HAL=HALMACPI.DLL /KERNEL=NTKRNLMP.EXE

C:\grldr="Use SETUPLDR.BIN"




:cheers:
Wonko

#50 smx06

smx06

    Member

  • Members
  • 41 posts

Posted 21 March 2012 - 03:14 PM

If you talking about boot.ini arc paths
multi(0)disk(0)cdrom(159)I386=
then i figured it out

else help appreciated ))




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users