#774828 Impossible to install grub

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Denis BERNARD
Date:
2015-01-08 07:36:07 UTC
Severity:
normal
#774828#5
Date:
2015-01-08 07:27:55 UTC
From:
To:
I try to install Debian Jessie side by side Debian Wheezy and Windows 7
in an ext4 partition.

See below the partition table:

(parted) print
Model: ATA ST31000524AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
  1      1049kB  211MB   210MB   primary   ntfs            boot
  2      211MB   105GB   105GB   primary   ntfs Windows C:
  3      105GB   973GB   868GB   extended
  5      105GB   126GB   21,0GB  logical   ext4 Wheezy /
  6      126GB   545GB   419GB   logical   ext4 Wheezy /home
  8      545GB   598GB   52,4GB  logical   ext4 Partition where I want to
install Jessie
  9      598GB   971GB   373GB   logical   ntfs Datas Windows partition
  7      971GB   973GB   2097MB  logical   linux-swap(v1)
  4      973GB   1000GB  26,9GB  primary   ntfs            diag
Partition réinstallation Windows


My computer is detected like an UEFI.
I install Debian Jessie with a manual partitioning and put / on
/dev/sda8.
During the installation the installer say to me that I do not have EFI
partition.
I continue the installation whithout it.
At the end I choose to install grub on /dev/sda the default option.
The installer say to me that's impossible to install grub.

This is the real message in french:                   This is a free
translation:

"Impossible d'installer Grub dans dummy"              "Unable to install
GRUB into dummy"
l'exécution de "grub-install dummy " a échoué         executing
"grub-install dummy" failed
  Cette erreur est fatale.                             This error is
fatal.

To solve this problem I have 3 solutions.

The first:
- Go in the new system with the rescue-mode installer.
- Remove and purge grub-efi-amd64
- install grub-pc
- install grub on /dev/sda
- update-grub
reboot and it's ok

The second:
Install Jessie with the i386 installer.
Install ok

The fird:

Remove with fdisk the EFI partition on the USB-stick.
The installation begin like with legacy bios
Install OK


Note: there is no Secure-boot and others to enable or desable in the
bios menus.
Computer: Lenovo H520s
Machine type: 2561


Best regards