Jump to content

WINXP VISTA Installation to unknown disk


Recommended Posts

helo i got 2 question regarding usb multibooting hope anyone out there can help

1.How do i start winXP and Window 7 installation from usb to XXX hardrive

2.How do i continue winXP and Window 7 installation from usb to XXX hardrive after setup first phase that require booting to continue installation

my current menu entry structure

menu.1st

title 4.Windows XP Setup

map --unmap=0:0xff

map --unhook

savedefault

find --set-root --ignore-cd /usbdrive.tag

configfile /winsetup.lst

title 5.Start Windows 7 Setup

map --unmap=0:0xff

map --unhook

savedefault

root (hd0,0)

configfile /setupvista.lst

winsetup.lst

title First part of Windows XP Professional SP2 setup from pendrive

map --unmap=0:0xff

map --unhook

map --mem (hd0,0)/ISO/XPpSP2.ISO (0xff)

savedefault 2

map --hook

root (0xff)

chainloader /I386/SETUPLDR.BIN

cat --locate=rdisk(1) --replace=rdisk(0) (0xff)/I386/TXTSETUP.SIF

boot

map --unmap=0:0xff

map --unhook

title Second part of 2000/XP/2003 setup / Boot first internal hard disk

find --set-root /ntldr

savedefault 2

chainloader /ntldr

boot

setupvista.lst

title First part of Windows 7 Ultimate setup from partition pendrive

map --unmap=0:0xff

map --unhook

root (hd0,0)

savedefault 2

chainloader /bootmgr

boot

title Second part of Windows7 setup / Boot Virtual first internal hard disk

savedefault 3

map --unmap=0:0xff

map --unhook

map (hd2) (hd0)

map (hd0) (hd2)

root (hd0,0)

chainloader /bootmgr

boot

title Third and Fourth part of Windows7 setup / Boot first internal hard disk

root (2,0)

savedefault 3

#chainloader /bootmgr

*********************************************************************************

ive tested those configuration on my computer..it was done successfully.in bios i set 1.boot usb pendrive---->2.Internal harddisk

i am pc technician so i want configure my usb bootable to be able to do winXP or Win7 installation on any computer/laptop that have variety of bios booting priority

for example computer bios that set 1.boot usb pendrive---->2.cdrom------->3.Internal harddisk

Link to comment
Share on other sites


I've been working for 2 week on making this multiboot usb flash drive since i found that booting from usb flash drive is possible.

I still new,lack of knowledge and still reading on how to improve my built.

This project is built on my kingston DT G2 16gb

it is my pleasure if anyone can give suggestion on my built

------------------------------------------------------------------

title 1. Launch support for USB2.0

title 2. Start from harddisk (WinXP and Win7 after 1st part installation direct to here until done)

title 3. Boot CDROM

title 4. Setup WinXP

title 5. Setup Windows 7

title 6. Windows™ XP Recovery Console -----> fail.it launch (title 4. Setup WinXP)

title 7. Windows™ 7 Recovery Console

title 8. Launch LiveXP -----> fail.it launch (title 4. Setup WinXP).folder remove already from pendrive

title 9. remove

title 10. Launch Live Win7

title 11. remove

title 12. Virus Remover

title 13. DOS

----------------------------------------------

This is root of my usb flash drive directory

post-306204-091465700 1287499180_thumb.j

This is how my menu.lst look like

timeout 30

default /default

gfxmenu = /wallpaper/boot.gfx.gz

title 1. Launch support for USB2.0

root (hd0,0)

kernel /iso/plpbt.bin

title 2. Start from harddisk

is map (hd8) (hd0) || map (hd7) (hd0) || map (hd6) (hd0) || map (hd5) (hd0) || map (hd4) (hd0) || map (hd3) (hd0) || map (hd2) (hd0) || map (hd1) (hd0)

is map (hd0) (hd1) || map (hd0) (hd2) || map (hd0) (hd3) || map (hd0) (hd4) || map (hd0) (hd5) || map (hd0) (hd6) || map (hd0) (hd7) || map (hd0) (hd8)

map --hook

chainloader +1

boot

title 3. Boot CDROM

cdrom --init

map --hook

chainloader (cd0)

rootnoverify (cd0)

title 4. Setup WinXP

map --unmap=0:0xff

map --unhook

root (hd0,0)

savedefault 1

chainloader /XPSTP

boot

map --unmap=0:0xff

map --unhook

title 5. Setup Windows 7

map --unmap=0:0xff

map --unhook

savedefault 1

root (hd0,0)

find --set-root /bootmgr

chainloader /bootmgr

boot

map --unmap=0:0xff

map --unhook

title 6. Windows™ XP Recovery Console

find --set-root /cmdcons/setupldr.bin

chainloader /cmdcons/setupldr.bin

title 7. Windows™ 7 Recovery Console

find --set-root /iso/win7recovery32.iso

map /iso/win7recovery32.iso (0xff)

map --hook

chainloader (0xff)

boot

title 8. Launch LiveXP -----> fail.fail.it launch winXP setup.folder remove already from pendrive

map --unmap=0:0xff

map --unhook

find --set-root /minint/setupldr.bin

chainloader /minint/setupldr.bin

title 9. remove

title 10. Launch Live Win7

find --set-root --ignore-floppies /iso/Win7Live.iso

map --mem /iso//iso/Win7Live.iso (0xff)

map --hook

chainloader (0xff)/BOOTMGR

title 11. remove

title 12. Virus Remover

find --set-root /virusremover.lst

configfile /virusremover.lst

title 13. DOS

map --unhook

map --mem (hd0,0)/iso/dos.img (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

title Reboot

reboot

title Shutdown computer

halt

----------------------------------------------------------------

virusremover.lst

default 0

gfxmenu = /iso/boot.gfx.gz

title PREVIOUS MENU

configfile /menu.lst

title Kaspersky 2010 Rescue

map (hd0,0)/kav/kav.iso (0xff) || map --mem (hd0,0)/kav/kav.iso (0xff)

map --hook

chainloader (0xff)

title AVG Rescue Disk

find --set-root --ignore-floppies /iso/avg.iso

map /iso/avg.iso (hd32)

map --hook

chainloader (hd32)

boot

----------------------------------------------------------------

first of all winxp n win 7 setup was built using usb multiboot 10.

ive set boot.ini to launch grub4dos as default with timeout 0.(i dont know why it looks like too complicated but i love grub4dos gui)

-----------------------------------------------------------------

Detail :

title 4. Setup WinXP .it run great with usb2.0 support. 16min winxp installation including basic software eq avira,office,winamp,klite,adobe reader etc.)

^^Used previous winxp source that had been create using nlite.unattended.

^^Add wpi

-in U:\$WIN_NT$.~LS\I386\txtsetup.sif ,add this text

[sourceDisksFiles]

wpi.cmd = 100,,,,,,_x,2,0,0

-in U:\$WIN_NT$.~LS\I386\wpi.cmd

SET USBDRIVE=

SET TAGFILE=\wpi\wpi.exe

:: First Limited Range to Prevent Windows No Drive Alert due to Cardreader

:: For case of Repair Install when Drive not found, than Extended Range and

:: Windows No Drive Alert - Press 4x Continue for Cardreader Drives

FOR %%h IN (C D M N O P Q R S T U V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:

if "%USBDRIVE%" == "" (

FOR %%h IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET USBDRIVE=%%h:

)

start %USBDRIVE%wpi/wpi.exe

title 5. Setup Windows 7(takes about 30min to finish full setup)

-ive do nothing with this setup.just let usb multiboot 10 do it successfully

title 6. Windows™ XP Recovery Console

title 8. Launch LiveXP

i dont know whats the problem with those 2 but when i run it,it goes to winxp installation (it run title 4. Setup WinXP)

title 7. Windows™ 7 Recovery Console

this iso ive download it somewhere..forgot already since too many website i download n test..its run great

title 9. remove

title 10. Launch Live Win7

this iso ive download it somewhere..forgot also since too many website i download n test..its run great

title 12. Virus Remover

Consist of avg and kaspersky rescue cd.avg rescue run directly iso while kaspersky rescue cd need to do some adjustment for iso that had been downloaded from kaspersky website.

sorry i forgot also which website guide me to do with kaspersky.i have to extract kaspersky iso,and move the folder in root directory.see above attachment.in the kav.iso ,all folder are deleted except boot folder so the kav.iso only 9.73mb. image.squashfs reside in kav folder

title 13. DOS

support ntfs n usb

dos.img only 720kb

-autoexec.bat

xmsdsk.exe 30000 r: /y

echo off

LH NTFSDOS.EXE

LH CTMOUSE

LH CTMOUSE > NUL

-config.sys

DOS=HIGH,UMB

lastdrive=Z

device=HIMEM.SYS

devicehigh=USBASPI.SYS /e /nocbc /norst

devicehigh=DI1000DD.SYS /L:U

--------------------------------------------------------------------------

Thats all my built from my little knowledge.its looks like pretty mess.

1.i dont like my root folder structure..too much folder..i dont know how to simplify it.what can i do now is just set hidden..

2.both title 6 (winxp recovery) and title 8 (livexp) launch (title 4. Setup WinXP)

3.about title 2( Start from harddisk)..is this right way to continue winxp/win7 installation after 1st phase installation?can i use it on computer with multiple hard disk and partition?

4.ive done make new win7 lite unattended iso with RT 7lite.is it possible to add this 2nd win7 setup to the build?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...