linux安装windows启动盘

安装gparted

 

 

 

制作引导:

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

 

 

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

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
}

 

posted on 2018-06-20 02:18  Honey_Badger  阅读(472)  评论(0编辑  收藏  举报

导航

github