jaclaz Posted August 3, 2008 Share Posted August 3, 2008 I will repeat myself, do zero out first 100 sectors of the deviceTry running fuwi's batch. (running it WITHOUT zeroing out the first sectors is NOT what I want, I need it run on a zeroed out stick)DO NOT RUN ANYTHING ELSE.Post the MBR and bootsector resulting from the above procedure, NOT those coming from ANY OTHER procedure.This is the ONLY way I can:1) make sure that no leftovers cause problems2) that the batch did it's work properlyjaclaz Link to comment Share on other sites More sharing options...
toja92 Posted August 3, 2008 Author Share Posted August 3, 2008 I done that and posting MBR and BootSect here. Thanks for your help.MBR_Bootsect.rar Link to comment Share on other sites More sharing options...
jaclaz Posted August 4, 2008 Share Posted August 4, 2008 OK, now it's better.As often does, the HP Utility created a 0C (FAT32 partition LBA mapped) with correct LBA values but wrong CHS ones.In other words, changing the partition type to 0B (FAT32 CHS mapped) may give wrong results.The FAT32 partition was formatted using the DOS bootsector (the one invoking WINBOOTSYS/IO.SYS). First thing to try is to add to the stick the DOS files (from a Win9x/Me bootdisk):IO.SYSMSDOS.SYSCOMMAND.COMand see if it boots.A possible way to fix:1) Open the MBR with Beeblebrox, and change current:80-0C-0-1-1-979-254-63-63-15744960to:80-0C-0-1-1-979-254-63-63-15743637to "balance" CHS and LBA2) remove the stick3) re-insert stick4) Format it from the running OS5) If running Vista, run bootsect.exe /nt52 <DriveLetter:> /force to change the bootsector code to the Windows NT/2K/XP/2003 one6) Add to the stick:NTLDRNTDETECT.COMBOOT.INI7) see if it boots.Another possible way:a. do ONLY steps 4) to 6)b. open the MBR with BEEBLEBROXand change from:80-0B-etc. (if present) to80-0C-etc.A third way, if the stick proves to boot from DOS:1) copy to the stick BOOTPART.EXE:http://www.winimage.com/bootpart.htm2) boot to the DOS on the stick3) run:BOOTPART.EXE WINXP BOOT:C:4) Add to the stick:NTLDRNTDETECT.COMBOOT.INI7) see if it boots.A fourth way, if you are running Vista, is using the native diskpart as follows:diskpartlist diskselect disk <discnumber>cleancreate partition primary size=<size of usbstick>select partition 1activeformat fs=fat32assignexitthen use bootsect.exe as previously detailed to create a bootsector invoking NTLDR.A fifth way (never tried it, mind you) could be to rename NTLDR to BOOTMGR, leaving the VISTA bootsector as is. If none of the above works, at the moment the only way out is to use (as provided in fuwi'sbatch) grub4dos as a workaround.jaclaz Link to comment Share on other sites More sharing options...
toja92 Posted August 4, 2008 Author Share Posted August 4, 2008 The only method I got working is fuwi's batch. But I have never used grub4dos before, and when I boot, I see the vista-like screen he put there, and then I see a flashing message:booting Bart PEerror 0X<something>there were some other text here but I don't know what it was.After this the computer reboots. So now I need help with editing the config file, can you possibly help me with this? : Link to comment Share on other sites More sharing options...
jaclaz Posted August 5, 2008 Share Posted August 5, 2008 The only method I got working is fuwi's batch. But I have never used grub4dos before, and when I boot, I see the vista-like screen he put there, and then I see a flashing message:booting Bart PEerror 0X<something>there were some other text here but I don't know what it was.After this the computer reboots. So now I need help with editing the config file, can you possibly help me with this? :Sure, if you tell me what you are trying to boot. Basically you should have in ROOT of your stick (some files may be hidden):IO.SYSMSDOS.SYSCOMMAND.COMCONFIG.SYSLOGO.SYS\grub4dos\grub.exeNTDETECT.COMNTLDR (this should be a SETUPLDR.BIN renamed)wimbom.ini\minint (if you are booting a XP/2003 based PE this directory contains the files)The booting procedure, "as is" is the following:1) MBR chainloads bootsector2) bootsector chainloads DOS system files (IO.SYS, MSDOS.SYS, COMMAND.COM)3) since a LOGO.SYS file is present, INSTEAD of the "usual" Windows 98 bootscreen that bitmap is displayed4) CONFIG.SYS is parsed and executed5) the following grub4dos menu.lst (that is written in CONFIG.SYS) is executed:timeout 0default 0title Booting BartPEfind --set-root /ntldrchainloader /ntldrThe easiest would be to:1) Move grub.exe to ROOT of the stick2) change CONFIG.SYS from:device=\grub4dos\grub.exe --config-file="timeout 0;default 0;title Booting BartPE;find --set-root /ntldr;chainloader /ntldr"to:device=grub.exe --config-file=menu.lst3) Add to ROOT of the stick a "conventional" menu.lst:timeout 30default 0title Booting BartPEfind --set-root /ntldrchainloader /ntldrtitle Another way to boot BartPEfind --set-root /minint/SETUPLDR.BINchanloader /minint/SETUPLDR.BIN(of course adding the proper entry for whatever you want to boot or experimenting with command line)Do take a bit of time reading diddy's grub4dos guide:http://www.boot-land.net/forums/index.php?showtopic=5187so that you get familiar with basic grub4dos commands and menu entries. Once the above works, one can try installing to the stick the grldr.mbr, that has been reported by ktp as working allright on biggish FAT32 volumes, thus bypassing the loading of DOS.jaclaz Link to comment Share on other sites More sharing options...
bledd Posted August 5, 2008 Share Posted August 5, 2008 jaclaz, you're the man, just read through this whole thread Link to comment Share on other sites More sharing options...
toja92 Posted August 5, 2008 Author Share Posted August 5, 2008 (edited) When adding the entry for windows xp (ntldr) I get this error message:"INF file txtsetup.sif is corrupt or missing, status 18"And this is the usboot.org'ed XP (already installed), so txtsetup.sif shouldn't be necessary. Should I start over? use fuwi's batch, copy the files from usboot'ed XP to usb stick and try again?Here is my menu.lst:timeout 0default 0title Start XPfind --set-root /ntldrchainloader /ntldr Edited August 5, 2008 by toja92 Link to comment Share on other sites More sharing options...
jaclaz Posted August 5, 2008 Share Posted August 5, 2008 If you are booting a "real" XP on USB, the NTLDR must be a "real" NTLDR, NOT a renamed SETUPLDR.BIN! Solution:replace the NTLDR in the stick ROOT with a "real" NTLDR. jaclaz Link to comment Share on other sites More sharing options...
toja92 Posted August 5, 2008 Author Share Posted August 5, 2008 If you are booting a "real" XP on USB, the NTLDR must be a "real" NTLDR, NOT a renamed SETUPLDR.BIN! Solution:replace the NTLDR in the stick ROOT with a "real" NTLDR. jaclazYES! finally it's working Big thanks once again Link to comment Share on other sites More sharing options...
jaclaz Posted August 6, 2008 Share Posted August 6, 2008 YES! finally it's working Big thanks once again You're welcome. jaclaz Link to comment Share on other sites More sharing options...
Maxfutur Posted October 2, 2008 Share Posted October 2, 2008 (edited) Everything on this thread is so much hard work. I didn't need to hack or modify any file, i just add (link) my sucess proof at USBoot.org, running WinXP SP3 on 1GB FlashDrive.http://img444.imageshack.us/img444/9216/usbootjd6.jpgLife is not that bad... Edited October 3, 2008 by Maxfutur Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now