Ecko Posted November 27, 2009 Posted November 27, 2009 ok here's my situation:windows doesn't startup, not even in safe mode.found out that sptd.sys is the problem.now the only way to fix this would be start recovery console, either from Wxp cd or as boot option.but since its a netbook, there's no way i can use a cd (nor do i have a cd for that matter)though, i can still access the hdd via linux.so, since i explained the background story, now for my question:what should i type in boot.ini, so i can boot to the recovery console instead of the (broken) xp install?also, is it correct that the recovery console can stop windows from trying to load sptd.sys and boot normally? (just deleting the file didnt work, it would just hang for about 30 secs and then bsod)any help is appreciatedps. yeah, i know i suck at explaining
jaclaz Posted November 27, 2009 Posted November 27, 2009 now the only way to fix this would be start recovery console, either from Wxp cd or as boot option.If you want to boot recovery console from a USB stick, check here:http://www.boot-land.net/forums/index.php?showtopic=5316Cannot say however if you will be able to solve that problem using RC.jaclaz
Ecko Posted November 28, 2009 Author Posted November 28, 2009 (edited) no, ctmag, sorry, but you seem to be missing some "basics" or a methodical approach.You have a working .iso, right?Then:1. Format USB stick with fat by using PetoUSB or the HP formatting utility1.a copy ntldr, ntdetect.com, boot.ini to the stick1.b verify it boots up to boot.ini choices2. if you did the above when running Vista and the stick does not boot make stick bootable with bootsect.exe /nt502 g: /force2.a verify it boots up to boot.ini choicestaken from http://www.boot-land.net/forums/index.php?...5316&st=10# 3rd postcouldn't get further then step 1.b on startup i see a flashing underscore, usb light flashes for a while, then the font changes, and the light stops flashinggot these files on the stick(fat partitioned) so far: boot.ini, ntldr, ntdetectall taken from my xp install.edit: think it has something to do with my boot.ini, so i guess i should show what's written in it.[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetectedit #2: is it maybe that i should add a second entry, so it will actually show me that it works?also i suppose i should change rdisk to (1) and partition also to (1) right?im gonna try this. Edited November 28, 2009 by Ecko
jaclaz Posted November 29, 2009 Posted November 29, 2009 No, the "flashing underscore" means that you have a problem in the bootability of that stick, it is the typical symptom of a "wrong" bootsector.If you have more than one entry in boot.ini, you will see the two choices, if you have one single entry, you should get an error message about missing hal.dll.Nowadays the HP USB formatting utility is deprecated, as it leads in a number of cases to unbootable sticks or however "wrongly" partitioned/formatted ones.Pick one among these:http://www.boot-land.net/forums/index.php?showforum=71http://www.boot-land.net/forums/index.php?showtopic=9460I would suggest you to try RMPREPUSB first.jaclaz
Ecko Posted November 29, 2009 Author Posted November 29, 2009 (edited) hello,I've gone this way:usb boots to syslinuxsyslinux loads grub4dosgrub4dos loads ntldrafter that it says this:Windows could not start because of a computer disk hardware configuration problem.Could not read from the selected boot disk. Check boot path and disk hardware.Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.microsoft says it's because of an error in boot.ini, so thats a good thing since it actually does something.so..what now?edit: changed boot.ini to this [boot loader]timeout=30default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetectand now i indeed got the hal.dll error like you said in your previous post. Edited November 29, 2009 by Ecko
georg Posted November 30, 2009 Posted November 30, 2009 Try this:[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 XP Home Edition" /noexecute=optin /fastdetect /bootlogmulti(0)disk(0)rdisk(0)partition(1)\WINDOWS="Safe Mode" /safeboot:minimal /sos /bootlogC:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons
jaclaz Posted November 30, 2009 Posted November 30, 2009 Ok, now you solved (though in an overly complex way ) the booting problem you can go on. jaclaz
Ecko Posted November 30, 2009 Author Posted November 30, 2009 (edited) Ok, now you solved (though in an overly complex way ) the booting problem you can go on. jaclazyes, that's what i did.now i got another small question.i need to copy the bootsector of my usb right? but is it that its size is 512 bytes? since i didn't see anything like ntldr in that file.http://www.boot-land.net/forums/index.php?...ost&p=41075 step 6though, did see something resembling step 7 (mswin4.1) Edited November 30, 2009 by Ecko
Ecko Posted November 30, 2009 Author Posted November 30, 2009 (edited) not sure if it's relevant, but here's the original and edited file.edit: no luck got as far as loading recovery console, but at the end of the loading bar i get a bsod saying umountable boot volumesetupldr.zip Edited November 30, 2009 by Ecko
jaclaz Posted November 30, 2009 Posted November 30, 2009 Well, you did ANOTHER thing from what that thread explained.Most probably you have now a Syslinux bootsector.Nothing personal, rest assured , but I completely fail to see WHY people introduces (unneded) variations/complications to a method and then cannot solve the problem they themselves created.The original thread was about:"normal" NTLDR bootsectorNTLDRBOOT.INIin order to chainload grub4dos.Then grub4dos was used to DIRECTLY chainload SETUPLDR.BIN.You have (again WHY? )Syslinux bootsectorSyslinuxsyslinux.cfgwith which you chainload grub4dos, then you have:grldr (or grub.exe)menu.lstto chainload NTLDR,then you have:NTLDRBOOT.INIto chainload a bootsector that will load SETUPLDR.BINCan't you see that you do not need last step and you can chainload directly SETUPLDR.BIN from grub4dos? jaclaz
jaclaz Posted November 30, 2009 Posted November 30, 2009 you mean a 0x0000007b error?Is your drive (the internal one) a SATA disk?Can you describe how you finally setup the stick (which files which directories, which menu.lst entry?jaclaz
Ecko Posted November 30, 2009 Author Posted November 30, 2009 so i can actually just delete boot.ini and ntldr, since i dont need it?and then choose third option in grub to load setupldr.bin from the CMDCONS folder
Ecko Posted November 30, 2009 Author Posted November 30, 2009 (edited) you mean a 0x0000007b error?Is your drive (the internal one) a SATA disk?Can you describe how you finally setup the stick (which files which directories, which menu.lst entry?jaclazunmountable_boot_volumestop:0x000000ED (0x862dc68, 0xc00000013, 0x00000000, 0x00000000yes, sataboot/ ldlinux.sys syslinux.conf CMDCONS/boot.inicmdcons.bsgrub.exemenu.lstntdetect.comntldrsetupldr.bsmenu.lstcolor black/cyan yellow/cyantimeout 30default 0title find and load NTLDR of Windows NT/2K/XPfind --set-root /ntldrchainloader /ntldrtitle Boot Recovery Console of Windows NT/2K/XP SETUPLDR.BINfind --set-root /setupldr.binchainloader /setupldr.bin###################################################################### write string "cmdcons" to memory 0000:7C03 in 2 steps:###################################################################### step 1. Write 4 chars "cmdc" at 0000:7C03write 0x7C03 0x63646D63# step 2. Write 3 chars "ons" and an ending null at 0000:7C07write 0x7C07 0x00736E6Ftitle Boot Recovery Console of Windows NT/2K/XP \CMDCONS\SETUPLDR.BINfind --set-root /CMDCONS/setupldr.binchainloader /CMDCONS/setupldr.bin###################################################################### write string "cmdcons" to memory 0000:7C03 in 2 steps:###################################################################### step 1. Write 4 chars "cmdc" at 0000:7C03write 0x7C03 0x63646D63# step 2. Write 3 chars "ons" and an ending null at 0000:7C07write 0x7C07 0x00736E6Ftitle RC CMDCONS cmdcons.bsfind --set-root /cmdcons.bschainloader /cmdcons.bsedit:is it that i can simply copy the 1386 folder from the hdd to usb, press f6 when asked for and that it loads the driver? (if its in there) Edited November 30, 2009 by Ecko
jaclaz Posted November 30, 2009 Posted November 30, 2009 Yes, you do not need the BOOT.INI and NTLDR if you use grub4dos. The only entry you need in menu.lst is:title Boot Recovery Console of Windows NT/2K/XP \CMDCONS\SETUPLDR.BINfind --set-root /CMDCONS/setupldr.binchainloader /CMDCONS/setupldr.bin###################################################################### write string "cmdcons" to memory 0000:7C03 in 2 steps:###################################################################### step 1. Write 4 chars "cmdc" at 0000:7C03write 0x7C03 0x63646D63# step 2. Write 3 chars "ons" and an ending null at 0000:7C07write 0x7C07 0x00736E6FJust to make sure, have you in \CMDCONS\ a file WINNT.SIF with contents:http://www.911cd.net/forums//index.php?sho...20983&st=39[data]CmdCons="1"?I don't think that the fact that syslinux is used as intermediate leads to the 0x000000ED error, thus it is possible that it is caused by the missing SATA driver.You can try (temporarily) disabling the internal hard disk to test this (if possible in your BIOS).Unfortunately the F6 is reserved to floppy.You need to integrate the appropriate SATA driver in the RC or you can try mapping a floppy image with grub4dos.You need your SATA driver in a floppy image and then map the image, something like:find --set-root /floppy.imgmap /floppy.img (fd0)map --hookchainloader /CMDCONS/setupldr.binwrite 0x7C03 0x63646D63write 0x7C07 0x00736E6Fin order to use the F6.If the \I386\ on your hard disk (or from another source) already has the driver integrated, you only need to copy from it the TXTSETUP.SIF or TXTSETUP.SI_ and the files for the actual driver(s) to the CMDCONS directory on the stick, but how can you access the \I386 on your hard disk?Which exact netbook model is it?jaclaz
Ecko Posted November 30, 2009 Author Posted November 30, 2009 (edited) yes, it does contain textsetup.sifand i can acces it since im using a linux liveusb at the moment and its an acer aspire one a150.update: posting this from windows xp in the end it seems i had 2 problems: first one sptd.sys, which prevented windows from bootingand bad blocks on the harddisksolved the first one by deleting the registry keyand the second one by forcing chkdsk to check my drivethough, still want recovery console on usb since that would make it alot easier.is it better to start all over again? Edited November 30, 2009 by Ecko
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now