Jump to content
funtoo forums
  • 0
groplus

how to dual boot win10

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?

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...