Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Sunday, September 19, 2010

BCDW and NTFS 6.1 OS

Source
BCDW is an excellent bootloader for CD/DVD's ONLY.
Syslinux/Isolinux/memdisk is another excellent bootloader that can be used on ANY media.
grub4dos is another bootloader that can also be used on ANY media.
This thread is (was) about .iso mapping of the Win7 repair disk (.iso inside CD/DVD - or other media).
BCDW cannot provide this kind of booting, AFAIK.
The nice link by cdob is about booting from "flat" directory on CD/DVD.
You can from BCDW chainload grub4dos:
http://grub4dos.sourceforge.net/wiki/index...r_DOS_from_BCDW
and from it load the .iso as shamurshamur reported.
Same can be done with Isolinux/memdisk:
http://bootcd.narod.ru/bcdw_e.htm#isolinux
The whole point is that since both Syslinux/Memdisk/Isolinux and grub4dos can directly load *anything* the previous passage through BCDW is an unneeded overlay.
http://www.boot-land.net/forums/index.php?showtopic=8258

Use either grub4dos or Syslinux .iso mapping, instead of BCD4W.
http://www.boot-land.net/forums/index.php?showforum=66
http://www.boot-land.net/forums/index.php?showtopic=5041

http://www.boot-land.net/forums/index.php?showforum=92
http://www.boot-land.net/forums/index.php?showtopic=8258
The idea is to use grub4dos to boot either the UBCD4WIN or the Windows 7 recovery iso.
Add "Repair disc Windows 7 32-bit.iso" file of about 142 MB to UBCD4WIN
Use grub4dos to map iso file and use the following code:
title Windows 7\nWindows 7 install
map /seven.iso (hd32)
map --hook
chainloader (hd32)

Here is a link for reference:grub4dos mapping (grub4dos can map so many iso files) 
Windows Vista and Windows 7's imaging utilities (backup) are some of the best i've seen and i highly suggest you use that instead of RuntimeSW DriveImageXML. The imageX utility with Vista and 7 and they have an option for a full image backup with compression. Use it so when things do crash you can boot to the CD and just restore from your full image backup. Its also quicker than DXML. Just try it on the RC you have and see if you like it. Nice thing is with command lines you can keep your backup up to date by applying windows updates to it without ever deploying and recapturing the image
Windows 7 is basically Vista plus SP1 plus SP2
Vista DVD and Windows7 installation DVD are Bootable PE and they are hot plug
which means if you put ghost32.exe and say A43 file manager on a USB memory stick
boot with installation Windos 7 (or Vista) DVD using A43 file manager you can browse to
the USB disk and double click ghost32 and if it is one which came with ghost 14 it should be
Vista compatible.
With UBCD4win you can use drive image XML to image the Disk but it will not be bootable
you need to boot with installation DVD and choose repair option to repair the bootand make it bootable.
Vista and Windows7(son of Vista ) have different booting system they have the boot manager and a
BCD (boot configuration data) store.

Quick and dirty fix for testing.
Be aware: CD boot only.
USB boot may fail.

Use layout
QUOTE
plugin\zz_custom\Win7\Win7RD32.inf
plugin\zz_custom\Win7\files\Win7RD32.iso
plugin\zz_custom\grub4dos\grldr.inf
plugin\zz_custom\grub4dos\files\grldr
plugin\zz_custom\grub4dos\files\menu.lst
Win7RD32.inf
CODE
[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="!Multiboot: Windows 7 Recovery Disc (x86) - testing"
Enable=1

[WinntDirectories]
a="images",2

[SourceDisksFiles]
\files\Win7RD32.iso=a,Win7RD32.iso,1grldr.inf

CODE
[Version]
Signature= "$Windows NT$"
;grub4dos
;http://nufans.net/grub4dos/

[PEBuilder]
Name="!Multiboot: grub4dos as default loader at CD - testing"
Enable=1

[SourceDisksFiles]
files\grldr=1,BOOTFIX.BIN,1
files\menu.lst=30000,menu.lst,1
menu.lst
CODE
color black/cyan yellow/cyan
default /default
default 0
timeout 10

title Launch "The Ultimate Boot CD for Windows"
ls /I386/SETUPLDR.BIN && chainloader /I386/SETUPLDR.BIN
ls /minint/SETUPLDR.BIN && chainloader /minint/SETUPLDR.BIN
boot

title Launch "Windows™ Recovery Console"
map --mem /CMDC/SETUPLDR.BIN (rd)
#checksum: geitonaki http://www.msfn.org/board/index.php?showtopic=58410
write --offset=0x2060 (rd)+1 \xEB\x1A
#change minint to I386, disable some defaults
cat --locate="i386\\" --replace="CMDC\\" (rd)+1
cat --locate="\\$WIN_NT$.~BT\\" --replace="\\$WIN_NT$.OFF\\" (rd)+1
#cat --locate="\\CMDCONS\\" --replace="\\CMD_OFF\\" (rd)+1
#cat --locate="winnt.sif" --replace="winnt.off" (rd)+1
chainloader (rd)+1
root ()
boot

title Windows 7 Recovery Disc (x86)\nAccess Repair Options For Windows 7 (x86)
map /images/Win7RD32.iso (0xff)
map --hook
chainloader (0xff)

title Darik's Boot And Nuke v2.0 ~ Submenu\nWarning: destroy data
configfile /dban-Grub4dos.ini

title FreeDos
map --mem /images/freedos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title GOBACK Removal Tool
map --mem /images/goback.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title Memtest86+ v4.10
map --mem /images/memtestp.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title NTFS-Dos
map --mem /Images/ntfs4dos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title boot 1st hdd
chainloader (hd0)+1

title commandline
commandline

title reboot
reboot

title ******* menu end **************
configfile /menu.lst
Go up to "menu end" at cd, ignore following lines.
----------------------------------
[SourceDisksFiles]
files\grldr=1,BOOTFIX.BIN,1 thumbsup.gif
files\menu.lst=30000,menu.lst,1

No comments: