Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Debian Wheezy on my desktop computer. The hardware components are the following :

Gigabyte-GA-Z87-HD3-Scheda-Madre-Socket
Intel-BX80646I54670K-Processore-i5-4670K-Haswell
Corsair-240-pin-SDRAM-Scheda-memoria
Gigabyte-GV-N660OC-2GD-grafica-memoria-DisplayPort

When it rebooted, the computer was unable to boot, because of this error :

error file /boot/grub/i386-pc/normal.mod not found.

somewhere I found that this error could be fixed by using the command :

cp -r /usr/lib/grub/i386-pc /boot/grub

But then the error changed to:

invalid arch-dependent elf magic

I tried to reinstall the grub with this command more than once:

sudo grub-install --force --boot-directory=/ /dev/sda

but unsuccesfully. The error is still there.

This is the partition scheme of my computer:

root@ziomario-Z87-HD3:/home/ziomario# fdisk -l
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009b447

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048   517617663   258807808    7  HPFS/NTFS/exFAT
/dev/sdb2       517617664   625141759    53762048    7  HPFS/NTFS/exFAT

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xae858386

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   398817279   199407616    7  HPFS/NTFS/exFAT
/dev/sda2       398817280   594129779    97656250   83  Linux
/dev/sda3       594130942   625141759    15505409    5  Extended
/dev/sda5       594130944   625141759    15505408   82  Linux swap / Solaris
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.