Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

how to dual boot win10


groplus

Question

after new update refind-0.10.4-r1, it freeze on boot ( blank ). setting unchanged after refind-install.

i have separate partiton for window bootloader /dev/sda2 and linux bootloader /dev/sda7.

so , i emerge grub and successfully boot with funtoo linux, but win10.

my /etc/boot.conf :

boot {
    generate grub
    default "Funtoo Linux"
    timeout 3
}
display {
    gfxmode 1024x768
}
"Funtoo Linux" {
    kernel bzImage[-v]
}
"Funtoo Linux genkernel" {
    kernel kernel[-v]
    initrd initramfs[-v]
    params += real_root=auto rootfstype=auto
}
"Windows 10" {
    type win8
    params root=/dev/sda2
}
----------------

and in /boot/grub/grub.cfg

...

menuentry "Windows 10" {
  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sda,gpt2)
  search --no-floppy --fs-uuid --set DCF9-67D7
  chainloader +4
}

 

when boot to window 10 - error incorrect path

then i add  following lines to /etc/grub.d/40-custom

 

menuentry "Windows 10" {
  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sda,gpt2)
  search --no-floppy --fs-uuid --set DCF9-67D7
  chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

 

and try using boot-update ,not successd, it seems ignored grub settings.

then i edit /boot/grub/grub.cfg

add this  'chainloader /EFI/Microsoft/Boot/bootmgfw.efi' in menuentry windows 10, it work.

i know it was not good idea to edit /boot/grub/grub.cfg, Did anyone know how to do?

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

×
×
  • Create New...