Title Repair XP
find --set-root --ignore-floppies /winvblock.ima
map --mem /winvblock.ima (fd1)
map --mem /winvblock.ima (fd0)
hide (hd0,0)
unhide (hd0,1)
hide (hd0,2)
map --mem /XPSP3Un_Repair.iso (0xff)
map --hook
chainloader (0xff)
(hd0,1) is my XP partition and the other two are Win7 partitions. I seem to need to map winvblock.ima or else the installer BSOD quite soon after starting.
I know the availabilty of the repair option depends on the WINNT.SIF, but I thought I'd created this one correctly (I might be getting my ISOs mixed up though, as I've got a few knocking about).
; Generated by nLite 1.4.9.1[Data] AutomaticUpdates="Yes" Autopartition=0 UnattendedInstall="Yes" EulaComplete="1" MsDosInitiated=No [Display] Xresolution=1024 Yresolution=768 BitsPerPel=32 AutoConfirm=1 [SystemRestore] DisableSR=1 CreateFirstRunRp=0 [GuiUnattended] EncryptedAdminPassword="No" AutoLogon="Yes" AdminPassword="password" TimeZone=085 OEMSkipRegional=1 OemSkipWelcome=1[Shell] DefaultStartPanelOff="Yes" [Components] msmsgs=off msnexplr=off zonegames=off Dialer=off Fax=off Media_clips=Off OEAccess=off media_utopia=off Accessopt=off AutoUpdate=off templates=off Clipbook=off charmap=off hypertrm=off rec=off pinball=off freecell=off minesweeper=off solitaire=off spider=off hearts=off [UserData] ProductKey="xxxx" ComputerName=PC FullName="none" OrgName="none" [RegionalSettings] LanguageGroup=1 Language= "0809" [Networking] InstallDefaultComponents="Yes" [WindowsFirewall] Profiles=WindowsFirewall.TurnOffFirewall [WindowsFirewall.TurnOffFirewall] Mode=0 [Identification] JoinWorkgroup="WORKGROUP" [GuiRunOnce] "%systemdrive%\Tweaks\HKLM.bat" ; ; Edited by DriverPacks BASE 10.06 ; http://www.driverpacks.net/ ; command9="%SystemDrive%\DPsFnshr.exe"