I haven't seen many posts on adding images (ISO)'s to already built USB fash drives or USB HDD.
In my case I have a 1TB USB HDD, I created a partition of 30 GB to use with Xboot and placed around 15 Images of different Linux Distros, Utilities and Antivirus ISO's, and the total size was around 10.5 GB.
But I forgot to place a Windows 8 PE or to better say it I still didn't have the Win8PE image at the time I created this USB Xboot, so once I created the Win8PEx64 ISO I was with the question on how to place it in the already build USB XBoot HDD.
To my surprise it was very easy,
I edited the menu.lst at the root and added this:
### MENU END title Windows configfile /boot/grub4dos/windows.lst ### MENU END
created a file called windows.lst and placed it in /boot/grub4dos folder.
the content of this file is:
color magenta/white white/magenta black/white black/white ### MENU END title MAIN MENU configfile /menu.lst ### MENU END ### MENU START title Windows8_PE x64\nWIN8PEx64_2013_07_12.ISO (600 MB)\n ls /images/Win8PE_x64.ISO || find --set-root /images/Win8PE_x64.ISO map --heads=0 --sectors-per-track=0 /images/Win8PE_x64.ISO (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/Win8PE_x64.ISO (0xff) map --hook chainloader (0xff) ### MENU END
that entry was similar at the ones in boot/grub4dos/linux.lst, I just copied one of the linux entries there and edited accordingly to the name of the ISO. ..
And now I can boot with Windows 8 PE from the grub4dos menu.
I'm sorry to read about the original creator of XBoot has passed away, R.I.P, and thanks to the people who took this great project and keep it alve.
Regards.
EDITED:
if you use syslinx, edit file: /boot/syslinux/syslinux.cfg and add:
### MENU START LABEL - MENU LABEL Windows KERNEL /boot/syslinux/vesamenu.c32 APPEND /boot/syslinux/windows.cfg TEXT HELP ENDTEXT ### MENU END
create the file: /boot/syslinux/windows.cfg and type this:
MENU TITLE Windows INCLUDE /boot/syslinux/theme.cfg INCLUDE /boot/syslinux/mainmenu.cfg ### MENU START LABEL - MENU LABEL Windows8_PE x64 LINUX /boot/syslinux/grub.exe APPEND --config-file="ls /images/Win8PE_x64.ISO || find --set-root /images/Win8PE_x64.ISO;map --heads=0 --sectors-per-track=0 /images/Win8PE_x64.ISO (0xff) || map --heads=0 --sectors-per-track=0 --mem /images/Windows8_PE x64 (0xff);map --hook;chainloader (0xff)" TEXT HELP WIN8PEx64_2013_07_12.ISO (668 MB) ENDTEXT ### MENU END
should give you a Windows Menu and the entry to boot with Win8PE. The size 668 MB was the size of my Win8PE ISO, And the label / title could be anything you want to name it.
Edited by rocketero, 13 July 2013 - 07:12 AM.