nummer31 Posted May 19, 2011 Posted May 19, 2011 (edited) so i have windows 7 installed and i'm trying to install Windows Xp in another drive from USBi'm using WinToFlash to make my USB bootablebut i'm running into problems i'm gonna explain thru screen shots1. Presented with the following options:i chose the first option and i can go smoothly thru it 2. Files are copied successfullyafter that system restarts and i'm presented with same optionsas in 1st screen shot this time i chose 2nd option3. I get the following error:if i chose the 1st option again after restartsame process repeats itself4. If i chose the 3rd option:system hangs in the above shown stateplease suggest what should i dohave been trying since 2 weeks now---------------------------------------------------------------------i went thru the forum and it seems maybe i have to edit my boot.iniQ4: I am getting HAL.DLL or NTOSKRNL.EXE not found error, why?A4: You are installing Windows to a disk/partition other than first disk/first partition. Amend BOOT.INI on USB disk to reflect your setup. For example- if installing windows on SECOND disk/third partition, and FOLDER name is MYWIN, that line in BOOT.INI should look like:multi(0)disk(0)rdisk(2)partition(3)\MYWIN="2. GUI Mode Setup Windows XP, Continue Setup + Start XP from HD 1" /FASTDETECTPlease note that rdisk(0) means first hard disk. Because we are booting from USB disk it becomes first, hence the first internal hard disk (which is second when start counting from our USB disk) gets rdisk(1), second- rdisk(2) and so on.to reflect from which location will 2nd option beginbut how do i represent the drive where i want windows to be installed in that particular format? Edited May 19, 2011 by nummer31
ilko_t Posted May 19, 2011 Posted May 19, 2011 ...4. If i chose the 3rd option:system hangs in the above shown stateDo not select the third option, try the options below it. Third option is just a separator.By the way I feel a bit uncomfortable answering questions about a program which simply copy-pasted all the work done by several members in this forum, put it in another name without mentioning a single word.
jaclaz Posted May 20, 2011 Posted May 20, 2011 Just for the record and aimed to anyone fiddling with BOOT.INI in order to create something of "general use", using in the making of it ANSI Escape characters won't be such a bad idea in order to highlight the "comments" (if any) :http://reboot.pro/10122/Also the "makers" of Wintoflash, do have their own site AND a dedicated Forum:http://wintoflash.com/forum/viewforum.php?f=3Why people comes here asking questions about it, remains a mistery to me. Maybe because on MSFN we are faster in replying? http://wintoflash.com/forum/viewtopic.php?f=10&t=1492 jaclaz
nummer31 Posted May 20, 2011 Author Posted May 20, 2011 Just for the record and aimed to anyone fiddling with BOOT.INI in order to create something of "general use", using in the making of it ANSI Escape characters won't be such a bad idea in order to highlight the "comments" (if any) :http://reboot.pro/10122/Also the "makers" of Wintoflash, do have their own site AND a dedicated Forum:http://wintoflash.com/forum/viewforum.php?f=3Why people comes here asking questions about it, remains a mistery to me. Maybe because on MSFN we are faster in replying? http://wintoflash.com/forum/viewtopic.php?f=10&t=1492 jaclazok i get the sarcasmbut thanx to this forum not THAT onei finally installed and logged into Windows Xpbut i cannot boot without the pen drivecould any of u at least help me so that i can boot in windows xp without the pen drive attached?
ilko_t Posted May 20, 2011 Posted May 20, 2011 You would have to describe what you did to proceed further and what happens when the UFD is not attached. What are contents of boot.ini on the internal disk?
nummer31 Posted May 20, 2011 Author Posted May 20, 2011 (edited) You would have to describe what you did to proceed further and what happens when the UFD is not attached. What are contents of boot.ini on the internal disk?i couldn't find any boot.ini in the drive where xp was installed in the internal HDD (searched with win7's search bar)i don't understand what UFD is?but contents of boot.ini from the USB device:[boot Loader]Timeout=30Default=multi(0)disk(0)rdisk(1)partition(5)\WINDOWS[Operating Systems]C:\$WIN_NT$.~BT\BOOTSECT.DAT = "1st, text mode setup (Boot from flash again after finished)"multi(0)disk(0)rdisk(1)partition(5)\WINDOWS="2nd, GUI mode setup, continue setup + 1st start of Windows" /fastdetectC:\ = "---> DEBUG, in case of HAL.DLL or NTOSKRNL.EXE not found errors <---"multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="Debug boot rDisk 1 partition 2" /fastdetectmulti(0)disk(0)rdisk(1)partition(3)\WINDOWS="Debug boot rDisk 1 partition 3" /fastdetectmulti(0)disk(0)rdisk(1)partition(4)\WINDOWS="Debug boot rDisk 1 partition 4" /fastdetectmulti(0)disk(0)rdisk(2)partition(1)\WINDOWS="Debug boot rDisk 2 partition 1" /fastdetectmulti(0)disk(0)rdisk(2)partition(2)\WINDOWS="Debug boot rDisk 2 partition 2" /fastdetectmulti(0)disk(0)rdisk(2)partition(3)\WINDOWS="Debug boot rDisk 2 partition 3" /fastdetectmulti(0)disk(0)rdisk(2)partition(4)\WINDOWS="Debug boot rDisk 2 partition 4" /fastdetectall i did was change the numbers marked in red above from '1' to '5'5 is the partition no. where the files were copied when i went thru the 1st optionafter this change i went thru the GUI installation and i could boot into xpbut to boot i have to keep the USB attached and change BIOS boot to the USBand if the USB is not attached and BIOS is still set to USB boot i get an errorand whether USB attached or not if i chose HDD boot then i gain access to Windows 7 (which was installed way before)will be eagerly waiting for ur replyhelp me plzzzz..... Edited May 20, 2011 by nummer31
jaclaz Posted May 20, 2011 Posted May 20, 2011 (edited) Forget the windows "Search".Open explorer (make sure you have settings so that it shows system and hidden files and file extensions).Look in the ROOT of your drive when booted in Windows 7. (the actual drive corresponding to active partition, normally C:\, which will have a file named BOOTMGR in it's root).Can you see files:NTLDRNTDETECT.COMBOOT.INIIf not, as first step copy them from the root of the USB stick to the root of the internal disk.Then you will need to get a GUI BCD editor, (there are several ones, just examples):http://reboot.pro/10003/http://www.zezula.net/en/fstools/bellavista.htmland learn to use them to add to the BCD store an entry for the NTLDR.You can also use the Win 7 built-in command line BCDedit, but it's a tadbit more complex.Take some time reading here (simply read "Windows 7" instead of "Vista "):http://www.multibooters.co.uk/ particularly this page:http://www.multibooters.co.uk/bootmgr.htmland this one:http://www.multibooters.co.uk/multiboot.htmlyou are in situation:and you need to get to situation:It is also possible (it depends on the way your Windows 7 was originally installed) that you have a partition with no drive letter attached to it, that you can only see in disk management, and that will be around 100 Mb in size.Report if this is the case.jaclaz Edited May 20, 2011 by jaclaz
nummer31 Posted May 20, 2011 Author Posted May 20, 2011 (edited) thank u very very much for replyingi'll go through all ur instructions ASAPfor now it seems that there is a 10MB size that has no lettershere's a screen shoti'll reply as soon as i'm down to reading ur instructionsthanx again so muchi can see hope at the end of the tunnel Edited May 21, 2011 by jaclaz removed needed quote of whole post
nummer31 Posted May 21, 2011 Author Posted May 21, 2011 (edited) ...If not, as first step copy them from the root of the USB stick to the root of the internal disk..the line red marked i didn't understandcopy the files from USB to which drive of internal disk Drive C(Win7) or Drive F(Win XP)?contents of boot.ini from USB:[Boot Loader]Timeout=30Default=multi(0)disk(0)rdisk(1)partition(5)\WINDOWS[Operating Systems]C:\$WIN_NT$.~BT\BOOTSECT.DAT = "1st, text mode setup (Boot from flash again after finished)"multi(0)disk(0)rdisk(1)partition(5)\WINDOWS="2nd, GUI mode setup, continue setup + 1st start of Windows" /fastdetectC:\ = "---> DEBUG, in case of HAL.DLL or NTOSKRNL.EXE not found errors <---"multi(0)disk(0)rdisk(1)partition(2)\WINDOWS="Debug boot rDisk 1 partition 2" /fastdetectmulti(0)disk(0)rdisk(1)partition(3)\WINDOWS="Debug boot rDisk 1 partition 3" /fastdetectmulti(0)disk(0)rdisk(1)partition(4)\WINDOWS="Debug boot rDisk 1 partition 4" /fastdetectmulti(0)disk(0)rdisk(2)partition(1)\WINDOWS="Debug boot rDisk 2 partition 1" /fastdetectmulti(0)disk(0)rdisk(2)partition(2)\WINDOWS="Debug boot rDisk 2 partition 2" /fastdetectmulti(0)disk(0)rdisk(2)partition(3)\WINDOWS="Debug boot rDisk 2 partition 3" /fastdetectmulti(0)disk(0)rdisk(2)partition(4)\WINDOWS="Debug boot rDisk 2 partition 4" /fastdetectLooks like this:i went thru ur instructions and found out that there is actually a boot.ini in the windows xp directory but no NTLDR or NTDETECT.COM in the root(Drive F) when i'm in Windows 7boot.ini contents in windows Xp root directory are:[Boot Loader]Timeout=30Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\[Operating Systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\="Microsoft Windows" /noexecute=optin /fastdetectRoot looks like:i did find all three files from windows 7 root directoryboot.ini from Win7:[boot loader]timeout=30default=multi(0)disk(0)rdisk(1)partition(5)\WINDOWS[operating systems]multi(0)disk(0)rdisk(1)partition(5)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /noexecute=optinmulti(0)disk(0)rdisk(1)partition(1)\G\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetectRoot looks like this:and my drives looks like this: Edited May 21, 2011 by jaclaz removed needless quote of whole post
jaclaz Posted May 21, 2011 Posted May 21, 2011 (edited) Good. Open Disk Management, and check that Drive C:\ is the ACTIVE partition on first disk (it will probably be so from what you have posted till now).What happens NOW when you boot is the following (compare with the given links and posted images):BIOS->First Disk->MBR (of first disk) ->chainload PBR (or bootsector) of First Active Partition on FIrst diskPBR (of Active partition on first disk) -> calls BOOTMGR (inside Active partition, i.e. the one that gets letter C:\ in your case)BOOTMGR-> parses \boot\BCD (still inside Active partition filesystem) and finds ONLY one entry to boot Windows 7, so it calls WINLOAD.EXEWINLOAD.EXE -> loads Windows 7What should happen:BIOS->First Disk->MBR (of first disk) ->chainload PBR (or bootsector) of First Active Partition on FIrst diskPBR (of Active partition on first disk) -> calls BOOTMGR (inside Active partition, i.e. the one that gets letter C:\ in your case)BOOTMGR-> parses \boot\BCD (still inside Active partition filesystem) and finds TWO entries, one to boot Windows 7, and one to boot XP, IF user chooses to load Windows 7, it calls WINLOAD.EXEAND:WINLOAD.EXE -> loads Windows 7BUT:BOOTMGR-> parses \boot\BCD (still inside Active partition filesystem) and finds TWO entries, one to boot Windows 7, and one to boot XP, IF user chooses to load Windows XP, it calls NTLDRNTLDR (still inside Active partition filesystem) -> NTLDR parses BOOT.INI (still inside Active partition filesystem) and depending on the choices in there, you continue booting the XP on one or the other disk or partitionNTDETECT.COM (still inside Active partition filesystem) is called to detect hardware and then the kernel of XP is loadedYou have ALREADY all the needed files in the Active partition on first disk (drive C:\):BOOTMGR\boot\BCD\ (even if it's not listed in the screenshot you posted, you do have it, otherwise 7 wouldn't boot)NTLDRBOOT.ININTDETECT.COMso, you now need to:add an option to the \boot\BCD in order to load NTLDR. (you must think as \boot\BCD as the corresponding of BOOT.INI, only in a "strange" format - actually it is a Registry hive - instead of a plain TXT file)verify that the options in BOOT.INI are correctUse any of the mentioned tool to add the entry in \boot\BCD, simplest would be to use BCDtool:http://reboot.pro/10003/http://filebeam.com/fe6603a102cbd28393bda4bb553c9c56Start the app, then:Boot Config->Open -> C:\boot\BCDEdit-> Create Windows Legacy OS loader (NT4 winXP win2003)It should get:identifier => {ntldr}device=> partition=C:path=> \ntldrdescription=> Windows XP[*]Close the appReplace contents the BOOT.INI file in C: with these:[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(5)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 1" /fastdetect /noexecute=optin multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional 2" /fastdetect /noexecute=optin multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional 3" /fastdetect /noexecute=optin multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional 4" /fastdetect /noexecute=optin multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Microsoft Windows XP Professional 5" /fastdetect /noexecute=optin Most probably the #5 or #5 one is the right one, i.e.:multi(0)disk(0)rdisk(0)partition(1)=First disk first partition= C:\multi(0)disk(0)rdisk(0)partition(2)=First disk second partition= D:\multi(0)disk(0)rdisk(0)partition(3)=First disk third partition= E:\Then :multi(0)disk(0)rdisk(0)partition(4)=First disk fourth partition= F:\multi(0)disk(0)rdisk(0)partition(5)=First disk fifth partition= G:\OR multi(0)disk(0)rdisk(0)partition(4)=First disk fourth partition= G:\multi(0)disk(0)rdisk(0)partition(5)=First disk fifth partition= F:\No way to know unless you post a screenshot of Disk Management.Please, when replying avoid quoting WHOLE posts, expecially if they are longish/contain images.jaclaz Edited May 21, 2011 by jaclaz
nummer31 Posted May 21, 2011 Author Posted May 21, 2011 (edited) Use any of the mentioned tool to add the entry in \boot\BCD, simplest would be to use BCDtool:http://reboot.pro/10003/http://filebeam.com/fe6603a102cbd28393bda4bb553c9c56No way to know unless you post a screenshot of Disk Management.jaclazthank u very very much @jaclaz for ur replyu are a genius in these kinda things it seemsunfortunately for me the software u linked BCDTool doesn't work in 64bit OSit was mentioned in the forumswhat other alternatives do i have? Maybe EasyBCD or sth elseso what should i do? and below is a screen shot of Disk Management:------------------------------EDIT-------------------------------------------------BCDTool ran but after many errors along the wayand the end result is given below:is that it? doesn't seem like much Edited May 21, 2011 by nummer31
jaclaz Posted May 21, 2011 Posted May 21, 2011 Sorry, my crystal ball is out of tune and in the workshop for tuning , didn't see through it that you were running a 64 bit OS. Is also the XP (booted temporarily through the initial use of the USB stick) also x64? (hint, hint )jaclaz
nummer31 Posted May 21, 2011 Author Posted May 21, 2011 Sorry, my crystal ball is out of tune and in the workshop for tuning , didn't see through it that you were running a 64 bit OS. Is also the XP (booted temporarily through the initial use of the USB stick) also x64? (hint, hint )jaclazsorry should've mentioned that beforeWindows 7 - 64bitWindows Xp - 32bitso will EasyBCD work?what would u suggest?
nummer31 Posted May 21, 2011 Author Posted May 21, 2011 Use EasyBCD to add an entry for XP/ntldr.if EasyBCD will work, from which OS should I use to add an Entry from 7 or xp?
Recommended Posts