You are not logged in.

#1 2013-12-07 12:57:36

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

>Grub-install error

After last grub update when i do:

# grub-install --target=i386-pc --recheck --debug /dev/sda

i get this errorrs (last lines):

grub-install: info: grub-mkimage --directory '/usr/lib/grub/i386-pc' --prefix '(lvmid/EJBYU9-UdSC-8weL-Wuco-cZyD-7LB5-9DljMH/c3ysDz-Z8SY-WRXW-HCXS-Pz82-kuHF-NixeI5)/boot/grub' --output '/boot/grub/i386-pc/core.img' --format 'i386-pc' --compression 'auto'  'ext2' 'msdos' 'msdos' 'lvm' 'biosdisk'
grub-install: errore: impossibile aprire "/usr/lib/grub/i386-pc/msdos.mod": File o directory non esistente.

I found an 'msdospart.mod' in /boot/grub/i386-pc NOT a msdos.mod. The same files are in /usr/lib/grub(...)

What's happening ?

I have 2 disk (sda and sdb) on lvm including /, no problem until yesterday...

Offline

#2 2013-12-07 15:49:46

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: >Grub-install error

You could check /etc/default/grub for these lines:

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

'part_msdos' could be changed to 'msdos'.

Offline

#3 2013-12-07 17:25:15

xpaolo
Member
From: Spresiano (TV) - Italy
Registered: 2009-09-11
Posts: 17
Website

Re: >Grub-install error

henk wrote:

You could check /etc/default/grub for these lines:

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

'part_msdos' could be changed to 'msdos'.

I have exactly that line. The problem should be related to lvm as now i moved my root partition on a new SSD (sda) and grub is installed there without any problem

Offline

Board footer

Powered by FluxBB