linux安裝windows啓動盤

安裝gpartedspa

 

 

 

製做引導:code

sudo grub-install --target=i386-pc --boot-directory="/media/root/FA00-5777/boot" /dev/sdc1

 

 

boot/grub/下添加文件grub.cfgorm

default=1  
timeout=15
color_normal=light-cyan/dark-gray
menu_color_normal=black/light-cyan
menu_color_highlight=white/black

menuentry "Start Windows Installation" {
    insmod ntfs
    insmod search_label
    search --no-floppy --set=root --label FA00-5777 --hint hd0,msdos1
    ntldr /bootmgr
    boot
}

menuentry "Boot from the first hard drive" {
    insmod ntfs
    insmod chain
    insmod part_msdos
    insmod part_gpt
    set root=(hd1)
    chainloader +1
    boot
}
相關文章
相關標籤/搜索