I have a usb key wich boot an personnal PE, it's work. But i would like to add an option to boot on the local hard disk, and i didn't find the solution. I've tested lot of things :
....
Mapping is quite pointless, if you don't
--hook it, but you are also making a conceptual error, you don't
rootnoverify unless there is a valid reason why
root doesn't work, and you do not
root or
rootnoverify to the whole hard disk!
If you boot from the USB stick, it will bacome (hd0), effectively "shifting" your internal hard disk to (hd1).
Thus you need to exchange drive.
Learn to use Command Line when experimenting, inclding [TAB] autocompletion.
http://diddy.boot-la...iles/basics.htmhttp://diddy.boot-la...s/files/cli.htmTry this:
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
the above exchanges drives.
root (hd0,0)
this sets
root to first hard disk partition
chainloader +1
boot
will boot the partition bootrecord or PBR
ORchainloader /ntldr
boot
will boot a ntldr on first hard disk partition
Read the guide about mapping:
http://diddy.boot-la...s/files/map.htm(Disk Swapping)
jaclaz