cdob Posted September 20, 2009 Author Posted September 20, 2009 Cdob's boot-the-loop is an alternative to mapping counted sectors, if you can write the sizes into the cd at build time:Thanks for the reminder. That way menu.lst dosn't have to contain sector numbers.Not integrated yet. Need some time to settle current features, maybe next year.@demontagerDon't use addional mapping. Try title Load PLoP boot manager - USBfind --set-root /boot/plpbt.binkernel /boot/plpbt.binIn addition you may configure PLoP plpbt.bin http://www.plop.at/en/bootmanager.html#plpcfgbtplpcfgbt stm=hidden cnt=on cntval=1 dbt=usb plpbt.bin@kDnThanks for VMSCSI report, fixed.@TigerWhiteSorry no further idea, don't use I VirtualBox. fd0 and fd1 seems a good work arround.
doveman Posted September 27, 2009 Posted September 27, 2009 Successful tested for Install of XP-SP3 on real hardware (including internal multi-cardreader) Did not use USB-stick.AFTER format of Harddisk install partition, I installed grub4dos as boot option in boot.ini menu using BOOT_IMG.exeThen copied folder Inst with XP_INST.IMA and XP_RAM.ISO to Harddisk.Made entry in menu.lst without the mapping for USB-sticktitle Loading XP RAM install - /Inst/XP_RAM.ISOls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISOmap --mem /Inst/XP_INST.IMA (fd0)map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_RAM.ISO (0xFF)# map (hd0) (hd1)# map (hd1) (hd0)map --hookchainloader (0xFF)/I386/SETUPLDR.BINI tried this and didn't have much luck. I don't use boot.ini, so I just added those lines to my existing menu.lst. My ISO is slightly tweaked with nLite, with the XUpdatePack-SP3, a few individual drivers and some program addons.The first line "ls || find" didn't seem to work and I had to manually enter root (hd0,0) for the rest of it to be able to find the files.After mapping XP_RAM.ISO I got:Autodetect number of heads failed: Use default value 255Autodetect sectors per track failed: Use default value 63but perhaps that doesn't matter.Aftermap --hookchainloader (0xFF)/I386/SETUPLDR.BINI gotError 19: Cannot mount selected partition and that was the end of that!
cdob Posted September 27, 2009 Author Posted September 27, 2009 I just added those lines to my existing menu.lst.Which menu.lst sections does work at existing menu.lst? Do you use find already?Which boot configuration do you use?Do you boot from USB? Do you boot from internal hard disk?How do you start grub4dos? Which directory and files did you add?Which hardware: motherboard and BIOS do you use?chainloader (0xFF)/I386/SETUPLDR.BINI gotError 19: Cannot mount selected partitionWhich grub4dos do you use? Try a current version http://nufans.net/grub4dos/How do you build the ISO image?In addition: /I386/SETUPLDR.BIN is case sensitive. Does exist a file \I386\SETUPLDR.BIN ?
doveman Posted September 27, 2009 Posted September 27, 2009 HiWhich menu.lst sections does work at existing menu.lst? Do you use find already?Which boot configuration do you use?Do you boot from USB? Do you boot from internal hard disk?How do you start grub4dos? I have grub installed on my HD MBR and the menu.lst on (hd0,0), which is normally just used to allow me to dual-boot between two different XPs.I don't normally use find and just boot from internal HD.Which directory and files did you add?I expanded setup.exe from my nLited I386 folder to setupORG.exe and put that in the IMA. Then I made a folder Inst on my (hd0,0) and put the IMA and ISO in there.Which hardware: motherboard and BIOS do you use?Motherboard is Gigabyte GA-8I848PM. BIOS F5How do you build the ISO image?With nLite.In addition: /I386/SETUPLDR.BIN is case sensitive. Does exist a file \I386\SETUPLDR.BIN ?YesI'll try a newer grub4dos and see if that helps. Shows v0.9.7 at the moment
ilko_t Posted September 27, 2009 Posted September 27, 2009 You seem to be using GNU GRUB, which is NOT the needed Grub4DOS. Install and use the latter:http://diddy.boot-land.net/grub4dos/Grub4dos.htm
doveman Posted September 27, 2009 Posted September 27, 2009 OK. I replaced grldr with 0.4.4 dated 20-06-09 and it does work better now, although the XP setup only shows "Setup is checking your hardware config" at the top of the screen before going to a blank screen and giving up.Actually, trying to install from CD/DVD doesn't work any better but I put that down to a dodgy drive/IDE port. The only way I've got to work so far is from a USB stick using USB_MultiBoot_10 (using the same files as I burnt to DVD and used to make XP_RAM.iso).
cdob Posted September 28, 2009 Author Posted September 28, 2009 Boot different XP ISO images from one USB stick or hard disk.Edit txtsetup.oem, uncomment the linedll = setup, ISOimage.txtThere are two approaches:One add different XP ISO files but one floppy imageExample: /Inst/XP_PRO.ISO and /Inst/XP_HOME.ISOtitle Loading XP PRO install - write /Inst/XP_PRO.ISOls /Inst/XP_PRO.ISO || find --set-root /Inst/XP_PRO.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_PRO.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_PRO.ISO\n;\n;\n;chainloader (0xFF)/I386/SETUPLDR.BINtitle Loading XP HOME install - write /Inst/XP_HOME.ISOls /Inst/XP_HOME.ISO || find --set-root /Inst/XP_HOME.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_HOME.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_HOME.ISO\n;\n;\n;chainloader (0xFF)/I386/SETUPLDR.BINOr use a multi boot ISO Image, that's one ISO file, one floppy imageTo create a ISO Image compare Multi-Boot CD/DVDs http://www.msfn.org/board/index.php?showforum=82title Loading XP PRO install - write /Inst/XP_RAM.ISOls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_RAM.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_RAM.ISO\n;\n;\n;chainloader (0xFF)/XPPR/SETUPLDR.BINtitle Loading XP HOME install - write /Inst/XP_RAM.ISOls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_RAM.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_RAM.ISO\n;\n;\n;chainloader (0xFF)/XPHM/SETUPLDR.BINI replaced grldr with 0.4.4 dated 20-06-09 and it does work better nowYes, grub4dos support ISO files, ancient grub dosn't do this. the XP setup only shows "Setup is checking your hardware config" at the top of the screen before going to a blank screen and giving up.a dodgy drive/IDE port.Setup require stable hardware, this includes the ports.A i848 support SATA ports too. Can you disable broken port at BIOS?
doveman Posted September 28, 2009 Posted September 28, 2009 Setup require stable hardware, this includes the ports.A i848 support SATA ports too. Can you disable broken port at BIOS?I've got one SATA HD and one IDE DVD drive.After extensive testing I've found the following:XP setup (whether on CD, HD or USB) get's stuck at the "Setup is detecting your hardware configuration" unless I disable my SATA HD. If I disable it, it works fine (but of course then I've got nothing to install XP on!)My USB keyboard doesn't work in XP setup or in grub4dos 0.4.4 booted from USB stick. It does work in grub4dos 0.4.4 booted from HD. USB Keyboard support is enabled in BIOS. I tried all 4 ports on the backplate. Also, booting grub4dos from USB stick requires me to send a break at the grub4dos menu by pressing the power button momentarily, as it won't even respond to the PS/2 keyboard otherwise. This is not necessary when booting grub4dos from HD.So basically, my motherboard sucks!XP_RAM.ISO still won't work from SATA HD even with the IDE DVD drive disabled. It does work from USB stick with SATA HD disabled (but takes too long to load even a cut-down 170MB SP2). The only XP setup that's worked with the SATA drive enabled is the USB_Multiboot_10 created one on the USB stick, so I'm wondering what's different about this that allows it to work.
kDn Posted October 1, 2009 Posted October 1, 2009 Need to correct some lines to more right work:http://www.msfn.org/board/index.php?s=&...st&p=881387And activate this file, uncomment the linedll = setup, ISOimage.txtneed to read:And activate this file, uncomment the linedll = setup, ISOimage.iniIn XP_INSTF.IMA\SETUP\ISOimage.ini change strings:;directory and name of ISO image to mount\Inst\XP_RAM.ISOto\Inst\XP_RAM.ISO;directory and name of ISO image to mountbecouse menu entry likewrite --offset=0 (fd0)/setup/ISOimage.ini \\Test\\XP_123.ISO\n;\n;\n;give something like:\Test\XP_123.ISO;;;of ISO image to mount\Inst\XP_RAM.ISOand wrong work setup.cmd script...
Siginet Posted October 4, 2009 Posted October 4, 2009 (edited) I'm having trouble getting a multiboot iso to work.I have created a multiboot ISO with XPPC and XOHO. which represent XP Pro Corp with DriverPacks and XP Home OEM without DriverPacks.Neither of them seem to be working.I get to the point where it mounts the ISO which seems like it is successful because it takes about a minute to do it. but then the computer just restarts and never goes into txtmode setup. Here is what I have done:I placed the floppy image on the USB stick: \Inst\XP_INST.IMAI placed my ISO here on the USB Stick: \Inst\XP_RAM.isoI uncommented this in the txtsetup.oem inside of \Inst\XP_INST.IMA:dll = setup, ISOimage.iniHere is my menu.lst:title Windows XP Multiboot ISO Setuproot (hd0,0)configfile /XP_RAM.lstsavedefaultAnd here is my XP_RAM.lst:title XP PRO install - write /Inst/XP_RAM.ISOls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_RAM.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_RAM.ISO\n;\n;\n;chainloader (0xFF)/XPPC/SETUPLDR.BINtitle XP HOME install - write /Inst/XP_RAM.ISOls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISOmap --mem /Inst/XP_INST.IMA (fd0)#optional, (fd1) required at some BIOS#map --mem /Inst/XP_INST.IMA (fd1)map --mem /Inst/XP_RAM.ISO (0xFF)map --hookwrite --offset=0 (fd0)/setup/ISOimage.ini \\Inst\\XP_RAM.ISO\n;\n;\n;chainloader (0xFF)/XOHO/SETUPLDR.BINThe ISO itself is only 680 MB.Any ideas?Edit:Further info... I created the multiboot structure using Windows XP PowerPacker. Which isn't much different in how it creates a multiboot disk then unattended.msfn.org Edited October 5, 2009 by Siginet
kDn Posted October 4, 2009 Posted October 4, 2009 (edited) Another bugfix needed in file mkISO_RAMload_sort.cmd :... echo ./WIN* 9978 echo ./win* 9978 echo ./BOOTFONT.BI? 9978 echo ./%boot_x64%/* 1100...Bold - line to insertFOR %%a in (WIN* bootfont.bi?) do (call :sort_boot %%a)change to:rem FOR %%a in (WIN* bootfont.bi?) do (call :sort_boot %%a)or remove, becouse that line not useful and provide wrong sorting like that:.//WIN51 9899.//WIN51IP 9898.//WIN51IP.SP3 9897.//BOOTFONT.BIN 9896 Edited October 5, 2009 by kDn
cdob Posted October 5, 2009 Author Posted October 5, 2009 but then the computer just restartsThis indicates: setupdlr.bin dosn't find ntdetect.com.using Windows XP PowerPacker Which bootloader do you use by default? Can you try grub4dos?Do you hexedit setupldr.bin? i386 --> XPPC I wonder, does some configurations require root (0xFF) ? Tryroot (0xFF)chainloader (0xFF)/XPPC/SETUPLDR.BINTry the CD image bootloader toochainloader (0xFF)@kDnThanks for ISOimage.ini corrections. Yes, change this settings.Correct or false sorting is confusing. The sort file is one part only. The builded ISO image is importand.Mentioned function :mk_sort_list_static is not used anymore. This is a reference from last year. I'll check .//BOOTFONT.BIN again, as far as I remember // is replaced by / internally.
kDn Posted October 5, 2009 Posted October 5, 2009 cdobMentioned function :mk_sort_list_static is not used anymore. This is a reference from last year.I see that, but I say about :mk_sort_list_dynamic function. With original script generated file sort.txt like that:..../WIN* 9978./win* 9978....//WIN51 9899.//WIN51IP 9898.//WIN51IP.SP3 9897.//BOOTFONT.BIN 9896...files WIN51, WIN51IP, WIN51IP.SP3 sorted correct becouse have line ./WIN* 9978, but BOOTFONT.BIN not correct and have too hight LBA in ISO. Check this, please.FYI: I using mkisofs 2.01.01a65 (i686-pc-cygwin) Copyright © 1993-1997 Eric Youngdale © 1997-2009 Jцrg Schilling.
Siginet Posted October 5, 2009 Posted October 5, 2009 (edited) but then the computer just restartsThis indicates: setupdlr.bin dosn't find ntdetect.com.using Windows XP PowerPacker Which bootloader do you use by default? Can you try grub4dos?Do you hexedit setupldr.bin? i386 --> XPPC I wonder, does some configurations require root (0xFF) ? Tryroot (0xFF)chainloader (0xFF)/XPPC/SETUPLDR.BINTry the CD image bootloader toochainloader (0xFF)It works when I create a cd/dvd. If I remember correctly powerpacker uses bcdw for the boot menu. It references SETUPLDR.BIN files to launch each os.The only main difference with powerpacker and the normal method is powerpacker has no need for the XPPC.BIN files on the root of the disk. It launches directly from the setupldr.bin files. Just like grub4dos is. So I can't figure out what may be going wrong. I tried my old SP2 disk and it works fine. But whenever I try a powerpack disk it doesn't. Could someone else verify if they have the same prob with powerpacker? If it is a bug in powerpacker then I can fix it. Edited October 6, 2009 by jaclaz
jaclaz Posted October 5, 2009 Posted October 5, 2009 (edited) It works when I create a cd/dvd. If I remember correctly powerpacker uses bcdw for the boot menu. It references SETUPLDR.BIN files to launch each os.The only main difference with powerpacker and the normal method is powerpacker has no need for the XPPC.BIN files on the root of the disk. It launches directly from the setupldr.bin files. Just like grub4dos is. So I can't figure out what may be going wrong. I tried my old SP2 disk and it works fine. But whenever I try a powerpack disk it doesn't. Could someone else verify if they have the same prob with powerpacker? If it is a bug in powerpacker then I can fix it.You joking right? BCDW fixes hardcoded paths in setupldr.bin on-the-fly.You need to hexedit SETUPLDR.BIN yourself, unless you use \i386 (CD/ISO) or /minint (HD).jaclaz Edited October 5, 2009 by jaclaz
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