немного повозился но вроде что-то слепил хотя можно и попробовать WinSetupFromUSB на windows или MultiSystem на linux.
если кратко то флэшка 8Г такая:
/dev/sdb1: LABEL="win7" UUID="53B8-E7D1" TYPE="vfat"
/dev/sdb2: LABEL="w8" UUID="562D-BBBC" TYPE="vfat"
/dev/sdb3: LABEL="grub" UUID="5A30-D0BF" TYPE="vfat"
/dev/sdb4: LABEL="GRUB4DOS" UUID="CC2B-E462" TYPE="vfat"
начал с grub2
sudo grub-install --root-directory=/media/viktor/grub /dev/sdb
вынимать файлы из образа и копировать в конкретный раздел флэшки много ума не надо
в итоге конфиг такой:
# таймаут меню
set timeout=20
# выбранный пункт по умолчанию
set default=0
# разрешение
set gfxmode=1024x768,800x600
# загружаем модуль файловой системы ext2
insmod ext2
# загружаем шрифт и включаем графическое меню
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else terminal gfxterm; fi
# настройка цветов
set color_normal=yellow/black
set menu_color_normal=white/black
set menu_color_highlight=light-blue/black
menuentry "Boot from first hard disk" {
set root=(hd1)
chainloader +1
}
menuentry "Reboot" {
reboot
}
menuentry "Poweroff"{
halt
}
menuentry "Ubuntu 14(rescue_grub_kernel_3.13.0-36-generic)" {
search -u ba041143-2d2f-4c88-9999-d1e2521610f3 -s
linux /boot/vmlinuz-3.13.0-36-generic root=UUID=ba041143-2d2f-4c88-9999-d1e2521610f3 ro ipv6.disable=1
initrd /boot/initrd.img-3.13.0-36-generic
}
menuentry 'Windows 7 Installer(loader) ' {
search -u 53B8-E7D1 -s
ntldr /bootmgr
}
menuentry 'Windows 8 rescue-disk ' {
search -u 562D-BBBC -s
ntldr /bootmgr
}
menuentry "Clonezilla-live-20141208-utopic-amd64(iso)" {
set isofile="/iso/clonezilla-live.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts=\"\" ocs_live_batch=\"no\" locales=\"\" vga=788 ip=frommedia nosplash toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
menuentry "Grub4dos" {
search -u CC2B-E462 -s
ntldr /grldr
}
честно говоря застрял с grub2 на krd10 поэтому кинул из пакета grub4dos файлы grldr и menu.lst в корень четвертого раздела таким образом сделал перемычку в grub4dos. туда же отправил файлы из образа iso krd. здесь два варианта
первый (rescue2usb) вторые просто вынул из iso.
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default
title Kasperskiy Rescue Disk 10
find --set-root /rescue/rescueusb.iso
map --heads=0 --sectors-per-track=0 --mem /rescue/rescueusb.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
title Kaspersky Rescue Disk. Gui
kernel /boot/rescue root=live:UUID=CC2B-E462 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz
title Kaspersky Rescue Disk. Text
kernel /boot/rescue root=live:CDLABEL=GRUB4DOS rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg quiet nox kavshell noresume doscsi nomodeset
initrd /boot/rescue.igz
title commandline
commandline
title reboot
reboot
title halt
halt
можно при желании и необходимости создать логические разделы.
стоит отметить что после запуска програм при монтировании всех разделов вид получается довольно громоздкий.