Help - Search - Members - Calendar
Full Version: System recovery partition
MSFN Forums > Unattended Windows Discussion & Support > Unattended Windows 2000/XP/2003

   


Google Internet Forums Unattended CD/DVD Guide
worldy
I need to create a partition (separate obviously), which will enable automatic recovery of Windows XP professional alongwith symantec antivirus.
How should i start in this, and enable the partition to provide this service. (or can i say, if I want to load a bootloader or something like that on that partition unsure.gif ).

Also, It will be nice, If i can host the installation files in the recovery partition, so the user can re-format the old windows XP, and install the new one with ease!

How should i go about it?
Any links will get me going...Thanx
druiddk
I am REALLY interested in doing this as well!
Any advice would be very welcome!
urie
QUOTE
You can use Acronis Trueimage it will make a hidden partiton and you can access it by pressing F11 at boot to recover any selected partiton, also acronis is giving away Trueimage 7 for free i know its older version but it works
QUOTE
Register now and receive Acronis True Image 7.0 for Free!

CODE
http://www.acronis.com/mag/vnu-ati7

QUOTE
Filling in the form will get you an e-mail with a link to a page with your account password to the site. Going to the link will get you a serial number via e-mail. You can then log-in to your account and download the software.
ideas
i've seen this with sony vaio laptop its great to hav a feature like this to our partition especially if we could use wpi to install our apps

but am very interested in getting to work
worldy
Please what do u mean by F11 key, (Its either BIOS key to change partition (which i think is not possible) or to display Bootloader menu?)

But i dont want to mess up the nice Windows XP boot loader, which is present in MBR. (If there is something better than that, i definitly want to try it, tell me the bootloader name for the mentioned purpose).

What i want is, i want to avoid Loading my CD/DVD everytime i have to re-install Windows XP. For example, either
1. Windows Boot loader gets corrupt, or
2. Both Boot loader and Windows XP is corrupted.


I can boot from anything(windows / Linux) and then jump onto "Recovery Partition", to repair Windows Bootloader. And henceforth re-install windows XP, withought installer files.

It will be better, if on the hidden partition, i dont create any image, and put raw files/directory (i386) onto it.
Oleg_II
To make it working you should buy an imaging software like DeployCenter or Ghost (I don't know if other appz can do this).

I prefer Symantec DeployCenter (former PowerQuest DriveImage or DeployCenter depending on version). It has an utility called Virtual Boot Environment
QUOTE
Virtual Boot Environment (VBE) allows non-Windows programs to execute from off of the hard drive on Windows 9x, Windows Me, Windows NT, Windows 2000, Windows XP, and Linux platforms as if they were running from a boot floppy or from a bootable CD.
The VBE operates by temporarily replacing the Master Boot Record (MBR) boot code on the primary hard drive. Upon rebooting the computer, the new boot code loads and runs the programs stored in the VBE image file.

To use it you don't even need to install the package. But you need to have at least two partitions or two hard disk for saving the image of your system (you can create special partition with this program too). You also can save images directly on CD or DVD if you want of course.

Here are the steps you need to follow (very generally):
1. Place these three files: vfinstnt.exe, vfloppy.sys and vflppyld.sys in a folder say BOOT somewhere on your disk.

2. Create with WinImage or other sofware a DOS floppy with DeployCenter files for DOS and save it as an image file on your hard disk under the name PQVF.VFD along with above three files. It could be an image of 1.40MB or 2.8MB floppy. Usually when you install DeployCenter there are two floppy disks created, you can merge them or create one manually.

3. Make shortcut to VFINSTNT.EXE on your Desktop or somewhere in Start Menu. You are ready to go.
When you click on it the utility will rewrite MBR (temporary! don't worry you'll get yours back soon newwink.gif , close up all running applications and restart the computer. When the computer boots it will boot as if there is a floppy drive (even if you don't have it phisically) and loads the program on the floppy image you created before. DeployCenter GUI mode is VERY easy to understand: there are only three buttons on the screen "Create image", "Restore image" and "Copy disk". Running for the first time you may create a hidden partition and save the image of your ideal tweaked system on it. Next time when something goes wrong or when you just want to go back to the first "clean" image you just run this utility again and restore that image.

You can also create a few images with different stages: just installed system, added drivers, added software, all tweaked, etc. Or you can make images for different operating systems and can reload from one to the other just in a 5 minutes (it may be a bit difficult with completely different OS but it works greate with different MS OS).

You'd better to create a boot CD using PQVF.VFD as a boot image also - just in case your system won't boot at all. Then you can use this CD to boot and have a look at your hard disk and if no partitions are lost restore the image with the system.

If you are an advanced user you can read the manual for DeployCenter and create some simple scripts for automatic restoring: imaging - you just clisk on your shortcut and go away, the computer will reboot into virtual floppy, automatically restores the partition and reboots again into a "clean" system.
Not all versions of DriveImage had this functionality. Only DriveImage Pro and DeployCenter.

CAUTION!
1. It's better to backup all your sencitive data before you start experimenting with such software!
2. When you restore an image on a partition all content of this partition will be lost. So choose carefully the partition to restore.
3. Keep all your documents and e-mail folder on other disk or partion because they will be lost after restoring image if they were on the same restoring partition. It's easy to do in programs settings or through reg-tweaks.
4. This method won't work on virtual computers.

I think something similar could be made also with Norton Ghost.
urie
QUOTE (worldy @ Oct 12 2006, 02:59 PM) *
Please what do u mean by F11 key, (Its either BIOS key to change partition (which i think is not possible) or to display Bootloader menu?)

But i dont want to mess up the nice Windows XP boot loader, which is present in MBR. (If there is something better than that, i definitly want to try it, tell me the bootloader name for the mentioned purpose).

What i want is, i want to avoid Loading my CD/DVD everytime i have to re-install Windows XP. For example, either
1. Windows Boot loader gets corrupt, or
2. Both Boot loader and Windows XP is corrupted.


I can boot from anything(windows / Linux) and then jump onto "Recovery Partition", to repair Windows Bootloader. And henceforth re-install windows XP, withought installer files.

It will be better, if on the hidden partition, i dont create any image, and put raw files/directory (i386) onto it.

QUOTE
I Know what you want iv'e been using Acronis Trueimage for a few years now and it is easy to use unlike what Oleg_II posted even though he is trying to help I think acronis is your best Bet considering i posted details about free version,
as reguard to F11 this appears once you have activated the secure zone which stores an image of your System partition it has nothing to do with the bios boot menu it comes up after the bios screen then you would press F11 it will bring up a menu asking do youwhat you want to restore also you can make a bootable recovery cd,
which you can boot with to give you access to the hidden partition i,e, secure zone then you can restore your system drive from the image file in the secure zone.


At least download free version while it lasts and give it a shot all other programs will cost you and may not suit you, ive uploaded trueimage7 pdf file so you can have a look and see how it works.

TrueImage7.pdf
Oleg_II
OK! Maybe it's a bit difficult to make a "rip" of a program cool.gif

If you want an easy solution:

1. Install Symantec DeployCenter on your computer (full package is about 40MB).
2. There will be TaskBuilder in DeployCenter menu. Run it, it is a GUI, no super brain is needed newwink.gif
3. Create a task to reboot in DOS version. There is a Wizard in a couple of steps, it's simple like formating a floppy.

It should appear like a shortcut or something in the menu. Run this task when you want to save or restore.
With TaskBuilder you can creat restore automatically task without learning script language too.

I can't find anything easier smile.gif

By the way if you install full package you also get the Image Explore utility - you can use it to see inside the created images like they are on CD disks and can extract any file or folder from them like copying from CD.

Symantec DeployCenter 5.6 User Guide in PDF format

PS I agree that it will cost you some money. I think this piece of software is worth every penny you pay for it. No affilation with Symantec, just happy user since it was PowerQuest product like PartitionMagic.
Oleg_II
By the way I remember that some manufacturers create two primary partitions. One is used for installing the system. And the other is used like system recovery partition - that is what you are talking about smile.gif

This recovery partition is need to be a primary partition, it is usually in FAT or maybe FAT32 and is hidden. There are also DOS version of Ghost or similar software on this partition (mostly Ghost). When booting and before OS loads you see something like "If you want to restore press....". I don't know how they add this line of words. I added this once in BOOT.INI with a small utility BootPart for NT. It gave me a choice to boot the system and to boot into recovery process. It worked the same way for me.

But then I found VFE newwink.gif
worldy
QUOTE (Oleg_II @ Oct 12 2006, 12:12 PM) *
By the way I remember that some manufacturers create two primary partitions. One is used for installing the system. And the other is used like system recovery partition - that is what you are talking about smile.gif

This recovery partition is need to be a primary partition, it is usually in FAT or maybe FAT32 and is hidden. There are also DOS version of Ghost or similar software on this partition (mostly Ghost). When booting and before OS loads you see something like "If you want to restore press....". I don't know how they add this line of words. I added this once in BOOT.INI with a small utility BootPart for NT. It gave me a choice to boot the system and to boot into recovery process. It worked the same way for me.

But then I found VFE newwink.gif

Thanx a lot friends, for the advice.
cool oleg, u got me right. I think symantec/VFE solution will work perfect, but think it will create mess (shortcuts and junk files on user system). I need the solution which u talked about (2 partitions). Now how do i go about it? AFAIK, A system cannot have 2 primary partitions! It just has 1 primary, and other logical(s) in extended partitions.
But yes, i want the solution which u talked about:
User will be given option to restore the OS (and he need t press any key to proceed..), else normal OS will start upon. Its similiar to one key reocovery solution as made available on Laptops.

I m still stuck upon, but no with a "defined" problem.
thumbup.gif to oleg_II
Oleg_II
NT systems can have up to 4 primary partitions if I'm not mistaken.

I don't remember exact steps with two partitions and it was not so easy. My method was a bit complicated too. In general:

1. Creat two primary partitions and as much logical as you want. One primary partition should be formated in say FAT32.

2. Make this FAT32 partition a system one (it can be donw with a DOS floppy).

3. Place DOS versions of DeployCenter/Ghost files on this partition.

4. Install NT OS on other primary partition.

5. Use BootPart from the link above to make a choice between NT and DOS during bootup.

6. Edit BOOT.INI so that PQImgCtr.exe/Ghost.exe run during DOS partition boot.

7. Make DOS partition invisible with a REG tweak (I don't remember if I made DOS partition hidden at all but it was inisible when in Windows).

I think you'd better look around for a ready solution. Don't remember names, something like RestoreIt, GoBack and so on. Most of them used Ghost images as restoring solution.
But be worned that they all will write themselves in your MBR if you want recovery partion is really hidden and they start from it.
Oleg_II
There is a simpler solutions with VFE but you will need 4 files in one folder, one file on C:\, adding one line in BOOT.INI.

1. Get bootable floppy disk with DeployCenter (install the package on virtual computer first to get it) and make the image from this floppy called pqvf.vfd. There are two disks but it's easy to merge them in one 2.8MB image and a little correction of BAT files is needed. For your convinience the package includes an old version of WinImage for editing floppy image files.

2. Create BOOT folder say in %PROGRAMFILES% and place these files in it: vfinstnt.exe, vfloppy.sys, flppyld.sys and pqvf.vfd.

3. Edit your BOOT.INI: under [boot loader] make timeout=3, and under [operating systems] add this line
QUOTE
C:\vfd.bin="Restore system" /vfd
It will give you 3 seconds to choose loading the system or boot into recovery process.

You miss one thing - VFD.BIN. This is MBR backup from the computer ready to start recovery process.
In order to get it use the utility that can make such backups in Windows (look for MBRWizard for example, there is GUI for it too), then run VFINSTNT.EXE with switch /NRB - it saves your good MBR in a file, writes new MBR but doesn't reboot. Now it's time to make the backup of this new MBR and save it like VFD.BIN on C:\ (I recommend making it a hidden system file through Property menu).

Note: after you run VFINSTNT.EXE /NRB next time you computer will boot into recovery process. Just exit from it and it reboots into Windows. That will be only once.

If you want you can make a simple installer with WinRar that will place all files in their locations.

You can make ANY logical partition with ANY file system (FAT or NTFS) hidden to place your backup image.

If you make all this I can help you to write simple scripts to restore backuped system automatically.
urie
No need for floppy disks virtual computers editing boot.ini e.c.t just install Trueimage then run it it will make a hidden partiton and make an image there actvate recovery manager thats it when your computer boots you can press F11 and restore it . You can make a bootable recovery cd also in case you cant boot from C:.

worldy is looking for a simple sloution.
Oleg_II
Sorry but I introduced a simple solution too: install DeployCenter -
QUOTE
No need for floppy disks virtual computers editing boot.ini e.c.t just install...
Just have a look at previous postings newwink.gif

He doesn't want to install anything on system partition in fact if you carefully look at his postings. So what's the difference - install TrueImage, RestoreIt, Norton Ghost or DeployCenter? I suggested a solution without installing anything just placing 5 files on hard disk and adding one line in BOOT.INI (adding total 2.82MB to the installation).
What will be your suggestions?
jaclaz
Just for the record:
1) There is no difference between NT based systems and other systems (apart the BSD type of slicing and Mac OS partitioning) the limit is 4 Partition ENTRIES in the MBR, these can be all primary or as much as three primary ones and one Extended one (in which you can make Logical Volumes)
2) The topic has been discussed many times already, if you search the board for topics with keyword "hidden partition" you will find some ideas and links to alternate programs/ways, also check these:
http://www.911cd.net/forums//index.php?showtopic=18480
http://www.911cd.net/forums//index.php?showtopic=12447
3) please note that there is a newish version (2.60) of bootpart on it's original page:
http://www.winimage.com/bootpart.htm



jaclaz
Oleg_II
jaclaz
Interesting reading. But it's not easier than using VFE newwink.gif
jaclaz
QUOTE (Oleg_II @ Oct 13 2006, 12:07 PM) *
jaclaz
Interesting reading. But it's not easier than using VFE newwink.gif


Well, no, the idea is similar, the difference is that you can make everything with freeware or Open Source Software.

jaclaz
Oleg_II
Confused wacko.gif Both link are about using Ghost and it's not freeware or Open Source Software?

There is a need to have a separate primary DOS partition too.

No need for it using VFE - any partiton type, any file system can be used as a recovery place. No need for third party boot managers - using NT boot menu is enough (and still can use boot managers too).

I'm interested in free application of this kind but I don't know any sad.gif

Have not heard about free software that at least can save NTFS partition images with high compression and restore images to choosen destinations automatically with a script. I guess there should be some in Linux world but I have not found yet.
jaclaz
What I use is Grub4dos as a boot manager, chainloaded by the normal NTLDR:
http://grub4dos.jot.com/WikiHome
this avoids the need of
QUOTE
There is a need to have a separate primary DOS partition too.

as it can boot an image file, but you can use a one-sector-only replacement MBR, like PARTITA:
http://www.pedrofreire.com/crea1_en.htm
or the newly revamped OS-BS, now renamed mbldr and Open Source:
http://sourceforge.net/project/showfiles.php?group_id=162108

About freeware alternatives to Ghost, in my view, best options are:
Win32
SelfImage
http://selfimage.excelcia.org/
site is down at this moment, get it from here:
http://icculus.org/homepages/kfitzner/selfimage/
http://icculus.org/homepages/kfitzner/self...lfImage-111.zip

DriveimageXL
http://www.runtime.org/dixml.htm

Linux
PARTIMAGE
http://www.partimage.org/Main_Page
Support for NTFS is still tagged as "experimental", but I never had a problem with it.

both following mini-distros use PARTIMAGE as the main tool:
SystemRescueCD
http://www.sysresccd.org/Main_Page

PING
http://ping.windowsdream.com/

However you hit the nail right on the head, it appears that all freeware apps are slower than Ghost:
http://www.911cd.net/forums//index.php?showtopic=16534
though things have bettered, but of course if your time is precious, I guess you can pay for the Ghost license.


jaclaz
jim0615
Heres an idea, how about just a simple script to create the second partition when windows finishes. Then you use a boot manager that allows access with a hot key during bootup. Then have a copy of WinPE on the second partition run a reimaging script.
Oleg_II
jaclaz thumbup.gif
Thanx! That is very interesting info.

I have not visited all links but Grub4dos seems to do the same thing as I suggested with VFE at boot time: chainloading by the normal NTLDR.

But I have one more method of running VFE newwink.gif
Well, it's probably covered by replacement MBR utilities - when running under Windows VFE tmporary replaces normal MBR with its own. I won't describe one more method using this as it'll be a bit difficult too smile.gif

I agree that free software is good and I like using it (and using it a lot). Unfortunatelly I have not found the right utility for this purpose.

Frankly speaking I don't like Ghost either no.gif
But I like DeployCenter (it was called DriveImage and ImageCenter too) yes.gif
Oleg_II
Maybe I understand it wrongly but Grub4dos can't work on NTFS partitions? Or have some bugs? I read on Chinese blog that NTFS support is going to be dropped because of bugs.

Replacement MBR utilities work one way - they replace MBR once and forewer and are just boot managers. They also can't be used to run image or an EXE on NTFS file system too.

Info from 911cd Forum is very interesting. Maybe usefull for me. The only issue that most programs there are Win32 and how to use them if there is no ready LiveCD nearby?

Unfortuanatelly I can't open some links but I'll definitelly do.
jaclaz
QUOTE (Oleg_II)
Maybe I understand it wrongly but Grub4dos can't work on NTFS partitions? Or have some bugs? I read on Chinese blog that NTFS support is going to be dropped because of bugs.

At the moment, Grub4Dos does work on NTFS, it seems like that tests with Vista NTFS formatted partitions has led to finding some problems, so it has been suggested to NOT use Grub4Dos on NTFS partitions.
The dropping of NTFS support is planned, but not yet implemented, if in the meantime either MS releases some details of NTFS or independent projects like ReactOS will make progresses it is very possible that NTFS support won't be dropped.
However, since something like 12 years, I personally follow the GOOD advice from Gilles Vollant (the authour of Winimage and of BOOTPART) of always having a smallish First Active Primary Partition FAT16 and install NT based system on a Logical Volume inside Extended Partition, and this has saved my data more than once, as it makes MUCH easier to fix the boot "part" (pardon me the pun) when a problem arises. Moreover, as I continue telling everyone (mostly unlistened to newwink.gif ) having the system and data on a Logical Volume is safer if a "dumb" virus strikes, see here:
http://www.msfn.org/board/index.php?showtopic=22526
http://www.msfn.org/board/index.php?showtopic=33964

QUOTE (Oleg_II)
Replacement MBR utilities work one way - they replace MBR once and forewer and are just boot managers. They also can't be used to run image or an EXE on NTFS file system too.

Yes, correct, but you can use grldr.mbr instead of the ones I suggested.
The "problem" with grldr.mbr is that it is 6,144 bytes long, so it occupies apart from the MBR sector, also the following 11 "hidden" sectors, this makes it incompatible with a certain number of Commercial utilities that WITHOUT ACTUALLY TELLING YOU use these sectors for storing some data, if I recall correctly, Partition Magic and Acronis are two commonly used ones that have this behaviour.
The two bootmanagers I suggested, besides being Freeware, are contained in MBR 512 bytes.

@jim0615
Yep, that's actuallly the idea behind the WHOLE thread.
For the record, if you want to read the little experiments I did with the help of sisal, starting from here:
http://www.911cd.net/forums//index.php?sho...4181&st=603
You'll find an almost complete solution, that of course needs to be custom adapted to your particular setup.

jaclaz
jim0615
QUOTE (jaclaz @ Oct 15 2006, 12:34 PM) *
At the moment, Grub4Dos does work on NTFS, it seems like that tests with Vista NTFS formatted partitions has led to finding some problems, so it has been suggested to NOT use Grub4Dos on NTFS partitions.
The dropping of NTFS support is planned, but not yet implemented, if in the meantime either MS releases some details of NTFS or independent projects like ReactOS will make progresses it is very possible that NTFS support won't be dropped.
However, since something like 12 years, I personally follow the GOOD advice from Gilles Vollant (the authour of Winimage and of BOOTPART) of always having a smallish First Active Primary Partition FAT16 and install NT based system on a Logical Volume inside Extended Partition, and this has saved my data more than once, as it makes MUCH easier to fix the boot "part" (pardon me the pun) when a problem arises. Moreover, as I continue telling everyone (mostly unlistened to newwink.gif ) having the system and data on a Logical Volume is safer if a "dumb" virus strikes, see here:
http://www.msfn.org/board/index.php?showtopic=22526
http://www.msfn.org/board/index.php?showtopic=33964


What about using a linux boot manager and have the rescue partition on a linux fs so that a virus can't corrupt/infect it. Also use an sd card to hold the partition with the MBR since they have a write protect switch.
Just my random thoughts.

http://www.addonics.com/products/flash_mem...r/adebidecf.asp
Oleg_II
Not argueing, just my opinion.

I have a few partitions: one primary with my system and three logical on extended partition. My system and my data are on different partions. And I don't care about losing system as soon as I can restore it with nearly all programs and settings from a prepared image in 5 minutes or install it again with Unattended in only 30 minutes newwink.gif

In fact I often restore the system partition from "ideal" image on purpose just to be sure there is no viruses and broken things on my system. As I said it takes only 5 minutes with DeployCenter from clicking on the shortcut in Start menu to reloading in restored Windows. It doesn't hurt because all personal data and even most program settings are on the other partition. Nothing changes, only the system is renewed/revived again.

(I don't even install antivirus software because of this but it's my personal opinion too.)

And of course I make regular backups of my sensitive data to CD or CD-RW using DeployCenter too: I make the image of the entire second partition with all my documents and photoes directly to CD. It takes a bit longer with high compression and image verification options enabled but not more then 15 minutes for 2Gb of data (documents, photoes, archieves).

I don't use Windows versions of DeployCenter and PartitionMagic (and I rarelly use PM at all). Both create boot floppy disks that can be used in VFE or from multiboot CD. So there is no MBR changes I'm not aware of. I admit that VFE change my MBR but only when I run it and this is a temporary change because it backups MBR before running and restores from backup after running (you can watch it yourself). And VFE is not installed in the system - no settings in Registry, no files in system folders, only a few files are placed anywhere on hard drive and a shortcut in the menu.

PS I aslo have a few different images with different Windows: Windows 98SE, Windows 2000 Professional "standard" (with IE and stuff) and W2k HFSLIPed and reduced. Not more then 5 minutes, no phisical boot disks involved and I'm in the OS of my choice newwink.gif

Well, a boot disk image with imaging software is involved in fact rolleyes.gif
And I forgot to mention that I use NTFS on all partitions as this file system is stable and reliable in my opinion.
worldy
Thanx a lot thumbup.gif
Well i am going towards ghost and manual customisation (getting my hand dirty) towards System recovery, i will be using ghost (I am not sure), will be adding a Function key towards that for recovery console. This is going to be done on a fresh / running Windows XP system.
Next phase will be to create, ISO image of Windows XP installation, which automatically runs off the CD/DVD and install Both Windows Xp and the recovery system( this way i dont have to create recovery system every time after windows installation on a new system).

p.s.: If some one has already done so, or is in knowledge of links and how-to's, please guide to wards that for a quickie. Thanx

Thanx a lot Oleg_II and other folks.

QUOTE (Oleg_II @ Oct 15 2006, 01:59 PM) *
Not argueing, just my opinion.

I have a few partitions: one primary with my system and three logical on extended partition. My system and my data are on different partions. And I don't care about losing system as soon as I can restore it with nearly all programs and settings from a prepared image in 5 minutes or install it again with Unattended in only 30 minutes newwink.gif

In fact I often restore the system partition from "ideal" image on purpose just to be sure there is no viruses and broken things on my system. As I said it takes only 5 minutes with DeployCenter from clicking on the shortcut in Start menu to reloading in restored Windows. It doesn't hurt because all personal data and even most program settings are on the other partition. Nothing changes, only the system is renewed/revived again.

(I don't even install antivirus software because of this but it's my personal opinion too.)

And of course I make regular backups of my sensitive data to CD or CD-RW using DeployCenter too: I make the image of the entire second partition with all my documents and photoes directly to CD. It takes a bit longer with high compression and image verification options enabled but not more then 15 minutes for 2Gb of data (documents, photoes, archieves).

I don't use Windows versions of DeployCenter and PartitionMagic (and I rarelly use PM at all). Both create boot floppy disks that can be used in VFE or from multiboot CD. So there is no MBR changes I'm not aware of. I admit that VFE change my MBR but only when I run it and this is a temporary change because it backups MBR before running and restores from backup after running (you can watch it yourself). And VFE is not installed in the system - no settings in Registry, no files in system folders, only a few files are placed anywhere on hard drive and a shortcut in the menu.

PS I aslo have a few different images with different Windows: Windows 98SE, Windows 2000 Professional "standard" (with IE and stuff) and W2k HFSLIPed and reduced. Not more then 5 minutes, no phisical boot disks involved and I'm in the OS of my choice newwink.gif

Well, a boot disk image with imaging software is involved in fact rolleyes.gif
And I forgot to mention that I use NTFS on all partitions as this file system is stable and reliable in my opinion.


Cool info about system revival, hey tell me, what all make u do so? how come u did this?

But i am discussing about System re-installation, when even Windows dont even boo up, then how come will i get to those programs in "Start Menu"? That is why i am opting for automatic system recovery, (In the start, through some function key and all).
jaclaz
QUOTE
What about using a linux boot manager and have the rescue partition on a linux fs so that a virus can't corrupt/infect it.
I think you got this wrong, if I were a virus and wanted to destroy data on your disk I wouldn't care being able to READ actual data (i.e. no need to have a filesystem driver), I would just write "random" values to your hard disk through RAW write access.

QUOTE
Also use an sd card to hold the partition with the MBR since they have a write protect switch.


Yes, this is done in a number of embedded systems, nice idea smile.gif ,but probably won't work with Win2k/XP, as they usually need Write access to the MBR, but I am not really sure about this blink.gif , maybe they need this only during installation to write, besides MBR code, the Disk Signature.

The idea of having "expendable" data in the first 1 or 2 Gbyte helps also because it takes time to wipe or write values to a hard disk and there is a possibility of "pulling the plug"....

jaclaz
Oleg_II
worldy welcome.gif

1. I'd recommend DeployCenter over Ghost (I like it pursonally and the instructions for running from Windows is for DeployCenter, it will be different for Ghost). But in DOS booting functionality is nearly the same. You choose.

2. For the purposes you specified it's better to use something like WinPE, BartPE, WinBuilder - there is a separate Forum for that. And there are instructions how to automate all operations you asked for: partitioning and installing Windows from these boot CD (that includes installing recovery partion too).

As for using DeployCenter for this purpose (partitioning and formatting) I can give you these two tips:

Tip 1:
You can make simple customized script that partitions a new hard drive into one primary partiton and one extended with a few logical on it. It's complitelly automatic. Remember I said that DeployCenter has some functionality of PartitionMagic? But I'm not sure Ghost can do this.

Tip 2:
- first make three partitions of needed size with needed formatting and file systems on a hard disk;
- make ONE! image of ALL THREE just made partitions to CD with imaging software like DeployCenter or Ghost with high compression;
- when you buy a new disk (doesn't metter how big it is) just restore your empty partitions image on it - it will take seconds and then you'll get three partitions already formatted and ready to go and probably some undefined space on hard disk that you will aquire later from installed Windows.

3. I can run recovery process not only ckicking the shortcut in Start menu but choosing in booting menu. If Windows doesn't boot it will probably at least show booting menu and you can run recovering operations from it choosing "Recover my System" item (remember my instructions about editing BOOT.INI and saving MBR in a file on system disk?).
Or you will have to boot from a rescue floppy disk or CD that is better to prepare in advance with your imaging software on it.
Innocent Devil
So inorder to have a recovery partition, i hav to reserve one of the precious 4 primary partitions ???

i usually install/ reinstall OSes randomly and more than 3 oses (XP, Vista, Linux, Mac OS X)

So i need 3 primary partitions (the rest one is for extended)
means i cant create a rescue partition ???
Oleg_II
Innocent Devil
Well, yes. At least you need some place to save your images.
But if you use the method I described with Virtual Floppy Evironment you don't need a primary partion, you can save your images on any partition within extended one.
And if you use it on your own computer like I do you don't even need to make this partion hidden. Just create a folder say "Restore" for images and use the rest of the place as you wish smile.gif
jaclaz
QUOTE (Innocent Devil)
So i need 3 primary partitions (the rest one is for extended)
means i cant create a rescue partition ???


Please note that, PROVIDED you are willing to have a SMALL FAT16 partition you can have:
1) DOS 6.22 installed in that Primary partition
2) Windows 95/98/ME installed in a logical volume inside extended partition (YES, it can be done, it's a bit tricky, but it can be done)
3) ANY number of NT based OS, NT/2K/XP/2003 (installing in not primary partition is possible and easy)
4) ANY number of Linux based OS (installing in not primary partitionis is default)
5) BeOS on another primary partition
6) You still have a "spare" Entry in partition table.

If you don't need/want Dos 6.22 the "small" Priamry partition can be FAT32.

The above can be done with a simple bootmanager, like the standard NTLDR, or Grub4DOS that has more features.

Cannot say about MacOS X, but since it is Linux/Unix based it should be possible also.

jaclaz
worldy
QUOTE (jaclaz @ Oct 17 2006, 09:27 AM) *
......The above can be done with a simple bootmanager, like the standard NTLDR, or Grub4DOS that has more features.
...


how to do with ntLdr?

QUOTE (Oleg_II @ Oct 16 2006, 12:45 PM) *
worldy welcome.gif
....
3. I can run recovery process not only ckicking the shortcut in Start menu but choosing in booting menu. If Windows doesn't boot it will probably at least show booting menu and you can run recovering operations from it choosing "Recover my System" item (remember my instructions about editing BOOT.INI and saving MBR in a file on system disk?. )
......


First Bold: No, it wont, thats for sure, if windows cant boot (because ntldr is missing or boot.ini is corrupted, you NEED to have Windows XP recovery cd to give command for repairing MBR, the command is "fixmbr ", which repair MBR.

Second Bold: yes, ican edit boot.ini with ease, what all files i need to do this (complete file listing please, i will download them myself), if possible can give links for downloading.

Second thing, how can i save MBR in a file? and a small question (out of context), can i make another partition bootable (whether primary or extended)?
jaclaz
QUOTE (worldy)
how to do with ntLdr?

You simply install NT/2K/XP/2003 in the Logical Volume inside the extended partition, the arcpath in boot.ini will already be correct, otherwise you can easily fix it manually, read here:
http://www.msfn.org/board/index.php?showtopic=43610
http://www.msfn.org/board/index.php?showtopic=68193
http://www.msfn.org/board/index.php?showtopic=33030
and given links.

QUOTE (worldy)
No, it wont, thats for sure, if windows cant boot (because ntldr is missing or boot.ini is corrupted, you NEED to have Windows XP recovery cd to give command for repairing MBR, the command is "fixmbr ", which repair MBR.

But you can always boot the system with a boot floppy and fix the MBR from within the booted windows install.
One of the posts above referenced has a link on how to make a boot floppy to start a NT/2K/XP/2003 system with corrupted boo.ini/NTLDR/NTDETECT.COM.

QUOTE (worldy)
Second thing, how can i save MBR in a file?

There are several programs, freeware, for DOS and for Win32, the one I use is DSFI/DSFO part of the DSFOK package:
http://members.ozemail.com.au/~nulifetv/freezip/freeware/
that has the options to do more than just the MBR, but MBRFIX, see links on my page:
http://home.graffiti.net/jaclaz:graffiti.net/
or Roger Layton's MBRWizard will do as well:
http://mbrwizard.tripod.com/

QUOTE (worldy)
can i make another partition bootable (whether primary or extended)?

About Primary partitions, YES, you just set it as Active (checking that there is no other Active partition), i.e. you write hex value 80 in the proper location of the partition table, this can be done with any hex editor or with specialized programs.
The one I use under Win32 is Beeblebrox:
http://students.cs.byu.edu/~codyb/

About Logical Volumes inside Extended partition, THE "EXTENDED" PARTITION IS NOT A PARTITION, it is a "CONTAINER" for one or more Logical Volumes, see this:
http://www.ranish.com/part/primer.htm

The short answer is NO, but the long one newwink.gif is YES, but you need to manually arrange some parameters with a Hex editor, read this:
http://www.goodells.net/multiboot/
or use a Grub4Dos:
http://www.911cd.net/forums//index.php?sho...c=17144&hl=
(search on 911cd board for "Grub4dos", you will find many useful hints and tips)

jaclaz
Oleg_II
worldy
You are right: if NTLDR is missing you won't have booting choice. If you don't want to depend on NTLDR you will need to learn about boot managers and use them. I don't like them so in this situation I'll load from recovery CD or a DOS floppy and either fix or just restore the partition.
That's the limitation. But using boot managers that write into MBR also won't guarantee against corruption (and may cause other difficulties in future too). That is probably the reason why laptop manufactorers not only install recovery partition but provide a set of recovery CD.

Minimum set of files you need to use this method:

- pqvf.vfd - a floppy disk image with DeployCenter (could be 1.4 or 2.8MB image), created when installing DeployCenter on Windows (it's basically a DOS disk with DeployCenter executable and a couple of helpers);
- VFINSTNT.EXE - VBE Installer for Windows NT/2000 (inside installation folder).
- VFLOPPY.SYS - VBE First phase loader (inside installation folder).
- VFLPPYLD.SYS - VBE Second phase loader and disk I/O redirector (inside installation folder).

All four files go in one folder anywhere on your computer (I place it in %PROGRAMFILES%). That's for running from Windows.
You also need a special MBR copy and edit BOOT.INI as I described before if you want to use the menu during startup.
Use pqvf.vfd as a boot image also to create your recovery CD.
Download DeployToolkit_manual.pdf for instructions and samples of scripts if you want to automate restoration progress ("press one button and completely restore" solution).

For copying MBR I use the same tools as jaclaz posted: MBRFIX and MBRWizard (there is a Windows GUI working for booth tools at the same time, don't remember where I got it but I see a lot of links with jaclaz's name about some GUI newwink.gif

Loading from boot floppy or CD with DeployCenter you can make bootable other primary partition.
That is why I like this program - it can help in different situations smile.gif


PS There is one way not to depend on NTLDR but your computer will boot twice before you enter the system. The solution is not too elegant but anyway: place a CMD file into "All Users\Start Menu\Programs\Startup" that will instruct VFINSTNT.EXE to run without immediate reboot (run recovery process next boot). This file will be executed each time you enter the system and each time you boot you will boot into recovery process image first, cancell it and reboot into system.
jim0615
QUOTE (jaclaz @ Oct 16 2006, 02:31 PM) *
QUOTE

What about using a linux boot manager and have the rescue partition on a linux fs so that a virus can't corrupt/infect it.


I think you got this wrong, if I were a virus and wanted to destroy data on your disk I wouldn't care being able to READ actual data (i.e. no need to have a filesystem driver), I would just write "random" values to your hard disk through RAW write access.

jaclaz


Most viruses today do not destroy your data but rather take over your pc to use it to send spam or otherwise make the author some money.
ozone_pilot
QUOTE (urie @ Oct 12 2006, 06:23 AM) *
QUOTE
You can use Acronis Trueimage it will make a hidden partiton and you can access it by pressing F11 at boot to recover any selected partiton, also acronis is giving away Trueimage 7 for free i know its older version but it works


QUOTE
Register now and receive Acronis True Image 7.0 for Free!
CODE
http://www.acronis.com/mag/vnu-ati7

QUOTE
Filling in the form will get you an e-mail with a link to a page with your account password to the site. Going to the link will get you a serial number via e-mail. You can then log-in to your account and download the software.




uh, it's only crippled 15 day trial software
tguy
I like the idea of creating and hiding a partition to copy the recovery image to and then using something like WinPE to do the recovery however a couple of things come to mind:

1) Not everyone has access to WinPE
2) Using a F(x) hotkey is something that is programmed into the BIOS of a computer chip so unless the functionality is already included this scenario needs to be modified a little bit to include the use of a boot partition manager to access the recovery partition.
jaclaz
QUOTE (tguy @ May 12 2008, 05:57 PM) *
I like the idea of creating and hiding a partition to copy the recovery image to and then using something like WinPE to do the recovery however a couple of things come to mind:

1) Not everyone has access to WinPE
2) Using a F(x) hotkey is something that is programmed into the BIOS of a computer chip so unless the functionality is already included this scenario needs to be modified a little bit to include the use of a boot partition manager to access the recovery partition.


Well, WinPE 2.0 is available to everyone, and there is still BartPE or Winbuilder.

FYI, there is a IBM suitable bootmanager that has been referenced here:
http://www.911cd.net/forums//index.php?showtopic=18480

And grub4dos allows for using in grldr.mbr a "hot key", F10 should work everywhere, whilst F11 and F12 might not work on some systems, depeding on it's BIOS.

jaclaz
devil270975
try here

http://www.msfn.org/board/Install-from-Sec...830#entry761830

Lee.
Oleg_II
I don't use hot keys but Grub4DOS menu ;0

As for recovery partition I prefer hidden system folder and give system rights to backup images so that a user can't delete them even he finds this hidden folder smile.gif
fly
If the machine is a Dell, you can use the Dell utility partition to do this, then you just have to press F12 and select it... (I breezed through this thread, sorry if it was mentioned)
jaclaz
QUOTE (fly @ May 14 2008, 05:45 PM) *
If the machine is a Dell, you can use the Dell utility partition to do this, then you just have to press F12 and select it... (I breezed through this thread, sorry if it was mentioned)


Yep smile.gif, but that is a "peculiarity" of DELL Bioses, the idea of the thread was to use the MBR or a bootloader/bootmanager (independently from any BIOS make/brand/code).

More (GOOD) info on the DELL partition utility is here:
http://www.goodells.net/dellutility/index.htm

The BIOS has code that "intercept" the F12 and "recognizes" setting it active, the "DE" partition.

jaclaz
fly
QUOTE (jaclaz @ May 14 2008, 10:59 AM) *
QUOTE (fly @ May 14 2008, 05:45 PM) *
If the machine is a Dell, you can use the Dell utility partition to do this, then you just have to press F12 and select it... (I breezed through this thread, sorry if it was mentioned)


Yep smile.gif, but that is a "peculiarity" of DELL Bioses, the idea of the thread was to use the MBR or a bootloader/bootmanager (independently from any BIOS make/brand/code).

More (GOOD) info on the DELL partition utility is here:
http://www.goodells.net/dellutility/index.htm

The BIOS has code that "intercept" the F12 and "recognizes" setting it active, the "DE" partition.

jaclaz

Yeah, I used just that site to learn how to setup a Dell utility partition to boot and reinstall an OS. I'll save all that for another thread tho...
jaclaz
Similar thread updated with new info:
Newish option, Terabyte MBR Utility can istall MBR's that allow for pressing a Fn key to select a "recovery" partition:
http://www.msfn.org/board/Create-My-Own-Re....html&st=26

jaclaz




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.