> BootSDI, zCopy and ImageCreator utility
Rating 5 V
Oleg_II
post Feb 25 2007, 06:29 AM
Post #1


Advanced Member
***

Group: Advanced user
Posts: 243
Joined: 15-October 06
From: Somewhere in the East
Member No.: 787



BootSDI.script (former IMGinRam)
Creates BootSDI.IMA file that can be booted into Ram from CD, HDD and USB devices (sticks and flash cards). By default script creates an ISO image for burning CD but you can grab this file alone in ISO\RAM folder and use it as you want wink.gif
Note 1: if you want the build running in qEmu please uncheck any other "Create ISO" scripts inside the project.
Note 2: for using this utility FileDisk driver is required. It can be installed directly from the script interface and there is no need to reboot the computer after that.

zCopy utility Download | Beta testing and discussion
NIKZZZZ from Ru-Board created scpecial utility for this script - zCopy.exe for copying all files and folders from one pointed folder to any pointed disk drive. zCopy creates the exact mirror of "home" directory on a destination drive. Then it lists all files and start copying from the biggest with compressing and checking integrity of files.. zCopy may stuff the image even if there is nearly no place on it wink.gif This gives you ability to make the smallest image possible and you can boot using 50MB image on a computer with only 80MB of RAM! This utility will be extracted in your Tools directory. Try it also for your other usual tasks.

ImageCreator.script and ImageCreator utility (reg.exe and notepad.exe are required in system32)
The other utility created by NIKZZZZ for using especially with RAM Boot. The utility makes the image of running WB system so that any changes to the regestry will be available during next boot to the build. It creates drive image (HDD or RAM disk) from the loaded system itself using direct access to the disk. Regestry files are imaged from the working system too.
In other words - it is possible to install neary any program directly when running WB build and save the settings specified in configuration file for the next time you will run WB build again! It can save some time for writing program scripts also. Why write complex scripts with files placement and regestry settings if you can just install and configure a program and save all changes directly in the base build?

How to use ImageCreator
1. Create an image file that is a RAW full sized image of a working system (virtual image in RAM, system installed on HDD or running from CD) and it is as big as this system.
2. After creating an image choose to save it as a separate image with any extention or replace with it the original one (of course only images on writable booting devices like HDD or USB sticks can be replaced).

Configuration file parameters:
[Drive] - source and temporary drives letters
SourceDrive=x:
TempDrive=z:
[RegSave]; - writes regestry hive into a file
%WinDir%\System32\config\Software=HKLM\SOFTWARE
%WinDir%\System32\config\Default=HKU\.DEFAULT
[FileDel]; - delete a file
%WinDir%\System32\Setupreg.hiv
[RegCopy]; - copies only defined regestry key into a file. If the file doesn't exist it is created.
QUOTE
%WinDir%\System32\Setupreg.hiv:HKLM\SYSTEM\ControlSet001\Hardware Profiles=HKLM\SYSTEM\ControlSet001\Hardware Profiles
in one line
[Arc]; - used third party archiver
Arc=gzip.exe

Allowed pathes:
%WinDir%
%SystemRoot%
%UserProfile%
Full pathes are also allowed but the drive letter is ignored and used by default.

Note: it's recomended to save only Default and Sofware hives and only some keys in System and User.dat because if you save ALL regestry it will save your hardware configuration too and may cause BSOD during next run. But - good news! - the default Ic.ini file is about 70% enough for successful installation and configuration of your licenced software directly in running system. This configuration file is recommended for the starter:
QUOTE
[Drive]
SourceDrive=x:
TempDrive=z:
[RegSave]
%WinDir%\System32\config\Software=HKLM\SOFTWARE
%WinDir%\System32\config\Default=HKU\.DEFAULT


How you can use BootSDI.IMA file
(make sure you have a backup of this computer sensetive information just in case - you are worned! don't complain if you loose any data during tests)

Running from HDD (best way to test your WinBuilder builds on a real computer).
1. Get Grub4DOS here and extract only one file from Zip archive - grldr (this file has no extention!).
2. Open Notepad and past and copy next lines in it:
QUOTE
color white/red black/red
default 0
timeout 10

title BootSDI from HDD
find --set-root /grldr
chainloader /i386/setupldr.bin

title Load Windows
root (hd0,0)
chainloader +1

title Reboot computer
savedefault --wait=2
reboot
Save this file as menu.lst (note the extention!).
3. Open Notepad and past and copy next lines in it:
QUOTE
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\I386\SYSTEM32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportashd /rdpath=\i386\BootSDI.IMA"
Save this file as WINNT.SIF.
4. Go to Start > Settings > Control Panel. On the window menu choose Tools > Folder Options... Go to tab View and uncheck Hide Protected Operating System Files (Recommended) - don't worry, no harm is expected you can check it back later.
5. Go to you system drive (most ofter is drive C:) and you will see the file BOOT.INI. Open the file with Notebook and add a line at the bottom of all other lines:
QUOTE
C:\grldr="Grub4Dos"
(You may also change timeout from 30 to 5 - it means how long in seconds you will see the choice for booting.)
6. Place files grldr, menu.lst, WINNT.SIF on drive C:
7. Create a folder i386 on drive C: and place there setupldr.bin (Win2003 file), ntdetect.com and BootSDI.IMA (not ISO but IMA file!).
Now each time you boot you will see the choice:
QUOTE
Windows XP
Grub4DOS
If you choose Windows XP it's obviously loads your Windows.
If you choose Grub4DOS you will be forwarded to the next menu choice and you can choose to boot Windows, reboot or load your BootSDI.IMA file on your real computer! If the build you created is bootable in qEmu during building the image will defenitely boot smile.gif

Running from a USB stick or a flash card (your movable Windows in a pocket wink.gif
(USB stick of flash card should be bootable on your computer - miracles are not possible yet wink.gif
1. Copy file WINNT.SIF created in previous step 3 to your prepared USB stick.
2. Copy the folder i386 with all files inside created in previous step 7 to the USB stick.
3. Rename setupldr.bin (Win2003 file) to ntldr (file has no extention!) and place this file (ntldr) to USB stick.
Thats all! If your USB stick or flesh card is capable to boot at all, your motherboard supports booting from USB (make needed settings in BIOS setup) and your image is bootable it should work! smile.gif

Download: please download the latest "stable" versions from nativeEx_barebone update server. This topic will contain only beta versions.
Attached File(s)
Attached File  ImageCreator.zip ( 248.88k ) Number of downloads: 103
 
Go to the top of the page
 
+Quote Post

Posts in this topic
Oleg_II   BootSDI, zCopy and ImageCreator utility   Feb 25 2007, 06:29 AM
psc   [b]BootSDI.script v007 (former IMGinRam) Creates ...   Feb 25 2007, 04:58 PM
Oleg_II   psc Thank you very much for testing and good advis...   Feb 25 2007, 07:37 PM
TheHive   psc We also confirmed one simple way to install Fi...   Feb 26 2007, 01:08 AM
Oleg_II   TheHive Not yet. Please wait until v8 (I'll i...   Feb 26 2007, 04:14 AM
psc   psc Nikzzz explained about repeting lines - unmoun...   Feb 26 2007, 08:14 AM
smiley   Yes I also think that such workrounds ar not a goo...   Feb 26 2007, 12:27 PM
Oleg_II   Yes I also think that such workrounds ar not a goo...   Feb 26 2007, 02:19 PM
psc   Not that I'm against this but I'm not even...   Feb 26 2007, 02:39 PM
psc   I tested version 7.5: There is still a bug: Line ...   Feb 26 2007, 04:16 PM
Oleg_II   psc Thanks :cheers: The code will still need A LO...   Feb 26 2007, 04:33 PM
psc   [b]psc We will need to import a REG file. I have a...   Feb 26 2007, 05:24 PM
smiley   Question: A .reg is 'suspect' to the user ...   Feb 26 2007, 05:30 PM
psc   That's true but if the .reg files are too big,...   Feb 26 2007, 05:34 PM
smiley   @Smilley: long time ago that we respoded directly ...   Feb 26 2007, 05:37 PM
Oleg_II   Lines are not too much :rolleyes: psc Good sugge...   Feb 26 2007, 05:43 PM
Nuno Brito   wb can import reg files natively - this is good si...   Feb 26 2007, 05:53 PM
psc   Regarding shellExecute - wb will wait for the appl...   Feb 26 2007, 06:00 PM
smiley   Regarding shellExecute - wb will wait for the appl...   Feb 26 2007, 06:09 PM
Nuno Brito   Does that mean that 'naturally' no chance ...   Feb 26 2007, 07:03 PM
smiley   ShellExecute is behaving as expected, starts a pro...   Feb 26 2007, 07:22 PM
psc   ShellExecute is behaving as expected, starts a pro...   Feb 26 2007, 07:22 PM
smiley   While (ShellExecuterHandler <> 0) Wait 10 ...   Feb 26 2007, 07:28 PM
Oleg_II   Nuno Brito NIKZZZZ explained that FileDisk /umount...   Feb 26 2007, 07:38 PM
psc   NIKZZZZ updated zCopy.exe utility and it waits unt...   Feb 26 2007, 09:34 PM
Nuno Brito   Here's the shellExecute code I use: // SetPri...   Feb 26 2007, 08:34 PM
Oleg_II   Some more interesting features are coming! :p...   Feb 26 2007, 08:54 PM
thunn   Nice work guys!! The reboot issue was the ...   Feb 27 2007, 08:21 AM
psc   I tried the 9beta3 inside nativeEx_barebone. Runs...   Feb 27 2007, 11:47 AM
TheHive   So this is like a hardrive. Or is it based on RAM...   Feb 27 2007, 12:25 PM
Oleg_II   So this is like a hardrive. Or is it based on RAM...   Feb 27 2007, 01:12 PM
psc   There is an issue though - Explorer.script and sho...   Feb 27 2007, 02:12 PM
Oleg_II   Wow! I didn't know that! I had to edit...   Feb 27 2007, 02:31 PM
thunn   He didn't say that. :lol: btw-- Regedit is ca...   Feb 27 2007, 04:17 PM
psc   He didn't say that. :lol: btw-- Regedit is c...   Feb 27 2007, 04:31 PM
Oleg_II   thunn psc Gentlemen, thanks for bug reporting and ...   Feb 27 2007, 08:29 PM
Oleg_II   Oops... psc the lines for RegWrite you suggested w...   Feb 27 2007, 09:38 PM
psc   Oops... psc the lines for RegWrite you suggested w...   Feb 28 2007, 08:06 AM
Alexei   As I remember, FileDisk requires program call to...   Feb 28 2007, 01:36 PM
psc   As I remember, FileDisk requires program call to...   Mar 1 2007, 10:38 AM
thunn   Why not add that too? If you want to merge my scri...   Feb 28 2007, 12:53 AM
Oleg_II   Thunn Thanks! :cheers: We'll see how we c...   Feb 28 2007, 01:32 AM
jaclaz   But I guess that you need to format it and to co...   Mar 1 2007, 12:05 PM
psc   But I guess that you need to format it and to copy...   Mar 1 2007, 12:13 PM
Alexei   But I guess that you need to format it and to copy...   Mar 2 2007, 10:15 AM
jaclaz   I guess that the script, to be executed, needs t...   Mar 1 2007, 02:44 PM
psc   Yes, I was referring to Alexei's: I guess th...   Mar 1 2007, 03:13 PM
jaclaz   Well, not really, that was "my" idea ;...   Mar 2 2007, 08:25 PM
bilou_gateux   [b]zCopy utility NIKZZZZ from Ru-Board created scp...   Mar 10 2007, 07:01 PM
specter_57   Because I could and because I was curious.... I p...   Mar 10 2007, 07:42 PM
bilou_gateux   Help! Syntax error. WBzip -x BootSDI.script ...   Mar 10 2007, 08:30 PM
Nuno Brito   Simply download the latest beta exe from here: htt...   Mar 10 2007, 08:45 PM
bilou_gateux   Simply download the latest beta exe from here: [ur...   Mar 10 2007, 08:51 PM
Nuno Brito   Glad you've worked it out! :thumbsup:   Mar 10 2007, 08:55 PM
Oleg_II   bilou_gateux Sorry for not replying earlier - I wa...   Mar 12 2007, 03:56 AM
Nuno Brito   What will image creator do exactly? Can you post ...   Mar 12 2007, 10:14 AM
FeReNGi   I use for more then a year the method of booting a...   Mar 12 2007, 11:00 AM
Oleg_II   Nuno Brito I'll start translating instructions...   Mar 12 2007, 11:58 AM
Nuno Brito   Thanks! :)   Mar 12 2007, 12:03 PM
jaclaz   @Ferengi I don't want to spoil the fun, belie...   Mar 12 2007, 12:58 PM
FeReNGi   @Ferengi I don't want to spoil the fun, belie...   Mar 12 2007, 06:51 PM
Oleg_II   jaclaz Well, if you are talking about BootSDI.scri...   Mar 12 2007, 01:19 PM
jaclaz   @Oleg_II Yep, besides being the single most proba...   Mar 12 2007, 02:01 PM
Nuno Brito   ... Yep, besides being the single most probable wi...   Mar 12 2007, 02:36 PM
psc   Yep, besides being the single most probable winner...   Mar 12 2007, 03:38 PM
FeReNGi   Can somebody explain SDI in two or three sentences...   Mar 12 2007, 06:59 PM
Oleg_II   psc And you have it :cheers: Please correct me ...   Mar 12 2007, 05:15 PM
psc   psc And you have it :cheers: Please correct me ...   Mar 12 2007, 05:57 PM
Oleg_II   psc I tested it on 4 available computers (3 differ...   Mar 12 2007, 06:18 PM
Nuno Brito   Oleg, thanks for the detailed posting - it is very...   Mar 12 2007, 06:54 PM
jaclaz   Ferengi, pardon me, maybe I'm a bit thick, but...   Mar 12 2007, 07:12 PM
psc   Ferengi, pardon me, maybe I'm a bit thick, but...   Mar 12 2007, 07:30 PM
Oleg_II   ALL There is very important correction in instruct...   Mar 12 2007, 07:29 PM
FeReNGi   [b]FeReNGi So SDI doesn't use ramdisk.sys? Can...   Mar 12 2007, 09:54 PM
psc   If you need a how to on SDI disks and VMDK disks i...   Mar 12 2007, 11:15 PM
Oleg_II   psc We are not competing :cheers: In fact the sol...   Mar 12 2007, 07:48 PM
jaclaz   Peter, what I am trying to understand is the diffe...   Mar 12 2007, 07:48 PM
Oleg_II   As for separating OS core and programs... This was...   Mar 12 2007, 07:58 PM
psc   The last replies proofed that my knowledge about b...   Mar 12 2007, 11:25 PM
Oleg_II   FeReNGi Well, everything you say is just the same ...   Mar 13 2007, 12:56 AM
jaclaz   @peter Please do review the work of Ferengi, Sanba...   Mar 13 2007, 09:01 AM
Oleg_II   About SDI images, as said I never "touched...   Mar 13 2007, 09:23 AM
psc   I did a test with a real burned CD Pentium 4, 2.4...   Mar 13 2007, 10:46 AM
psc   For an enhancement, please have a look here. Pete...   Mar 13 2007, 11:40 AM
Oleg_II   NIKZZZZ uploaded new version of zCopy utility to B...   Mar 14 2007, 01:17 AM
psc   I made a compare between the different methods: U...   Mar 15 2007, 11:28 AM
TheHive   So does this mean we can make a B: Drive SDI RamDr...   Mar 15 2007, 05:42 PM
FeReNGi   So does this mean we can make a B: Drive SDI RamDr...   Mar 16 2007, 10:45 AM
Oleg_II   I don't think it is possible to resize virtual...   Mar 15 2007, 06:13 PM
TheHive   We dont have an auto Ram resizer type of script. S...   Mar 15 2007, 08:08 PM
FeReNGi   When everything is loaded in ram you can start del...   Mar 16 2007, 10:47 AM
psc   Today I played a little bit with ImageCreator. Th...   Mar 16 2007, 02:58 PM
nikzzzz   Today I played a little bit with ImageCreator. Th...   Mar 16 2007, 04:45 PM
psc   It the debug version. To bring зт...   Mar 16 2007, 04:55 PM
nikzzzz   What's the meaning of 'sti'? Peter I ...   Mar 16 2007, 05:14 PM
nikzzzz   ImageCreator - new version.   Mar 17 2007, 04:17 AM
TheHive   ImageCreator - new version. Sound like a good c...   Mar 17 2007, 04:47 AM
TheHive   ImageCreator questions. Are there steps to be fol...   Mar 17 2007, 05:22 AM
Oleg_II   TheHive Thanks for testing and your advices :cheer...   Mar 17 2007, 06:06 PM
TheHive   I think new updated instructions will come up shor...   Mar 17 2007, 11:50 PM
3 Pages V   1 2 3 >

« Next Oldest · Development · Next Newest »
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts zcopy error
any ideas
4 carfan 497 6th June 2007 - 11:10 PM
Last post by: yahoouk


 


Track this topic · Email this topic · Print this topic · Subscribe to this forum

- Lo-Fi Version Time is now: 9th October 2007 - 04:27 AM

MKPortal ©2003-2006 mkportal.it