Jump to content











Photo

Hirens boot 15.1USB troubles


  • Please log in to reply
35 replies to this topic

#26 laddanator

laddanator

    Frequent Member


  • Advanced user
  • 337 posts
  • Location:Virginia
  • Interests:Writing code and getting stuff to work when no one else can! Wrote a Windows Vista, 7, and 8 legal activation tool in VBscript and compiled it to exe. First project of this undertaking. Working on an AIO legal activation tool that includes XP.
  •  
    United States

Posted 03 February 2012 - 10:43 PM

So it does not matter what you call the ISO at all, it just matters whether you use --mem or not.
If you use --mem with the HBCD.iso that will work too (but load slowly).

title Hirens BootCD 15.1.iso
find
--set-root /Hirens.BootCD.15.1.iso
map --mem /Hirens.BootCD.15.1.iso (0xff)
map --hook
root
(0xff)
chainloader (0xff)


The problem with this is on law ram machines, its useless. 500 plus for the --mem map and Hiren's uses 256 for MiniXP unless you tweak RestartShell.cmd. I would stick with the flat file method and use fat32 and if ntfs, make sure to choose nfts in the auto drivers list for dos programs. If ram is not an issue then ISO all the way.

#27 hason

hason

    Member


  • Members
  • 50 posts
  •  
    Vietnam

Posted 13 March 2012 - 04:57 PM

Try: Restart and try [Next...] [Dos...] [Dos Settings...] HimemX (and run M for Menu)
If you boot from iso file, with Minixp get full apps (like boot from CD). You need using 7zip to extract file XP.WIM into folder (ex: call XP)
-Find file startup.cmd (XPI386System32) and change some code:
Old code:

@echo off

title Startup

set HBCD=HBCD

:a

For %%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir %%I: 1>nul 2>nul && if /i exist %%I:HBCDHBCDMenu.exe set HBCD=%%I:&goto k)

change to

@echo off

title Startup

set HBCD=HBCD

:a

For %%I IN (C D E F G H I J K L M N O P Q R S T U V W Y Z) DO (If /i Exist "%%I:Hiren15.iso" set HBCD=%%I:)

imdisk -a -f %HBCD1%Hiren15.iso -m Y:

set HBCD=Y:

goto k

Note
-Code: If /i Exist "%%I:Hiren15.iso
It will find iso file have name Hiren15.iso; file Hiren15.iso place on root directory
-Code: imdisk -a -f %HBCD1%Hiren15.iso -m Y:
It will mount file Hiren15.iso to virtual CD name Y
-Code: set HBCD=Y:
It will extract file from startup.cmd and Startup2.cmd (prep).
Using: Gimagex capture file wim
-Soure: Folder XP (when extract file xp.wim)
-Destination: any where (but file name must be XP.WIM)
-Compression: maximium
-Options: check Boot
Select create
Using UltraISO recreate file ISO:
-Open file Hiren boot cd 15 with ultraiso
-Open Folder name XP (HBCDXP): Replace file xp.wim with file xp.wim (rebuild)
-Save file ISO, but name call Hiren15.iso
Copy file Hiren15.iso to root directory of USB.
For USB boot with Grub4dos:
-Using: BootICE (in hiren boot cd 15.1)
Two ways:

1. Install grub4dos on MBR
-BootICE - process MBR - install MBR with grub4dos(0.45b)
when using USB boot on Foxconn G31: Hang on.

2. Install grub4dos on PBR
-BootICE - process MBR - install MBR with NT5X (or NT6X)
-BootICE - process MBR - install PBR with grub4dos(0.45b)
when using USB boot on Foxconn G31: OK

Copy file grldr and menu.lst into usb.
Code boot:

title Hirens BootCD 15.1.iso

find --set-root /Hiren15.iso

map /Hiren15.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)


if you like only one file Minixp.iso (small size: 46MB, fast boot). Only need using Ultra ISO (with file hiren15.iso rebuild)
-Delete some file but exception 3 files: X, XP.BIN, XP.WIM (keep directory HBCDXP)
-Save as new file name minixp.iso
Code menu.lst (for using mini windows xp)

title Start Mini Windows XP

find --set-root --ignore-floppies --ignore-cd /Minixp.iso

map /Minixp.iso (0xff) || map --mem /Minixp.iso (0xff)

map --hook

chainloader (0xff)/HBCD/XP/XP.BIN

Must have 2 file on root directory of USB (or hard drive if you use grub4dos on HDD): Minixp.iso and Hiren15.iso

Edited by hason, 13 March 2012 - 05:01 PM.


#28 ilko

ilko

    Silver Member


  • Advanced user
  • 500 posts
  •  
    Bulgaria

Posted 14 March 2012 - 05:26 PM

...
1. Install grub4dos on MBR
-BootICE - process MBR - install MBR with grub4dos(0.45b)
when using USB boot on Foxconn G31: Hang on.
...
2. Install grub4dos on PBR
-BootICE - process MBR - install MBR with NT5X (or NT6X)
-BootICE - process MBR - install PBR with grub4dos(0.45b)
when using USB boot on Foxconn G31: OK
...

Have you tried if a stick prepared by FBinst/FBinstTool hangs the same way?

Thanks for the additional info.

#29 hason

hason

    Member


  • Members
  • 50 posts
  •  
    Vietnam

Posted 15 March 2012 - 02:28 AM

Have you tried if a stick prepared by FBinst/FBinstTool hangs the same way?

Thanks for the additional info.

I never test with FBinst/FBinstTool. I'll test it and report.

#30 hason

hason

    Member


  • Members
  • 50 posts
  •  
    Vietnam

Posted 18 March 2012 - 02:01 PM

I had test with FBinst/FBinstTool, and I can not boot with mainboard Foxconn G31 (hang). Only two ways:

-Install grub4dos to PBR

-Install syslinux to PBR
:dubbio:

#31 ilko

ilko

    Silver Member


  • Advanced user
  • 500 posts
  •  
    Bulgaria

Posted 18 March 2012 - 07:59 PM

That's interesting, thanks for testing.

Could it be the same case as Acer Travelmate here?
http://reboot.pro/10...post__p__117680

Steve6375 posted patched grubinst.exe with the modified MBR:
http://www.rmprepusb...redirects=0&d=1

Can you try this grubinst and install grub4dos MBR to see if that's the case?

Added: Here are other reports about Foxconn G31:
http://reboot.pro/13036/
http://reboot.pro/89...post__p__113066

As I get it, FBInst helped in both cases. What size is your USB stick, could you try with a different sized one? What file system do you format it in and what options?
There are "align", "zip" and several other options in FBinst/FBInstTool, have you tried them?

#32 colifato

colifato

  • Members
  • 3 posts
  •  
    Argentina

Posted 29 March 2012 - 12:02 PM

I have the same problem.. but i solve disabling Avast Antivirus for 10 minutes before to send the .iso to the pendrive
:)

#33 natong

natong

  • Members
  • 2 posts
  •  
    Thailand

Posted 08 July 2013 - 09:12 AM

Sorry to dig an old topic but these is very useful for HIren users. I faced the same problem for a long time. Search google and found these topic.

 

On Hiren v15.2 seem to fix these issue. But still don't work

 

@echo off
title Startup
set HBCD=HBCD
:a
for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir %%I:\ 1>nul 2>nul && if /i exist %%I:\HBCD\HBCDMenu.exe if /i exist %%I:\HBCD\Programs\7z.exe set HBCD=%%I:&goto k)
if not "%ISO%"=="" goto h
set ISO=none
for /f "tokens=5 delims==" %%X in ('REG QUERY HKLM\SYSTEM\Controlset001\Control /v SystemStartOptions') do set ISO=%%X
for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir "%%I:%ISO%" 1>nul 2>nul && imdisk -a -m #: -f "%%I:%ISO%"&nircmd wait 3000&goto a)
:h
if exist %Temp%\HWPnP.log goto s
call pnpbatch all
nircmd wait 2000
goto a
:s
if not %showdh%!==! goto z
showdrive /all
nircmd wait 2000
set showdh=1
goto a
:k
call %HBCD%\HBCD\Boot\Keyboard.bat i
if exist %HBCD%\HBCD\XP\Wallpaper.bmp REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /f /d %HBCD%\HBCD\XP\Wallpaper.bmp &RUNDLL32 user32.dll,UpdatePerUserSystemParameters
ren %SystemRoot%\System32\prep Startup2.cmd
mkdir "%ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools"
copy /y %HBCD%\HBCD\Programs\7z.* %SystemRoot%\System32
for %%a in (7Zip Teracopy DLL) do 7z x -y -o%SystemRoot%\System32 %HBCD%\HBCD\Programs\Files\%%a.7z
nircmd shortcut "%HBCD%\HBCD\HBCDMenu.exe" "~$folder.desktop$" "HBCD Menu"
call keyboard %keyboard%>nul
for %%z in ("%USERPROFILE%\Start Menu\Programs" "%USERPROFILE%\Start Menu") do copy /y "%USERPROFILE%\Desktop\HBCD Menu.lnk" %%z
for %%z in ("%USERPROFILE%\Start Menu\Programs\Disk Management.lnk" "%USERPROFILE%\Start Menu\Programs\Devices\Device Manager.lnk") do copy /y %%z "%ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools"
(echo @echo off&echo set HBCD=%HBCD%&echo :s&echo setx HBCD %HBCD% -m&echo if not %%1!==! start /D%HBCD%\HBCD\Programs %%*&echo If /i Not Exist "%HBCD%\HBCD\HBCDMenu.exe" For %%%%I IN ^(C D E F G H I J K L M N O P Q R S T U V W X Y Z^) DO ^(If /i Exist "%%%%I:\HBCD\HBCDMenu.exe" set HBCD=%%%%I:^&goto s^))>%SystemRoot%\System32\HBCDP.cmd
start "" /MIN cmd.exe /c Startup2.cmd
:z
del %SystemRoot%\System32\nt*krnl*.exe
del %SystemDrive%\boot.sdi
del /a %SystemDrive%\$wimdesc


#34 natong

natong

  • Members
  • 2 posts
  •  
    Thailand

Posted 08 July 2013 - 03:46 PM

Thank Steve365,

 

map --mem 


Work without edit anything. But slow. It think it's the same as mount file to drive.



#35 steve6375

steve6375

    Platinum Member




  • Amount:

    Developer
  • 6629 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    United Kingdom

Posted 08 July 2013 - 03:53 PM

http://www.rmprepusb.../tutorials/hbcd



#36 hason

hason

    Member


  • Members
  • 50 posts
  •  
    Vietnam

Posted 15 July 2013 - 09:13 AM

 

Sorry to dig an old topic but these is very useful for HIren users. I faced the same problem for a long time. Search google and found these topic.

 

On Hiren v15.2 seem to fix these issue. But still don't work

@echo off
title Startup
set HBCD=HBCD
:a
for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir %%I:\ 1>nul 2>nul && if /i exist %%I:\HBCD\HBCDMenu.exe if /i exist %%I:\HBCD\Programs\7z.exe set HBCD=%%I:&goto k)
if not "%ISO%"=="" goto h
set ISO=none
for /f "tokens=5 delims==" %%X in ('REG QUERY HKLM\SYSTEM\Controlset001\Control /v SystemStartOptions') do set ISO=%%X
for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir "%%I:%ISO%" 1>nul 2>nul && imdisk -a -m #: -f "%%I:%ISO%"&nircmd wait 3000&goto a)
:h
if exist %Temp%\HWPnP.log goto s
call pnpbatch all
nircmd wait 2000
goto a
:s
if not %showdh%!==! goto z
showdrive /all
nircmd wait 2000
set showdh=1
goto a
:k
call %HBCD%\HBCD\Boot\Keyboard.bat i
if exist %HBCD%\HBCD\XP\Wallpaper.bmp REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /f /d %HBCD%\HBCD\XP\Wallpaper.bmp &RUNDLL32 user32.dll,UpdatePerUserSystemParameters
ren %SystemRoot%\System32\prep Startup2.cmd
mkdir "%ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools"
copy /y %HBCD%\HBCD\Programs\7z.* %SystemRoot%\System32
for %%a in (7Zip Teracopy DLL) do 7z x -y -o%SystemRoot%\System32 %HBCD%\HBCD\Programs\Files\%%a.7z
nircmd shortcut "%HBCD%\HBCD\HBCDMenu.exe" "~$folder.desktop$" "HBCD Menu"
call keyboard %keyboard%>nul
for %%z in ("%USERPROFILE%\Start Menu\Programs" "%USERPROFILE%\Start Menu") do copy /y "%USERPROFILE%\Desktop\HBCD Menu.lnk" %%z
for %%z in ("%USERPROFILE%\Start Menu\Programs\Disk Management.lnk" "%USERPROFILE%\Start Menu\Programs\Devices\Device Manager.lnk") do copy /y %%z "%ALLUSERSPROFILE%\Start Menu\Programs\Administrative Tools"
(echo @echo off&echo set HBCD=%HBCD%&echo :s&echo setx HBCD %HBCD% -m&echo if not %%1!==! start /D%HBCD%\HBCD\Programs %%*&echo If /i Not Exist "%HBCD%\HBCD\HBCDMenu.exe" For %%%%I IN ^(C D E F G H I J K L M N O P Q R S T U V W X Y Z^) DO ^(If /i Exist "%%%%I:\HBCD\HBCDMenu.exe" set HBCD=%%%%I:^&goto s^))>%SystemRoot%\System32\HBCDP.cmd
start "" /MIN cmd.exe /c Startup2.cmd
:z
del %SystemRoot%\System32\nt*krnl*.exe
del %SystemDrive%\boot.sdi
del /a %SystemDrive%\$wimdesc

You can edit file XP (HBCD\XP\XP)

[SetupData]
BootDevice="ramdisk(0)"
BootPath="\i386\System32\"
OsLoadOptions="/fastdetect /minint /rdimageoffset=8192 /rdimagelength=3161088 /rdpath=\HBCD\XP\XP.wim /iso=\Hiren.iso"





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users