Hi,
First of all i would like to thank you for all the wonderful tutorials that you make,which makes it really easy for all of us.I tries to make a multi-install usb flash drive using your tutorials no. 33 and no. 43,i.e, both imdisk and firadisk method.But somehow both doesn't work correctly for me...
Firadisk :
I am getting the following error when i try your default menu.lst
Uploaded with
ImageShack.usThe following steps i have used while trying the firadisk method..
1) I am using a USB Hard disk for the above method which has latest grub4dos already installed in the mbr..
2) Extracted the Tut43_FiraIso.zip to the root of the USB Hard disk
3)Put my modified Win732SP1.iso into the ISO folder at the root of the USB HDD.I modified boot.wim file and inserted both "mysetup.cmd" and "winpeshl.ini" into the 2 image of boot.wim.
While experimenting ,i modified your menu.lst as following and it worked perfectly...Though as specified Repair option does not work..Basically i just removed the variable "set mm" and "%mm%" from menu.lst.Otherwise i got the above mentioned error.
color black/cyan blue/cyan red/light-blue red/cyan
write (md)0x220+1 !BAT\necho -n -P:0000 $[0133] --- Windows install --- \0
initscript (md)0x220+1
title INSTALL Windows 7 32-bit\n
set MYISO=win732SP1.iso
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)
title REPAIR Windows 7 32-bit\n
set MYISO=win732SP1.iso
map --mem (md)0x800+4 (99)
map /ISO/%MYISO% (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%MYISO%;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)
### ADD MORE ISO MENu ENTRIES HERE - DUPLICATE THE TWO ENTRIES ABOVE AND CHANGE THE ISO FILENAME
title
root ()
title Boot from 1st Hard Disk \nBoot from MBR of first hard disk and remove the USB drive
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
title
root ()
title Choose any iso file...
root ()
title
root ()
title INSTALL WINDOWS - Boot from any Windows ISO to install Windows\nThis menu allows you to type in the name of any Windows ISO file and boot from it
# find the ISO folder by looking for a marker file
find --set-root /ISO/choose_an_iso
clear
echo
# list all files in the /ISO folder so the user can see them
ls ()/ISO/
echo
# Ask user which iso they want (name is converted to uppercase as $U is specified)
set /p /u ask=Enter iso filename WITH NO .ISO EXTENSION (e.g. Win7Pro32 ) :
if "%ask%"=="" echo No iso file specified! && configfile /menu.lst
clear
# check if user entered a valid filename with no ISO extension!
ls /ISO/%ask%.iso || echo Cannot find /ISO/%ask%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst
echo Loading /ISO/%ask%.iso - please wait ...
#set root drive to USB stick
find --set-root /Firadisk/loadiso.cmd
map --mem (md)0x800+4 (99)
find --set-root /ISO/%ask%.iso
# run the grub4dos map command and specify the iso file we want to load
map /ISO/%ask%.iso (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
# Specify the same iso file for when firadisk runs in winpe
find --set-root /firadisk/loadiso.cmd
write (99) [FiraDisk]\nStartOptions=cdrom,vmem=find:/ISO/%ask%.iso;\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)
clear
title REPAIR WINDOWS - Boot from any Windows ISO to repair Windows\nThis menu allows you to type in the name of any Windows ISO file and boot from it for a repair operation only
# find the ISO folder by looking for a marker file
find --set-root /ISO/choose_an_iso
clear
echo
# list all files in the /ISO folder so the user can see them
ls ()/ISO/
echo
# Ask user which iso they want (name is converted to uppercase as $U is specified)
set /p /u ask=Enter iso filename WITH NO .ISO EXTENSION (e.g. win7pro32 ) :
if "%ask%"=="" echo No iso file specified! && configfile /menu.lst
clear
# check if user entered a valid filename with no ISO extension!
ls /ISO/%ask%.iso || echo Cannot find /ISO/%ask%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst
echo Loading /ISO/%ask%.iso - please wait ...
map --mem (md)0x800+4 (99)
#set root drive to USB stick
find --set-root /firadisk/loadiso.cmd
find --set-root /ISO/%ask%.iso
# run the grub4dos map command and specify the iso file we want to load
map /ISO/%ask%.iso (0xff)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
# clear any memory drive contents
find --set-root /firadisk/loadiso.cmd
write (99) DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n\0
chainloader (0xff)/BOOTMGR || chainloader (0xff)
clear
Edited by sushil1576, 09 August 2011 - 04:06 AM.