You are not logged in.
Pages: 1
Today I reinstalled Arch on my computer. I also have a partition with Windows and I want to add it to GRUB. But when I run grub-mkconfig I get this error:
/etc/grub.d/40_custom: línea 1: menuentry: no se encontró la orden
/etc/grub.d/40_custom: línea 2: error sintáctico cerca del elemento inesperado `('
/etc/grub.d/40_custom: línea 2: ` set root=(hd0,4)'My fdisk -l result:
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/sda1 63 60002774 30001356 83 Linux
/dev/sda2 60002775 327549284 133773255 83 Linux
/dev/sda3 327549285 335546367 3998541+ 5 Extended
/dev/sda4 * 335546368 1250263039 457358336 7 HPFS/NTFS/exFAT
/dev/sda5 327549348 335546367 3998510 83 Linux/dev/sda1 -> /
/dev/sda2 ---> /home
/dev/sda3 ---> Extended
/dev/sda4 ---> Windows 7
/dev/sda5 ---> swapAnd my 40_custom:
menuentry "Windows 7" {
set root=(hd0,4)
chainloader(hd0,4)+1
}Maybe is because I don't have /boot partition?
Offline
Offline
I also tried that before and I get practically the same errors:
/etc/grub.d/40_custom: línea 1: menuentry: no se encontró la orden
insmod: ERROR: could not load module part_msdos: No such file or directory
insmod: ERROR: could not load module ntfs: No such file or directory
insmod: ERROR: could not load module search_fs_uuid: No such file or directory
insmod: ERROR: could not load module ntldr: No such file or directory
/etc/grub.d/40_custom: línea 6: search: no se encontró la orden
/etc/grub.d/40_custom: línea 7: ntldr: no se encontró la orden
/etc/grub.d/40_custom: línea 8: error sintáctico cerca del elemento inesperado `}'
/etc/grub.d/40_custom: línea 8: `}'Offline
Pages: 1