aggiungo che, come riportato dal wiki di arch
Quote:
sudo grub2-probe --target=fs_uuid mount/EFI/Microsoft/Boot/bootmgfw.efi
D475-C132
[danilman@lost-PC ~]$ sudo grub2-probe --target=hints_string mount/EFI/Microsoft/Boot/bootmgfw.efi
--hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1'
nb: ho montato sda1 (esp di win nella cartella mount, perchè altrimenti non riusciva a leggere direttamente sda1)
ho editato /etc/grub.d/40_custom in questa maniera
Quote:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
if [ "${grub_platform}" == "efi" ]; then
menuentry "Microsoft Windows 7 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1' D475-C132
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
fi
seguendo sempre la guida, ma mi dà questo errore
Quote:
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-9c4814e85b2a4518b88c3a74980cd488
Found initrd image: /boot/initramfs-0-rescue-9c4814e85b2a4518b88c3a74980cd488.img
error: out of memory.
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 135
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/etc/grub2-efi.cfg.new file attached.
done
non so proprio che fare