Sep 6 2009, 01:04 PM Post
#1 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 347 Joined: 29-September 05 Member No.: 74988 |
Install XP from a RAM loaded ISO image. Use a default XP ISO image. Addional files are at a F6 virtual floppy. After years of search a new driver is developed: FiraDisk: File/RAM Disk driver for Windows. http://www.boot-land.net/forums/index.php?showtopic=8804 The driver is at early development. The driver does mount a grub4dos RAM drive. That's awsome and can be used at a lot of conditions. Use grub4dos to load a virtual floppy and XP installation image to RAM first. The virtual floppy is used at F6 stage. 32 bit FiraDisk drivers are loaded by default.You don't have to press F6. You may press F6 to get selection choice. There is a fake setup.exe used after first reboot. The idea is used from drivers from CD The integrated version is changed: this fake setup.exe launch a batch setup.cmd. There are includeded the source code, a hidden window processed setup.exe. And a visible window debug version setup_dbg.exe. To use this version rename this to setup.exe. The fake setup calls the original, renamed setup: setupORG.exe The original version is not includede. Therefore edit the floppy image and add the file: Expand setup.ex_ from your windows version CODE expand.exe SETUP.EX_ setupORG.exe copy the file to \setup\I386\setupORG.exe or \setup\AMD64\setupORG.exe BTS DriverPacks method 2 are supported. http://driverpacks.net/ This use a fake setup and setupORG.exe too. If you use a DriverPacks version, copy this setupORG.exe to floppy image. You may add a file \WINNT.SIF too. Used files at USB: \Inst\XP_INST.IMA \Inst\XP_RAM.ISO A basic XP_INST.IMA is attached. Add setuporg.exe as described. XP_RAM.ISO is a default XP ISO image. This file is loaded to RAM. grub4dos menu.lst CODE title Loading XP RAM install - /Inst/XP_RAM.ISO Assumptions:ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO map --mem /Inst/XP_INST.IMA (fd0) #(fd1) optional, required at some BIOS #map --mem /Inst/XP_INST.IMA (fd1) map --mem /Inst/XP_RAM.ISO (0xFF) map (hd0) (hd1) map (hd1) (hd0) map --hook chainloader (0xFF)/I386/SETUPLDR.BIN hd0 : booted USB device hd1 : windows target device Tested at virtual machine. Has to be tested at real hardware: several hard disks, several USB drives, internal multi card reader As wimb indicated, comment this if you read and install to the same hard disk. CODE #map (hd0) (hd1) #map (hd1) (hd0) XP installation from CD and remapped drive order: Files are not deleted from installation media. Setup creates a valid boot.ini. No need to fix boot.ini. Boot once from USB. Setup may assign letter c: to another device. C: is not available for new installed windows. Setup.cmd deletes MountedDevices. At reboot windows assign letters again: c:\windows txtsetup.oem copy a flag file fixDrive.USB to activate this behaviour If you don't need this behaviour, comment the lines CODE ;dll = setup, fixDrive.USB Setup.cmd uses ImDisk to mount the ISO file. http://www.ltr-data.se/opencode.html#ImDisk The name \Inst\XP_RAM.ISO is the internal default. The name can be configured: The floppy image contains a file \setup\ISOimage.ini. Edit this file. Next the file $winnt$.inf is adjusted. Windows setup continues and use the mounted ISO file. Install from USB to USB is possible too. This part based on Dietmar's tutorials. http://www.winusb.de Read \USB32\to_usb.txt for details. At windows setup press F6 and load firadisk and all usb drivers. In addition there is optional approach to lower RAM usage, e.g. use a 600mb image at 512mb RAM. Integrated mkISO_RAMload_sort.cmd creates a sorted ISO image: boot and textmode files are in front of media. Mkisofs.exe, dd.exe and gsar.exe are used to the create the ISO image. http://cdrecord.berlios.de/private/cdrecord.html http://www.student.tugraz.at/thomas.plank/ dd.exe http://www.chrysocome.net/dd gsar.exe http://home.online.no/~tjaberg Given a sorted ISO image, OEM at end of ISO image. Use grub4dos map to load first part to RAM only. Integrate all \I386 and \AMD64 files. IsoBuster Free does list LBA (Logical Block Address) of files. http://www.isobuster.com/license-models.php The LBA show the file location. Calculate N: LBA of file and add file length Use this number to load image to RAM. Example: load the first 234567 sectors to RAM. Remember one CD sector holds 2048 byte data CODE title Loading XP RAM install - /Inst/XP_RAM.ISO (0xFE)+234567 XP_RAM.ISO has to be continuous, defrag a splitted file.ls /Inst/XP_RAM.ISO || find --set-root /Inst/XP_RAM.ISO map --mem /Inst/XP_INST.IMA (fd0) map /Inst/XP_RAM.ISO (0xFE) map --hook map --mem (0xFE)+234567 (0xFF) map --hook chainloader (0xFF)/I386/SETUPLDR.BIN v02: firadisk updated: map to (fd0) only. F6 does work 64 bit prepared, unfortunately BSOD 0x7b at 64 bit firadisk added flag file fixDrive.USB added config file ISOimage.ini under construction: install from USB to USB v03: added: install from USB to USB added: added sorted files added: multiboot ISO image, sub directory v04: ISOimage.ini is enabled by default enhanced: sorted files, experimental RAMboot.lst created This post has been edited by cdob: Oct 11 2009, 02:14 AM Attached File(s) |
| | |
cdob Install XP from a RAM loaded ISO image Sep 6 2009, 01:04 PM
ilko_t That's awesome cdob, thanks
A few notes:
D... Sep 6 2009, 02:38 PM
cdob QUOTE (ilko_t @ Sep 6 2009, 03:38 PM) Dir... Sep 6 2009, 04:04 PM
wimb Very interesting development cdob
Thanks for ... Sep 7 2009, 01:24 AM
jaclaz Very good!
May I ask why the need to map XP_... Sep 7 2009, 02:31 AM
cdob QUOTE (wimb @ Sep 7 2009, 02:24 AM) Thank... Sep 7 2009, 04:50 AM
TigerWhite QUOTE (cdob @ Sep 7 2009, 04:20 PM) This ... Sep 16 2009, 08:07 AM
wimb Successful tested for Install of XP-SP3 on real ha... Sep 7 2009, 05:17 AM
ilko_t QUOTE (wimb @ Sep 7 2009, 04:17 AM) ...
M... Sep 7 2009, 05:45 AM

wimb QUOTE (ilko_t @ Sep 7 2009, 01:45 PM) Wha... Sep 7 2009, 06:27 AM
doveman QUOTE (wimb @ Sep 7 2009, 12:17 PM) Succe... Sep 27 2009, 10:56 AM
cdob QUOTE (doveman @ Sep 27 2009, 11:56 AM) I... Sep 27 2009, 12:36 PM
doveman Hi
Which menu.lst sections does work at existing ... Sep 27 2009, 03:31 PM
cdob QUOTE (wimb @ Sep 7 2009, 06:17 AM) TXT-m... Sep 7 2009, 12:38 PM
wimb Including the 5 small DriverPacks (C CP L M and W)... Sep 8 2009, 12:39 AM
jaclaz QUOTE (wimb @ Sep 8 2009, 08:39 AM) Inclu... Sep 8 2009, 01:04 AM
wimb SOLVED the problem of missing file setupORG.exe in... Sep 8 2009, 09:19 AM
cdob QUOTE (wimb @ Sep 8 2009, 09:19 AM) setup... Sep 8 2009, 01:41 PM
maanu QUOTE (cdob @ Sep 8 2009, 02:41 PM) Added... Sep 15 2009, 12:46 PM
demontager Could somebody help me figure out what is my prob... Sep 16 2009, 05:32 AM
uid0 QUOTE (maanu @ Sep 15 2009, 07:46 PM) 1. ... Sep 16 2009, 05:50 AM
tribat This didn't work that great, when the first st... Sep 10 2009, 11:03 AM
ilko_t QUOTE (tribat @ Sep 10 2009, 10:03 AM) ..... Sep 10 2009, 11:24 AM
tribat QUOTE (ilko_t @ Sep 10 2009, 11:24 AM) QU... Sep 10 2009, 01:03 PM
tribat QUOTE (tribat @ Sep 10 2009, 01:03 PM) QU... Sep 12 2009, 09:08 AM
jaclaz Thread Pinned (Sticky).
jaclaz Sep 12 2009, 09:42 AM
ilko_t @demontager
1) How large is the ISO file?
2) How ... Sep 16 2009, 05:51 AM
demontager ilko_t :
1. XP_RAM.ISO size is 714MB
2.I set for ... Sep 16 2009, 06:06 AM
ilko_t 1) You may have to wait longer for 700MB ISO, perh... Sep 16 2009, 07:31 AM
cdob QUOTE (maanu @ Sep 15 2009, 01:46 PM) HOW... Sep 16 2009, 12:18 PM
TigerWhite QUOTE (cdob @ Sep 17 2009, 12:48 AM) @Tig... Sep 20 2009, 08:35 AM
demontager After putting real setup.exe all works, but speed ... Sep 16 2009, 02:30 PM
kDn Little bug in TXTSETUP.OEM (XP_INST.IMA)
Need to ... Sep 16 2009, 03:12 PM
cdob QUOTE (uid0 @ Sep 16 2009, 06:50 AM) Cdob... Sep 20 2009, 01:59 PM
ilko_t You seem to be using GNU GRUB, which is NOT the ne... Sep 27 2009, 03:44 PM
doveman OK. I replaced grldr with 0.4.4 dated 20-06-09 and... Sep 27 2009, 05:25 PM
cdob Boot different XP ISO images from one USB stick or... Sep 28 2009, 01:54 AM
doveman QUOTE (cdob @ Sep 28 2009, 08:54 AM) Setu... Sep 28 2009, 10:35 AM
kDn Need to correct some lines to more right work:
htt... Oct 1 2009, 02:00 PM
Siginet I'm having trouble getting a multiboot iso to ... Oct 4 2009, 03:51 PM
kDn Another bugfix needed in file mkISO_RAMload_sort.c... Oct 4 2009, 05:57 PM
cdob QUOTE (Siginet)but then the computer just restarts... Oct 5 2009, 03:56 AM
Siginet QUOTE (cdob @ Oct 5 2009, 04:56 AM) QUOTE... Oct 5 2009, 11:00 AM
jaclaz QUOTE (Siginet @ Oct 5 2009, 07:00 PM) It... Oct 5 2009, 12:34 PM
wimb QUOTE (Siginet @ Oct 5 2009, 07:00 PM) Th... Oct 5 2009, 02:08 PM
kDn cdob
QUOTE Mentioned function :mk_sort_list_static... Oct 5 2009, 09:56 AM
cdob QUOTE (kDn @ Oct 5 2009, 09:56 AM) BOOTFO... Oct 5 2009, 02:55 PM
jaclaz QUOTE (cdob @ Oct 5 2009, 10:55 PM) Attac... Oct 5 2009, 05:22 PM
Siginet QUOTE (jaclaz @ Oct 5 2009, 06:22 PM) Wou... Oct 5 2009, 05:54 PM
Siginet I'm pretty sure powerpacker does patch the fil... Oct 5 2009, 04:49 PM
Siginet Woops... I can put my foot in my mouth now. I ju... Oct 5 2009, 09:12 PM
jaclaz QUOTE (Siginet @ Oct 6 2009, 05:12 AM) I ... Oct 6 2009, 03:46 AM
Siginet QUOTE (jaclaz @ Oct 6 2009, 03:46 AM) You... Oct 6 2009, 10:13 AM
kDn very experimental version works fine Oct 6 2009, 02:13 AM
cdob QUOTE (Siginet @ Oct 6 2009, 10:13 AM) 1.... Oct 6 2009, 12:07 PM
jaclaz The rdisk(1) seems pretty much like the same (z-1)... Oct 6 2009, 12:11 PM
Siginet BTW I just thought of some more important info tha... Oct 6 2009, 12:38 PM
ilko_t QUOTE (Siginet @ Oct 6 2009, 10:38 AM) BT... Oct 6 2009, 01:12 PM
cdob QUOTE (Siginet @ Oct 6 2009, 12:30 PM) I ... Oct 6 2009, 01:26 PM
Siginet The HD swap trick worked:
CODEmap (hd0) ... Oct 6 2009, 03:29 PM
kDn Maybe this can be usefull:
QUOTE timeout 30
defau... Oct 6 2009, 03:59 PM
Siginet You know what... I feel so dumb. The unattended a... Oct 6 2009, 05:23 PM
Siginet Here's a few questions I have:
1. If I loaded... Oct 6 2009, 06:27 PM
jaclaz QUOTE (Siginet @ Oct 7 2009, 01:23 AM) I ... Oct 7 2009, 02:57 AM
kDn cdob
What you think about that?
CODEtitle Test ge... Oct 7 2009, 03:08 AM
maanu reply to post#70
can you please explain the grub4... Oct 7 2009, 12:50 PM
kDn QUOTE (maanu @ Oct 7 2009, 09:50 PM) repl... Oct 7 2009, 01:18 PM
cdob @kDn
Thanks, I like the idea.
The (fd0)/EMPTY512.... Oct 7 2009, 01:33 PM
cdob QUOTE (kDn @ Oct 7 2009, 03:08 AM) What y... Oct 11 2009, 02:40 AM
kDn cdob
All works pretty good. Thanks a lot for yours... Oct 11 2009, 05:03 PM
kDn cdob
Another some little changes maded in setup sc... Oct 13 2009, 12:36 AM
kDn On some systems USB do not initialized properly, t... Oct 19 2009, 09:36 AM
kDn If you want to use multiple unattended-mode instal... Oct 25 2009, 01:40 PM
robekia Excellent work, i appreciate that effort so much.
... Oct 27 2009, 07:54 AM
cdob QUOTE (kDn @ Oct 13 2009, 01:36 AM) Anoth... Oct 27 2009, 11:13 AM
robekia QUOTE (cdob @ Oct 27 2009, 08:13 PM) Wind... Oct 27 2009, 11:59 AM
cdob QUOTE (robekia @ Oct 27 2009, 12:59 PM) t... Oct 27 2009, 12:34 PM
robekia Sorry for late reply because i was out for some re... Oct 29 2009, 04:12 AM
kDn cdob
QUOTE Diff are spaces in most cases
Yes, you ... Oct 27 2009, 03:28 PM
cdob @kDn
It's fun to read http://forum.ru-board.co... Oct 30 2009, 02:59 PM
tjcinnamon Is it possible to use this for other applications ... Nov 5 2009, 01:19 PM
jaclaz QUOTE (tjcinnamon @ Nov 5 2009, 08:19 PM)... Nov 5 2009, 01:55 PM
travis_san I'm getting errors in the text setup that say ... Nov 9 2009, 05:47 PM
ilko_t Please post/compress&attach \I386\tx... Nov 9 2009, 05:54 PM
cdob QUOTE (travis_san @ Nov 9 2009, 06:47 PM)... Nov 9 2009, 06:32 PM
jaclaz @cdob
please be aware that the board "linkin... Nov 10 2009, 03:40 AM
kDn cdob
Sorry for the late answer, I was too busy las... Nov 10 2009, 05:45 AM
travis_san Thanks ilko_t and cdob for helping me out.
QUOTE ... Nov 10 2009, 02:21 PM
ilko_t QUOTE (travis_san @ Nov 10 2009, 12:21 PM... Nov 10 2009, 06:36 PM
doveman Well I'm not sure exactly what I did, but I... Nov 11 2009, 01:44 AM
kDn QUOTE (doveman @ Nov 11 2009, 09:44 AM) H... Nov 11 2009, 02:01 AM
doveman Oh well, at least now I know it's something I... Nov 11 2009, 04:22 AM
cdob QUOTE (travis_san @ Nov 10 2009, 02:21 PM... Nov 11 2009, 07:39 AM
doveman Actually neither of the ISOs I'm using contain... Nov 11 2009, 10:41 AM
travis_san QUOTE NTLDR expects NTDETECT.COM in the active par... Nov 11 2009, 04:01 PM
doveman After reading travis_san's message, I thought ... Nov 11 2009, 06:30 PM
doveman To try and troubleshoot, I thought I'd just ma... Nov 11 2009, 07:10 PM
kDn QUOTE (doveman @ Nov 12 2009, 03:10 AM) T... Nov 12 2009, 06:59 AM
doveman Thanks, but I'm not trying to do a multiple un... Nov 12 2009, 09:43 AM
cdob QUOTE (travis_san @ Nov 11 2009, 04:01 PM... Nov 12 2009, 10:20 AM![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 02:17 PM |