Installing XP Before Vista
Rebuilding Boot.ini
Troubleshooting Windows XP
Source
"file : \ntldr
status : 0xc00000f
info : the selected entry could not be loaded because the aplication is missing or corrupt."
The hard drive with 3 partitions and the mappings in windows vista are
> Vista c:
> recovery d:
> win2k3 j:
> Vista c:
> recovery d:
> win2k3 j:
-----------------
If partition C: (containing Vista) was the active partition when you installed Windows 2003, the boot files for Windows 2003 would have been put in partition C:.
You can make the Bcdedit partition value "C:" and adjust the boot.ini file in C: to point to partition(3) instead of partition(1),
or you can transfer the boot files (ntldr, boot.ini, and ntdetect.com) to J: and leave the Bcdedit partition value as "J:".
You are not able to boot in windows xp:
Boot from vista dvd and choose repair option..and then start the windows NT6 0 Startup Repair Tool (SRT)
...if that resolves the issue..well and fine if not paste the logs here + use bcdrec.exe to rebuild the bcd http://technet2.microsoft.com/WindowsVista/en/library/85cd5efe-c349-427c-b035-c2719d4af7781033.mspx?mfr=true
In vista go to the run command and type
bcdedit.exe /enum
that gives us a look at what's init there should be an entry for legagy bootloader which at a guess might be missing
----------------
Boot Configuration Data Editor FAQ
Why was there a change to BCD from Boot.ini?
you can use the following tools to modify BCD:
------------
Source
When booted to Win7, which drive is the ntldr file on?
It's a hidden file, so be sure the system is set to display them
Should be on the root of whatever drive it is on.
If it's actually on the W: partition instead of C: with the Win7 files, we need to change the drive letter in this line:
Bcdedit /set {ntldr} device partition=C:
-------------
Create a BCD entry for the older operating system by specifying the following.
Bcdedit.exe is located in the
\Windows\System32 directory of the Windows Vista partition.
/d Description is the description of the new entry for the older operating system.
Legacy (pre-longhorn)
Bcdedit /create {legacy} /d “Description”
Bcdedit /set {legacy} device boot
Bcdedit /set {legacy} path \ntldr
Bcdedit /displayorder {legacy} /addlast
Boot from vista dvd and choose repair option..and then start the windows NT6 0 Startup Repair Tool (SRT)
...if that resolves the issue..well and fine if not paste the logs here + use bcdrec.exe to rebuild the bcd http://technet2.microsoft.com/WindowsVista/en/library/85cd5efe-c349-427c-b035-c2719d4af7781033.mspx?mfr=true
In vista go to the run command and type
bcdedit.exe /enum
that gives us a look at what's init there should be an entry for legagy bootloader which at a guess might be missing
----------------
Boot Configuration Data Editor FAQ
Why was there a change to BCD from Boot.ini?
BCD was created to provide an improved mechanism for describing boot configuration data. With the development of new firmware models (for example, the Extensible Firmware Interface (EFI)), an extensible and interoperable interface was required to abstract the underlying firmware. This new design provides the foundation for a variety of new features in Windows Vista (for example, the Startup Repair tool and Multi-User Install shortcuts).
Where is the BCD file located in the registry?
-BIOS-based operating systems. The BCD registry file is located in the \Boot\Bcd directory of the active partition.
-EFI–based operating systems. The BCD registry file is located on the EFI system partition.Where is the BCD file located in the registry?
-BIOS-based operating systems. The BCD registry file is located in the \Boot\Bcd directory of the active partition.
you can use the following tools to modify BCD:
- Startup and recovery. The Startup and recovery dialog box enables you to select the default operating system to start if you have multiple operating systems installed on your computer. You can also change the time-out value. These settings are located on the Advanced tab in the System Properties dialog box.
- System Configuration utility (Msconfig.exe). Msconfig.exe is a more advanced tool with capabilities that include the following options: /debug, /safeboot, /bootlog, /noguiboot, /basevideo, and /numproc.
- BCD WMI provider. The BCD Windows Management Instrumentation (WMI) provider is a management interface that you can use to script utilities that modify BCD. This is the only programmatic interface available for BCD. For more information, see Boot Configuration Data (BCD) at the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=56792).
- BCDEdit.exe. BCDEdit.exe is a command-line utility that replaces Bootcfg.exe in Windows Vista. For more information, see What can I do with Bcdedit.exe?.
Note You cannot use Bootcfg.exe to modify BCD. However, Bootcfg.exe will remain in the operating system in order to support older operating systems.
------------
Source
When booted to Win7, which drive is the ntldr file on?
It's a hidden file, so be sure the system is set to display them
Should be on the root of whatever drive it is on.
If it's actually on the W: partition instead of C: with the Win7 files, we need to change the drive letter in this line:
Bcdedit /set {ntldr} device partition=C:
-------------
Create a BCD entry for the older operating system by specifying the following.
Bcdedit.exe is located in the
\Windows\System32 directory of the Windows Vista partition.
/d Description is the description of the new entry for the older operating system.
Legacy (pre-longhorn)
Bcdedit /create {legacy} /d “Description”
Bcdedit /set {legacy} device boot
Bcdedit /set {legacy} path \ntldr
Bcdedit /displayorder {legacy} /addlast
-------------------
Start -search
type cmd
type cmd
attrib -r -s -h boot.ini
notepad boot.ini
after all, save as boot.ini (use all files to not save as txt file)
attrib +r +s +h boot.ini
attrib +r +s +h boot.ini
Command Prompt appears in the list, right click, then click Run as Administrator
This should open a Command Promt that says Administrator:Command Prompt in the Title bar. The prompt should show C:\Windows\System32>
If not type the following, then press enter:
CD /D %systemroot%\System32
Type the following lines, press enter after each one:
Bcdedit /create {ntldr} /d "Windows XP"
Bcdedit /set {ntldr} device partition=C:
Bcdedit /set {ntldr} path \ntldr
Bcdedit /displayorder {ntldr} /addlast
Reboot, and Windows XP will appear on the list. You can type any description you want
The drive letters may appear different to each OS. When booted to Win7, Win7 will be on Drive C:. When booted to XP, Win7 may be on drive D:
This should open a Command Promt that says Administrator:Command Prompt in the Title bar. The prompt should show C:\Windows\System32>
If not type the following, then press enter:
CD /D %systemroot%\System32
Type the following lines, press enter after each one:
Bcdedit /create {ntldr} /d "Windows XP"
Bcdedit /set {ntldr} device partition=C:
Bcdedit /set {ntldr} path \ntldr
Bcdedit /displayorder {ntldr} /addlast
Reboot, and Windows XP will appear on the list. You can type any description you want
The drive letters may appear different to each OS. When booted to Win7, Win7 will be on Drive C:. When booted to XP, Win7 may be on drive D:
-------------------
Edit the boot.ini fil
If you'd prefer, opening a (elevated) command prompt and using 'attrib -s -h -r boot.ini' should also work. When done, 'attrib +s +h +r boot.ini' will put it back in the standard state.
Then both instances of
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
became
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
==========================
www.microsoft.com/technet/windowsvi...px#BKMK_bcdedit
To install a previous version of Windows onto a computer running Windows Vista
1. Install the previous version of Windows. (We'll take it this is done)
2. Log on to the Vista operating system and restore the latest boot manager by running the following. Fixntfs.exe will be in the \boot directory of the active partition of vista.
==========================
www.microsoft.com/technet/windowsvi...px#BKMK_bcdedit
To install a previous version of Windows onto a computer running Windows Vista
1. Install the previous version of Windows. (We'll take it this is done)
2. Log on to the Vista operating system and restore the latest boot manager by running the following. Fixntfs.exe will be in the \boot directory of the active partition of vista.
windows\boot\PCAT\
fixntfs /lh
3. Create a BCD entry for the older operating system by specifying the following. Bcdedit.exe is located in the \Windows\System32 directory of the Windows Vista partition
fixntfs /lh
3. Create a BCD entry for the older operating system by specifying the following. Bcdedit.exe is located in the \Windows\System32 directory of the Windows Vista partition
Source (lot of pages)
before I tried the fixntfs as you said to try. Just wanted ot let you know..
I ran bcdedit /delete {legacy}, delted the legacy I created. Rebooted. No Boot Menu. Went back into Safe-Mode. Ran Run as Adminstrator. Typed /create {legacy}, etc. again. And IT WORKED!!
I restarted and I tried again. It gave that same error. I'm going to try fixntfs now.
I ran bcdedit /delete {legacy}, delted the legacy I created. Rebooted. No Boot Menu. Went back into Safe-Mode. Ran Run as Adminstrator. Typed /create {legacy}, etc. again. And IT WORKED!!
I restarted and I tried again. It gave that same error. I'm going to try fixntfs now.
------------
That should get you started but it may be that Vista is placing the incorrect drive assignment to legacy. Mine looks like this:
Windows Boot Manager
Identifier: {bootmgr}
Type: 10100002
Device: partition=D:
Description: Windows Boot Manager
Locale: en-US
Inherit options: {globalsettings}
Boot debugger: No
Default: {ntldr}
Display order: {ntldr}
{current}
Timeout: 3
Windows Boot Manager
Identifier: {bootmgr}
Type: 10100002
Device: partition=D:
Description: Windows Boot Manager
Locale: en-US
Inherit options: {globalsettings}
Boot debugger: No
Default: {ntldr}
Display order: {ntldr}
{current}
Timeout: 3
Windows Legacy OS Loader
Identifier: {ntldr}
Type: 10300006
Device: partition=D:
Path: \ntldr
Description: Windows 2000 & Windows XP
Boot debugger: No
Windows Boot Loader
Identifier: {current}
Type: 10200003
Device: partition=C:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows Vista Beta 2 Build 5308
Locale: en-US
Inherit options: {bootloadersettings}
Boot debugger: No
Windows device: partition=C:
Windows root: \Windows
Resume application: {224b0149-a08e-11da-b308-ed83a3b7e795}
No Execute policy: OptIn
No integrity checks: Yes
Kernel debugger: No
EMS enabled in OS: No
Identifier: {ntldr}
Type: 10300006
Device: partition=D:
Path: \ntldr
Description: Windows 2000 & Windows XP
Boot debugger: No
Windows Boot Loader
Identifier: {current}
Type: 10200003
Device: partition=C:
Path: \Windows\system32\winload.exe
Description: Microsoft Windows Vista Beta 2 Build 5308
Locale: en-US
Inherit options: {bootloadersettings}
Boot debugger: No
Windows device: partition=C:
Windows root: \Windows
Resume application: {224b0149-a08e-11da-b308-ed83a3b7e795}
No Execute policy: OptIn
No integrity checks: Yes
Kernel debugger: No
EMS enabled in OS: No
If you are getting "Access Denied" when trying to make modifications through BCDEDIT, did you undo UAP? That's what will usually stop you. On your entries I do not see the Legacy one listed, and I see that it says that Vista is on C. This was my issue with the partitions. When you add the Legacy entry, move it up a drive.
(bcdedit /device {legacy} partition=D)
(bcdedit /device {legacy} partition=D)
When I add it, I type exactly this:
bcdedit /create {legacy} /d "WindowsXp Professional"
bcdedit /set device partition=D:
bcdedit /set {legacy} path \ntldr
bcdedit /displayorder {legacy} /addlast
bcdedit /create {legacy} /d "WindowsXp Professional"
bcdedit /set device partition=D:
bcdedit /set {legacy} path \ntldr
bcdedit /displayorder {legacy} /addlast
better:
bcdedit /create {ntldr} /d "Windows 2000 & Windows XP"
bcdedit /set {ntldr} device partition=D:
bcdedit /set {ntldr} path \ntldr
bcdedit /displayorder {ntldr} /addlast
Really, the ntldr device partition should be the same as the device partition in the {bootmgr} since Vista puts the boot files on the first bootable drive. In my case, although Windows 2000 is on partition=C, Vista takes over and makes itself the first partition, sliding the other partitions down. This is why, although Windows 2000 is on C:, I have to boot it to D: according to Vista
bcdedit /create {ntldr} /d "Windows 2000 & Windows XP"
bcdedit /set {ntldr} device partition=D:
bcdedit /set {ntldr} path \ntldr
bcdedit /displayorder {ntldr} /addlast
Really, the ntldr device partition should be the same as the device partition in the {bootmgr} since Vista puts the boot files on the first bootable drive. In my case, although Windows 2000 is on partition=C, Vista takes over and makes itself the first partition, sliding the other partitions down. This is why, although Windows 2000 is on C:, I have to boot it to D: according to Vista
1.- Arrancar el pc con el disco de Windows XP metido.
2.- Cuando nos salga el asistente de instalación de Windows Xp elegir la opción de Reparar Sistema.
(En caso de que no salga el asistente significa que el sistema no ha podido arrancar desde el CD. Prueba a ponerlo en otra unidad y volver a arrancar).
Si sigue igual, entra en la BIOS y comprueba que la primera unidad en la secuencia de arranque es alguna de tus unidades de CD/DVD.
3.- Una vez que tengamos en pantalla el editor con C:\Windows, teclear 1 y pulsar Intro
4.- Nos pedirá la Clave de administrador. Si hemos puesto una clave la tecleamos. Si no hemos puesto clave pulsamos Intro.
5.- Una vez que estemos en C:\Windows teclear FIXMBR y pulsar Intro.
6.- El sistema nos advierte de que si queremos continuar y ponemos S y pulsamos Intro.
Una vez que estamos en el punto 6, tenemos que copiar dos archivos, debido que en dicha pérdida se arrastra también otro que es el ntdetect, por lo tanto hay que copiar ntldr y ntdetect en nuestro disco duro.
Para ello escribiremos lo siguiente:
copy D:\i386\ntldr C:\
copy D:\i386\ntdetect.com C:\
(Donde D:\ sería la unidad lectora donde se encuentra el cd de Windows XP y C:\ es la unidad de arranque donde tenemos instalado Windows).
Si todo sale bien debería de funcionar.
Con respecto a este problema debemos tener unas cuestiones en cuenta:
Si el sistema anterior falla no tenemos más remedio que reinstalar Windows, pero eliminando la particion, volviendola a crear y formateando de nuevo (es recomendable utilizar el formateo normal, NO el formateo rápido.
====================try with this:
http://neosmart.net/wiki/displ.....ation+Home
http://neosmart.net/wiki/displ.....ation+Home
Finally after playing with bcdedit and easybcd + easyldr
1. save ntldr in XP1 C:\
2. Create D:\NST\easyldr1 in XP2
But i use easybcd at WIN72 (C: ) while XP1 is D drive and XP2 is E drive.
Make sure you have to delete and edit boot.ini and save in correct location
1. save ntldr in XP1 C:\
2. Create D:\NST\easyldr1 in XP2
But i use easybcd at WIN72 (C: ) while XP1 is D drive and XP2 is E drive.
Make sure you have to delete and edit boot.ini and save in correct location
No comments:
Post a Comment