Cannot boot into xp after resizing partition

Discussion in 'Other Acronis Products' started by mikej, Dec 11, 2004.

Thread Status:
Not open for further replies.
  1. mikej

    mikej Registered Member

    Joined:
    Dec 11, 2004
    Posts:
    1
    Hi,
    I've been vexed by this problem for a few days now, and I've not got a clue whats wrong.

    Essentially I have a dual boot system. Windows 2000 and Windows XP.

    Both are in their own partitions.

    Now what I did, in XP, is resized it's partition from some spare space I had on my hard drive. This appeared to work fine, until I rebooted into XP, when the system simply hung at the XP welcome screen.

    I can still boot into Windows 2000. I've checked the XP partition, and it has resized ok. There are no partition errors, and I can access all the files, but I simply can't get past the XP welcome screen anymore.

    Anyone any ideas as to whats gone wrong ?

    Mike
     
  2. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello mikej,

    We are very sorry for the inconveniences.

    Please create the Acronis Report in the way described at
    https://www.wilderssecurity.com/showthread.php?t=55317
    and send to support@acronis.com with the description of the problem or a link to this thread. Please indicate in the subject of the letter that you want to contact Ilya Toytman.
    --
    Best regards,
    Ilya Toytman
     
  3. hshockey

    hshockey Registered Member

    Joined:
    Dec 16, 2004
    Posts:
    1
    I'm experiencing a similar symptom (not being able to get past the XP welcome page), but apparently from a different cause.

    For me, the only thing that occurred out of the ordinary before I tried to boot into XP yesterday morning was what I had tried out a new USB 2.2 Gig MicroDrive the evening before.

    I feel like I've tried everything to get past the welcome screen with no success.

    An interesting note from my attempts is that OS Selector lists the microdrive if it is plugged in before I power on the computer, and it flashes a quick message (too quick to read) if the drive is inserted during bootup.

    I've been using OS Selector successfully for two years although I have never installed the second OS.

    Can OS Selector be used to get past the welcome screen?

    If not and I have to use the manufacture's system recovery disk (that wipes the drive) can I use OS Selector to preserve my data in the other virtual drives/ partitions?

    Thanks for the help to anyone who can give a suggestion to solve this frustrating problem.
     
  4. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello hshockey,

    Thank you for using Acronis software (http://www.acronis.com/homecomputing/products/).

    We recommend you to search Microsoft Knowledge Base regarding this problem or to contact Microsoft Support Centre.

    Thank you.

    --
    Andrew Berezovsky
     
  5. atifans

    atifans Registered Member

    Joined:
    Dec 28, 2004
    Posts:
    16
    Hello mikej
    You need to edit the registry of winxp:
    HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices


    Now,boot into win 2000 and run atifans.cmd

    //atifans.cmd
    @echo off
    if not exist %systemroot%\system32\reg.exe exit
    set driv=C D E F G H I J K L M N O P Q R S T U V W X Y Z
    for %%i in (%driv%) do if exist %%i:\windows set drivexp=%%i&& goto next

    :next
    reg load hklm\sxbg %drivexp%:\WINDOWS\System32\config\software>nul
    reg query HKLM\sxbg\Microsoft\Windows\CurrentVersion /v ProgramFilesDir>chdir.chk
    for %%i in (%driv%) do find /i "%%i:" chdir.chk>nul && set xpdrive=%%i&& goto next2

    :next2
    reg add "HKLM\sxbg\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d %xpdrive%:\WINDOWS\system32\Userinit.exe, /f>nul
    reg unload hklm\sxbg>nul
    reg load hklm\sxbg %drivexp%:\WINDOWS\System32\config\system>nul
    reg export HKLM\SYSTEM\MountedDevices regdrive.chk>nul
    find /i "\\DosDevices\\%drivexp%:" <regdrive.chk>tem.chk
    for /f %%i in (tem.chk) do set str=%%i
    call atifans2.cmd %str%
    echo Windows Registry Editor Version 5.00>Md.chk
    echo [-HKEY_LOCAL_MACHINE\sxbg\MountedDevices]>>Md.chk
    echo [HKEY_LOCAL_MACHINE\sxbg\MountedDevices]>>Md.chk
    echo "\\DosDevices\\%xpdrive%:"=%a%%b%%c%%d%%e%%f%%g%%h%%i%%j%%k%%l%%m%%n%>>Md.chk
    reg import Md.chk>nul
    del /q *.chk
    reg unload hklm\sxbg>nul




    //atifans2.cmd

    @echo off
    shift
    set a=%1
    shift
    set b=,%1
    shift
    set c=,%1
    shift
    set d=,%1
    shift
    set e=,%1
    shift
    set f=,%1
    shift
    set g=,%1
    shift
    set h=,%1
    shift
    set i=,%1
    shift
    set j=,%1
    shift
    set k=,%1
    shift
    set l=,%1
     
    Last edited: Dec 29, 2004
  6. atifans

    atifans Registered Member

    Joined:
    Dec 28, 2004
    Posts:
    16
    Case2

    //atifans.cmd
    @echo off
    if not exist %systemroot%\system32\reg.exe exit
    set cmdf=%0
    set driv=C D E F G H I J K L M N O P Q R S T U V W X Y Z
    if [%1]==[] %0 %driv%
    if /i not [%1]==[C] goto next3
    :loop
    if [%1]==[] goto next
    if /i [%1:]==[%systemdrive%] shift
    if exist %1:\windows goto next
    shift
    goto loop
    :next
    set drivexp=%1
    if [%drivexp%]==[] goto end
    reg load hklm\sxbg %drivexp%:\WINDOWS\System32\config\software>nul
    reg query HKLM\sxbg\Microsoft\Windows\CurrentVersion /v ProgramFilesDir>chdir.chk
    for %%i in (%driv%) do find /i "%%i:" chdir.chk>nul && set xpdrive=%%i&& goto next2
    :next2
    reg add "HKLM\sxbg\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d %xpdrive%:\WINDOWS\system32\Userinit.exe, /f>nul
    reg unload hklm\sxbg>nul
    reg export HKLM\SYSTEM\MountedDevices regdrive.chk>nul
    find /i "\\DosDevices\\%drivexp%:" <regdrive.chk>tem.chk
    for /f %%i in (tem.chk) do set str=%%i
    %cmdf% %str%
    :next3
    shift
    set a=%1
    :loop2
    shift
    if [%1]==[] goto next4
    set a=%a%,%1
    goto loop2
    :next4
    echo Windows Registry Editor Version 5.00>Md.chk
    echo [-HKEY_LOCAL_MACHINE\sxbg\MountedDevices]>>Md.chk
    echo [HKEY_LOCAL_MACHINE\sxbg\MountedDevices]>>Md.chk
    echo "\\DosDevices\\%xpdrive%:"=%a%>>Md.chk
    reg load hklm\sxbg %drivexp%:\WINDOWS\System32\config\system>nul
    reg import Md.chk>nul
    del /q *.chk
    reg unload hklm\sxbg>nul
    :end
    if [%drivexp%]==[] echo Error! The Second OS not found! && pause
     
    Last edited: Jan 7, 2005
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.