I have BartPE installed on two disks, to (hd0,2) and (hd1,0). Both instances of BartPE boot ok but only if they are chainloaded from a primary partition on the first disk:
- BartPE installed on (hd0,2) boots ok when chainloaded from Grub4Dos bootlaced to (hd0,2)
- BartPE installed on (hd1,0) boots ok when chainloaded from Grub4Dos bootlaced to (hd0,2)
- BartPE installed on (hd1,0) will not boot when chainloaded from Grub4Dos bootlaced to (hd1,0):
Error 15: File not found
I have tried the following commands as suggested by Steve6375 on another thread:
title Bart PE & Grub4Dos on Hard Disk #2 hide (hd0,0) hide (hd0,1) hide (hd0,2) unhide (hd1,0) hide (hd1,1) hide (hd1,2) map (hd0) (hd1) map (hd1) (hd0) map --hook # hd1 is now hd0 and hd0 is now hd1 root (hd0,0) || rootnoverify (hd0,0) chainloader (hd0,0)/minint/setupldr.bin
The "ls" command can be used for debugging:
..... # hd1 is now hd0 and hd0 is now hd1 root (hd0,0) || rootnoverify (hd0,0) ls (hd0,0)/ pause ls /minint/ pause chainloader (hd0,0)/minint/setupldr.bin
Running "ls (hd0,0)/" command returns the contents of the "real" (hd0,0) and not the contents of (hd1,0), which indicates that disk mapping did not take place for some reason. As partition (hd0,0) does not contain:
/minint/setupldr.bin
the subsequent "chainloader" command fails with "Error 15: File not found".
I'm thinking about trying out "map --harddrives=N" command but I'm not sure how to properly implement it:
..... map (hd0) (hd1) map (hd1) (hd0) map --hook # which value is correct, 0 or 1? map --harddrives=0 map --harddrives=1
--------------------------------------
- BIOS: Phoenix version: 3.15, date 01/25/2007
- Disk #1: 500 GB with 4096 / e512 sectors, aligned to CHS
- Disk #2: 500 GB with 4096 / e512 sectors, aligned to 1 MiB
- MBR bootloader: Boot-US
- PBR bootloader: Grub4Dos v0.4.5c-2014-12-24 bootlaced to (hd0,2) and (hd1,0)
- BartPE installed on (hd0,2) and (hd1,0)
Edited by Kirkx, 25 January 2015 - 12:18 PM.