It is currently Mon Jul 28, 2014 8:26 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Integrating ERD 2005 and similar WinPE into UBCD5?!
PostPosted: Wed Dec 16, 2009 2:22 am 
Offline

Joined: Mon May 16, 2005 9:28 pm
Posts: 8
Hi Guys,

I've integrated ERD 2005 into UBCD 4 without any problems, but for some reason I can't get it to work with 5 RC 1.

It just gives the standard;

"Couldn't find NTLDR"

I've tried copying all of the files (ERD related) off the working version UBCD4 so everything should be ok, but I think there must be something I'm missing...

Any advice would be much appreciate :)

Thanks.

PS Awesome work guys!!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 16, 2009 9:42 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
What where the exact steps you did?

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 16, 2009 6:59 pm 
Offline

Joined: Mon May 16, 2005 9:28 pm
Posts: 8
Hey Icecube, it was a while ago that I created the v4 one, but I believe this was the guide I followed. Trying to recreate it now and I've copied all of the files from the working v4 image...


viewtopic.php?t=856&highlight=w2ksect+bin

1. Extract the ubcd files from the iso
2. Copy all the files from i386 off your xp setup cd into the root of the ubcd (ie /ubcd/i386)
(If you just want a bootable recovery console I downloaded one some time ago as an iso with just the files required to run it, it is less than 10mb total. Unfortunately I have no idea now where i got it then.)
3. Get Bart's Bart's wxp10.zip: http://www.nu2.nu/download.php?sFile=wxp10.zip
4. From wxp10.zip copy w2ksect.bin win51 and win51ip to the root of ubcd
5. Go into i386 and delete bootfix.bin (unless you want to hit any key to boot from cd)
6. If for some reason you want more than one xp version on a disc rename i386 and then take a hex editor and replace any occurance of i386 in /w2ksect.bin and /i386/SETUPLDR.BIN with whatever you are naming your folder (probably a good idea to keep it short) this works fine with the recovery console only but i have no idea what additional settings would be required for a full xp install
7. In /custom/custom.cfg add the entry for winxp recovery console

LABEL recovery
MENU LABEL XP Recovery Console
KERNEL /w2ksect.bin
APPEND

I had a feeling it might have been due to the switches -N or -D mentioned in another post so I tried them and still no luck.

Same files off a working v4 so it doesn't appear the files are the problem, so I'm tending towards mkisofs, or it's switches, or the kernel that's loading w2ksect.bin??


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 17, 2009 1:13 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Windows is picky about uppercase/lowercase in the boot process. I think (not sure) that i386 needs to be I386.

Also /w2ksect.bin isn't needed anymore. Syslinux's chain.c32 can load SETUPLDR.BIN or NTLDR now.
Code:
LABEL ERD2005
MENU LABEL ERD 2005
COM32 /boot/syslinux/chain.c32
APPEND ntldr=/I386/SETUPLDR.BIN

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 17, 2009 6:14 pm 
Offline

Joined: Mon May 16, 2005 9:28 pm
Posts: 8
I'd checked the capitalization already, but I haven't tried chain.32, so I'm hopeful on that one! I'll give it a shot and let you know and thanks for the tip, it could be useful in the future as well :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 23, 2009 11:26 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
I think it has something to do with the capitalization of the files.
UBCD411 did convert all lowercase filenames to uppercase, UBCD50RC1 uses the filecase of the files like they are on the hard disk, when you build the iso.

I quickly wrote a script that should convert all file that need to be uppercase for windows to uppercase. I can't test the script myself (no Windows).

Add the file windows-uppercase.cmd to \ubcd\tools\win32\windows-uppercase\

Add filecase.exe to this directory too:
Download Win32 Console ToolBox 1.0 from http://www.stevemiller.net/apps/

Content of windows-uppercase.cmd (needs some fine tuning):
Code:
@echo off
rem * Convert all necessary files and directories needed for booting Windows to uppercase
rem *
rem * Ultimate Boot CD (UBCD): http://www.ultimatebootcd.com/
rem * Win32 Console ToolBox ==> Filecase: http://www.stevemiller.net/apps/

@echo on
@if "%debug%"=="" echo off

SETLOCAL

SET a1=%1
SET a1=###%a1%###
SET a1=%a1:"###=%
SET a1=%a1:###"=%
SET ubcddir=%a1:###=%

if ""%ubcddir%"=="" goto _help

echo Convert all necessary files for Windows booting to uppercase ...

if not exist "%~p0\filecase.exe"                 %0 : _error Missing file '%~p0\filecase.exe'
if not exist "%ubcddir%\boot\isolinux\isolinux.bin"  %0 : _error This batch file isn't executed from \ubcd\tools\win32\windows-uppercase\.

rem * Convert all necessary files and directories needed for booting Windows to uppercase
"%~p0\filecase.exe" /u /h /q /d "%ubcddir%\i386\"
"%~p0\filecase.exe" /u /h /q /d "%ubcddir%\i386\system32\"
"%~p0\filecase.exe" /u /h /q /d "%ubcddir%\i386\system32\drivers\"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\BOOT"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\win51*"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\bootfont.bin"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\*.bin"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\*.si?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\*.in?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\ntdetect.com"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\spcmdcon.sy*"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\*.in?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\ntoskr*.ex?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\ntkrnlmp.ex?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\kdcom.dl?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\bootvid.dl?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\setupreg.hi?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\*.fo?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\*.nl?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\hal*.dl?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\SYSTEM32\drivers\*.sy?"
"%~p0\filecase.exe" /u /h /q "%ubcddir%\i386\system32\win*.sif"
"%~p0\filecase.exe" /u /h /q /d /s "%ubcddir%\i386\system32\$OEM$"

:_success
echo.
echo All Windows boot files converted to uppercase
goto _end

:_help
echo.
cmd.exe /k cd "%~p0"
goto _end

:_error
shift
shift
echo (ERROR) %1 %2 %3 %4 %5 %6 %7 %8
goto _end

:_end
ENDLOCAL

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group