Jump to content

Partition to reimage Windows


enternaL

Recommended Posts

I've been trying to create a DOS partition and add it to the multiboot options. The DOS partition is being used for the autoexec.bat that will run ghost.exe with switches to reimage Windows XP automatically. I've been playing around with different routes to achieve this with no complete success. The last attempt, I was using bootpart (www.winimage.com/bootpart.htm), but still nothing.

This is similar idea to DELL's recovery partition, I guess.

Does anyone know of anyway to do this without installing third party software?

Thanks

Link to comment
Share on other sites


Sorry, I don't get it:

if you want to create a "recovery" partition on a HARD DRIVE, you should use a program like Ranish's Partition Manager, http://www.ranish.com/part/

if you want to create a bootable CD option, you can make an Image of a bootable FLOPPY with autoexec.bat and ghost.exe or whatever, and add it to whatever bootcd menu you use.

BOOTPART is a program that helps in the creating/modifying of boot.ini, and optionally can create bootsectors for various OS's, it does nothing to PARTITIONS.

Please post again explaining better what you want to achieve.

jaclaz

Link to comment
Share on other sites

I want the multiboot option screen to look like this:

Windows XP Professional

Reimage Drive

Where Reimage Drive runs a Ghost executable and image located on another partition as Windows. This computer will not have CDROM/DVD or floppy drives. I'm having trouble getting the "Ghost" partition to boot up. This needs to be done without installing a third-party boot manager.

I'll try the program you've gave when I get home.

Thanks

Link to comment
Share on other sites

I see,

the problem it's this, as you don't want ANY 3rd party bootmanager,

the partition can be seen by "NORMAL" Windows XP:

a DOS parttition, to be bootable, MUST be :

A) ACTIVE

B) the 1st partition on the 1st hard drive

So you can partition your drive with a small PRYMARY FAT16 partition and one (or more) huge partitions (either FAT32 or NTFS), which actually is the way that Gilles Vollant, author of bootpart, recommends and that I have used for years without any trouble:

"C :" FAT 16 PRIMARY on which resides:

MSDOS.SYS

IO.SYS

COMMAND.COM

BOOT.INI

NTLDR

NTDETECT.COM

Autoexec.bat

config.sys

Ghost.exe

...all other imaging/rescue programs, including BOOTPART

boot.ini has two entries:

C:\BOOTSECT.DOS="Reimage Drive"

multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows XP Professional" [followed by any switch you might use]

Rest of the disk is a big EXTENDED parttion in which you have at least one FAT32/NTFS partition

"D :"

to which you install Windows XP

2) If you want a REAL recovery partition, i.e. that is normally HIDDEN, you need to find a way to HIDE/UNHIDE it at will, which means that you need a 3rd party bootmanager.

I do recommend you XOSL, which you can find on Ranish's page and that is:

-FREEWARE

-GRAPHICAL

-PASSWORD PROTECTED if needed

jaclaz

Link to comment
Share on other sites

yep,

but you see, the problem is that you CANNOT run gdisk from within XP, so you can boot to the DOS partition, hide or unhide it, but next time you boot, if you have hidden it, you cannot SEE it! and if you setup the system as depicted above you won't even get to boot.ini, because it would reside on a hidden partition!

That's why you need a bootmanager that can hide/unhide partitions BEFORE any Operating System is loaded.

jaclaz

Link to comment
Share on other sites

  • 2 years later...
well here's something that you can try. This is how i restored the functionality of my dell restore partition (most of the files can be found on google by their name):

have a different partition (for backup) and install dos on it.

config.sys
================
[menu]
menuitem=DOS, Start DOS with CD-ROM support.
menuitem=GHOST, Start OS Restoration (!!!This will wipe off the OS!!!)
menudefault=DOS,30
menucolor=7,0

[DOS]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001

[GHOST]
device=himem.sys /testmem:off

[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z
==================================



AUTOEXEC.BAT
==================================
@ECHO OFF

IF "%config%"=="GHOST" GOTO GHOST
IF "%config%"=="DOS" GOTO DOS

:GHOST
LH C:\MSCDEX.EXE /D:mscd001
SET DIRCMD=/og /a /p
SET PATH=C:\
cls
echo Final confirmation.
Echo !!!Point of no return!!!
Echo Do you want to wipe off your current Operating System and restore the factory default Operating System?"
Echo Ctrl + C to quit now.
PAUSE
C:\MOUSE.COM
C:\SMARTDRV.EXE
C:\GHOST.EXE
Echo the above line should have the complete ghost commandline to restore the partition from the image file
Echo example (without quotes) "ghost.exe -clone,mode=prestore,src=c:\img\FI.GHO:1,dst=1:2 -batch -sure -quiet"
ECHO THAT WAS GHOST!!!
ECHO Rebooting...
PAUSE
C:\DELLBOOT.EXE
rem dellboot is to restart the machine.
GOTO QUIT

:DOS
C:\MOUSE.COM
LH C:\MSCDEX.EXE /D:mscd001
SET DIRCMD=/og /a /p
SET PATH=C:\
C:\SMARTDRV.EXE
ECHO THIS IS DOS.

:QUIT
==========================================

pls confirm if this works. i've got them working here [url="http://varun21.googlepages.com/dellPartitions.zip"]http://varun21.googlepages.com/dellPartitions.zip[/url]

Regards
Shivanand Sharma
Link to comment
Share on other sites

  • 1 month later...

Hi,

To EternaL... this might be "overkill", but what I've done is to create a dual boot with Win98/WinXP. On the Win98 partition I have a folder for the DOS version of Ghost, with mouse support. I have the boot menu to load either 98 or XP, and then the boot menu for 98, which allows you to work from the command prompt etc.

So far, if I've made a back up copy of the essential boot files for XP (boot.ini - bootsect.dos - ntdetect.com - ntldr) just in case, I've been able to re-ghost either 98 or XP independently of each other with near 100% success.

I've gone for the dual boot with 98 because, it still has native MSDOS support and a GUI interface for more "advanced" rescue utilities.

Hope this helps,

Waywyrd :unsure:

Link to comment
Share on other sites

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...