Jump to content

System recovery partition


Recommended Posts

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

Link to comment
Share on other sites


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

...

how to do with ntLdr?

worldy :hello:

....

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)?

Link to comment
Share on other sites

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.

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.

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/

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 ;) 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

Link to comment
Share on other sites

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 ;)

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 :)

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.

Edited by Oleg_II
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Register now and receive Acronis True Image 7.0 for Free!
http://www.acronis.com/mag/vnu-ati7

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

Link to comment
Share on other sites

  • 1 year later...

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 :), 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

Link to comment
Share on other sites

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 :), 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...

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...