Help with multiboot usb disk with XP\Win7
#1
Posted 28 September 2012 - 11:32 PM
Im using XBOOT to create the multiboot filesystem with the isos. The Win7 iso boots fine. But when i boot the XP iso i get a bsod 0x7b after the xp boot logo screen. Ive seen this is common due to it looking for the hd drivers or such. Ive tried changing sata from ahci to compatibility. Ive tried the following work arounds.
1.) Using the hex edited NTDETECT.COM, it made no difference. I wasnt sure where it put this, so ive tried right on the root of the usb stick, as well as replacing the one in the root of the ecore.iso, which is the name of the xp image.
2.) Using firadisk in the menu.lst for grub. I always got some error about the executeable not being right or something.
title ecore with firadisk.
find --set-root --ignore-floppies --ignore-cd /images/ecore.iso
map --mem /firadisk.gz (fd0)
map --mem /images/ecore.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
3.)The closest ive gotten is using YUMI which is another multiboot creator app. I would select ISO RUN FROM MEM when i would add the iso before it builds the usb disk. This results in just a black screen after the XP LOGO screen.
Since it seems my problem is getting the ecore.iso to successfully boot using a multiboot usb file structure we'll just concentrate on that and forget about also booting the win7 iso.
Heres the structure of the ecore.iso
And heres the structure of the usb disk after XBOOT formats it...
Now there's plenty of options in xboot, you can add the iso as iso emulation, hard drive emulation. IVe tried both, im not sure what the difference is. You can also use Syslinux or grub as the bootloader, ive tried both.
#2
Posted 29 September 2012 - 07:52 AM
link]Blue Screen of Death 0x0000007B error[/size]
If you get this error when booting from some PCs (e.g. Dell PC or Acer TravelMate laptop) using any XP based USB bootable drive, the problem is usually caused by the WinPE/BartPE OS not being able to access the files on the USB drive. This is usually because of one of two reasons:
1. The version of NTDETECT.COM you are using is resetting the USB controller and thus the USB drive is no longer present. This may well be the problem if UBCD boots when emulated under QEMU but not on some real systems.
FIX: 1a: Use a modified version of NTDETECT.COM which does not reset the USB controller - see here
- OR -
2. You do not have the correct Mass Storage Drivers present in your XP/BartPE image files and so it cannot detect the USB drive when it switches to protected mode.
FIXES:
2a: Try changing the BIOS Menu Hard Disk access mode from 'Enhanced - AHCI' to 'Legacy' or 'Compatible' (mainly a fix for non-USB drive booting though!)
2b: Add mass storage drivers to your XP installation (UBCD4Win v3.60 does this automatically when you use the default build)
2c: Load the XP/BartPE ISO file into a ramdrive and use firadisk.gz. This requires more RAM but avoids the mass storage driver problems - though you may not be able to access all hard drives or USB drives in your system once you have booted to BartPE. See Part 3 below for details.
Try This For making usb disk with XPWin7
http://www.rmprepusb...to-internal-hdd
#3
Posted 29 September 2012 - 09:25 AM
http://www.msfn.org/...omusb-with-gui/
Use latest beta8, you are few mouse clicks from having what you need.
Sardu also supports what you need, give it a try as well.
As for XBoot- it does not support any Windows setup disk. Win7 ISO worked until you saw the setup options, I guess you didn't continue, next you will see an error message that Setup could not find its source files.
#4
Posted 29 September 2012 - 01:04 PM
@ BSoD
link
Try This For making usb disk with XPWin7
http://www.rmprepusb...to-internal-hdd
Tried 1A, 2A and 2C with no luck..
#5
Posted 29 September 2012 - 01:06 PM
I tried Sardu but couldnt find anything about adding my own iso files, just preset stuff they had there. Ill look into Winsetuptousb.Have you tried WinSetupFromUSB?
http://www.msfn.org/...omusb-with-gui/
Use latest beta8, you are few mouse clicks from having what you need.
Sardu also supports what you need, give it a try as well.
As for XBoot- it does not support any Windows setup disk. Win7 ISO worked until you saw the setup options, I guess you didn't continue, next you will see an error message that Setup could not find its source files.
#6
Posted 29 September 2012 - 01:48 PM
Format the USB with RMPartUSB.exe DRIVE=<your number, e.g. 2> FAT32 NTLDR VOLUME=multiPE_XP
Install grub4dos with GrubInst.exe --verbose --skip-mbr-test (hd<your number, e.g. 2>)
Copy these files to USB:
menu.list of grub4dos:
BTW: multiPE_XP.fira is really an ISO, renamed for project internal copyflow reasons from multiPE_XP.iso to multiPE_XP.fira.
USBdir.gif 12.93KB 9 downloads
Peter
BTW: Double topic should be combined!
EDIT: My ntdetect.com is in i386!
#7
Posted 29 September 2012 - 07:13 PM
#8
Posted 30 September 2012 - 08:42 AM
Peter
#9
Posted 30 September 2012 - 09:44 PM
I use only unmodified ntdetect.com
Peter
I understand, but where do you have the file at?
In the root of the usb stick?
In the root your xp iso?
Or in the i386 of your xp iso?
#10
Posted 01 October 2012 - 08:11 AM
I'll check whether that one of them is not necessary.
Peter
EDIT: That one in the root of USB is not necessary.
It seems to be left from some old history and I'll remove.
Peter
#11
Posted 08 October 2012 - 05:55 PM
My goal is to create one usb boot stick where i can choose to boot my xp image or my win7 image. I havent even bothered with the Win7 portion, as im trying to get the XP option to work, without any success.
Here is my XP ISO. Keep in mind, if i burn this to a cd, it boots fine like it should. Or if i use Rufus to create a iso to a bootable usb stick, it again, works fine.
Now like i said, if i use an app like RUFUS, and tell it to make a bootable USB, and select the xp.iso file. It makes a usb drive with the following contents. And it boots successfully like it should.
Now since im trying to create a multiboot usb with a menu(grub4dos) i used RMPrepUSB with the following choices. WinPEv2(Bootmgr), NTFS, Boot as HD Ticked, Copy OS Files after format(C:XPCD). I then installed Grub4dos.
Heres my C:XPCD folder that rmprepusb copies over.
Heres my Menu.Lst with a bunch of different parameters ive tried.
#hd0 is USB #hd1 is real HDD # note: --mem is not needed to load XP.ISO in this step title INSTALL XP - STEP 1 - XP Setup from ISO file using FiraDisknRemember to select both AHCI driver AND FiraDisk driver!!! find --set-root --ignore-floppies --ignore-cd /winvblock.ima.gz map --mem /winvblock.ima.gz (fd0) map --mem /winvblock.ima.gz (fd1) # if this loads the ISO into memory slowly - then you need to run WinContig on the ISO file on your USB drive to speed it up! map /XP.iso (0xff) || map --mem /XP.iso (0xff) map (hd0) (hd1) map (hd1) (hd0) map --hook root (0xff) chainloader (0xff)/i386/setupldr.bin || chainloader (0xff)/I386/SETUPLDR.BIN || chainloader (0xff) pause If you have an AHCI HDD you MUST press F6 when prompted, then hit S to select WinVBlock or FiraDisk (recommended) driver, then hit S again to select your AHCI driver (e.g. Atom Netbook=WinVBlock+ICH7R/DH, DQ67 series 6=FiraDisk+Desktop,Workstation,Server Express) pause Now quickly hit [Enter] twice (and then F6 if you need to install an AHCI driver) ... #hd0 is USB #hd1 is real HDD #boot.ini # note: --mem is used first - if not enough memory then retry try without loading iso into ramdrive (but may get BSOD) title INSTALL XP - STEP 2 - Install XP from ISO file (phase 2)n2nd phase of setup will complete the install and reboot from the hard disk find --set-root --ignore-floppies --ignore-cd /winvblock.ima.gz # we must load the ISO into memory, so it will be slow to load here ... map --mem /XP.iso (0xff) || map /XP.iso (0xff) map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (hd0)+1 pause Press ENTER and then unplug this USB drive... title INSTALL XP - STEP 1A (USE IF PREVIOUS STEP 1 GAVE BSOD 7B ERROR) - XP Setup from ISO file using FiraDisknRemember to select both AHCI driver AND FiraDisk driver!!! find --set-root --ignore-floppies --ignore-cd /winvblock.ima.gz map --mem /winvblock.ima.gz (fd0) map --mem /winvblock.ima.gz (fd1) map --mem /XP.iso (0xff) map (hd0) (hd1) map (hd1) (hd0) map --hook root (0xff) chainloader (0xff)/i386/setupldr.bin || chainloader (0xff)/I386/SETUPLDR.BIN || chainloader (0xff) pause If you have an AHCI HDD you MUST press F6 when prompted, then hit S to select WinVBlock or FiraDisk (recommended) driver, then hit S again to select your AHCI driver (e.g. Atom Netbook=WinVBlock+ICH7R/DH, DQ67 series 6=FiraDisk+Desktop,Workstation,Server Express) pause Now quickly hit [Enter] twice (and then F6 if you need to install an AHCI driver) ... title INSTALL XP - STEP 2A FOR LOW RAM SYSTEMS (FASTER) - direct ISO mapnDoes not work on some systems - e.g. some Atom CPU based netbooks map --mem /winvblock.ima.gz (fd0) map --mem /winvblock.ima.gz (fd1) map /XP.iso (0xA0) checkrange 0x80 read 0x8280 && map (hd0) (hd1) checkrange 0x80 read 0x8280 && map (hd1) (hd0) map --hook map --rd-size=2048 map --mem (rd)+4 (0x55) map --rehook write (0x55) #!GRUB4DOSx00v=1x00XP.isox00xA0x00 root (hd0,0) chainloader (hd0)+1 pause Keep the USB drive connected until Setup completes! title Boot XP ISO test find --set-root --ignore-floppies --ignore-cd /xp.iso map --mem /firadisk.gz (fd0) map --mem /xp.iso (0xff) map --hook root (0xff) chainloader (0xff) title Boot from 1st Hard Disk nBoot from MBR of first hard disk map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (hd0)+1 rootnoverify (hd0) title List Mass Storage PCI IDs (runs checkpci from FreeDos)nMake a note of the PCI IDs listed and then check them against the TXTSETUP.OEM entries map --mem /PCIID.ima.gz (fd0) map --hook root (fd0) chainloader (fd0)+1
What happens is i either get a BSOD 7B error, or the screen just goes black after the windows xp boot logo. Ive tried all the different choices of selecting firadiskwinbvblock in conjuntion with then selecting my SATA AHCI Drivers. I dont understand if i can successfully create the usb boot disk by itsself with rufus, shouldnt i be able to do the same thing with a multi boot menu? Just choosing the directory to boot from? It doesnt necesarrily have to be a ISO, if extracting the contents of the iso to a folder and then calling it to boot from there with grub4dos works, thats fine aswell.
Any help is appreciated.
Edited by emerica243, 08 October 2012 - 06:15 PM.
#12
Posted 08 October 2012 - 06:20 PM
http://www.msfn.org/...ndows-from-usb/
The WinsetupfromUSB has a few tens of thousands happy users, so it is "strange" (though of course possible) that it doesnt work for you. (BTW there are two vesions of WinsetupfromUSB withGUI, the "historical" one and the Beta one that use different approaches)
BUT there also two other methods, BOTH tested by several people succesfully, one with the .iso loaded in ram (plese read as firadisk) and one with direct mapping (please read as Winvblock):
http://www.msfn.org/...aded-iso-image/
http://www.msfn.org/...rom-a-iso-file/
Now it is IMprobable that you are failing with all three (actually four) of them.
BUT from the screenshot you posted your "source" .iso (ecore.iso) is NOT a plain XP install .iso (which is a pre-requisite for most of these methods) as it seemingly includes a PE 1.x.
However since you have Rufus working why don' t you simply add to a stick made with it a choice for grub4dos and from the latter a choice to load the Windows 7 .iso (and add to it the Windows 7 .iso)?
Wonko
#13
Posted 08 October 2012 - 06:33 PM
If this fails, ill follow your links. How would i do the following option that youre lastly suggesting?
I guess i can create the rufus stick that works fine. Then add the windows 7 iso onto hte stick then install grub4dos, but what entries would i make to be able to boot both of them?
#14
Posted 08 October 2012 - 06:52 PM
My first attempt with Winsetupfromusb has been successfull!!
Thanks Wonko!
My only last question is, is there some utility to easily modify/edit Grub4dos menugui to make it look nice. Add background images extra descriptive text when youre highlighted on the choices, etc.
Also, when i did the Winsetupfromusb, i formatted my drive with rmprep as NTLDR, what the difference in formattin the drive with NTLDR or BOOTMGR?
Edited by emerica243, 08 October 2012 - 06:53 PM.
#15
Posted 08 October 2012 - 07:12 PM
A typical MBR will load and execute the first sector of the active partition. Thus, the first sector of the active partition must contain code for loading and executing a proper bootloader, such as NTLdr or BootMgr. Newer Windows versions use BootMgr....
Also, when i did the Winsetupfromusb, i formatted my drive with rmprep as NTLDR, what the difference in formattin the drive with NTLDR or BOOTMGR?
#16
Posted 08 October 2012 - 07:20 PM
UPDATE:
My first attempt with Winsetupfromusb has been successfull!!
Thanks Wonko!
Well this is surprising , since the winsetupfromUSB does not use the Windows PE approach and it would really be a coincidence that it works with it.
Possibly the stick is now working like a "normal" XP setup .
Which version winsetupfromUSBwithGUI did you use?
Yes/no, in the sense that there are but maybe not doing everything you are asking for, however you want to search for GFXboot on the board.My only last question is, is there some utility to easily modify/edit Grub4dos menu\gui to make it look nice. Add background images \ extra descriptive text when youre highlighted on the choices, etc.
It installs the bootsector invoking NTLDR, but you can use bootsect.exe from Windows 7 to switch between NTLDR (/nt52) and BOOTMGR (/nt60)Also, when i did the Winsetupfromusb, i formatted my drive with rmprep as NTLDR, what the difference in formattin the drive with NTLDR or BOOTMGR?
But if you used WinsetupfromUSBWithGUI it shouldn't make any difference as you should have grub4dos installed to the MBR, booting directly (bypassing the boosector) the grldr (and conversely a menu.lst).
Wonko
#17
Posted 08 October 2012 - 10:53 PM
#18
Posted 09 October 2012 - 08:18 AM
Sure , but still nothing compared with what you can make with GFXboot:GFXMenu is not really required any more as the latest 2012 versions of chenall's grub4dos can use splashimage with hi-res hi-colour .bmp images. Help text can be added for each menu item by editing the title line of each menu item - see http://www.rmprepusb...orials/grub4dos
http://reboot.pro/15689/
I thought that the OP was after the (completely UNneeded IMHO) "eye-candy".
And old "quick comparison":
http://www.msfn.org/...nce/page__st__5
(low-resolution) splashimage vs. GFXboot
Apart from the (BTW nice) boobs , with splashimage you are still "costrained" with fonts, no amimations, no clock, etc.
Wonko
#19
Posted 09 October 2012 - 12:32 PM
#20
Posted 09 October 2012 - 01:00 PM
Reading (attentively) the first post of the thread:THanks so much guys. This helped me all so muich to get my stuff working. I got one last question though, is how would i go about using winsetupfromusb with multiple installationssources? It only shows one box per type of source
http://www.msfn.org/...omusb-with-gui/
might give you some ideas, then possibly reading the docs, would further help you.
Wonko
#21
Posted 09 October 2012 - 03:59 PM
#22
Posted 09 October 2012 - 04:08 PM
#23
Posted 09 October 2012 - 04:14 PM
#24
Posted 09 October 2012 - 04:21 PM
Black, strong, two spoons of sugar, please.
Wonko
#25
Posted 09 October 2012 - 04:25 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users