grub2 failed to upgrade/install: grub-probe: error: no mapping exists for `XXX'

Bug #471265 reported by David
44
This bug affects 16 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: grub2

david@david-desktop:~$ sudo apt-get install grub2
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno inoltre installati:
  grub-pc
Pacchetti suggeriti:
  desktop-base
I seguenti pacchetti saranno RIMOSSI:
  grub
I seguenti pacchetti NUOVI saranno installati:
  grub-pc grub2
0 aggiornati, 2 installati, 1 da rimuovere e 0 non aggiornati.
È necessario scaricare 0B/447kB di archivi.
Dopo quest'operazione, verranno occupati 81,9kB di spazio su disco.
Continuare [S/n]? s
Preconfigurazione dei pacchetti in corso
dpkg: grub: problemi con le dipendenze, ma viene rimosso comunque:
 startupmanager dipende da grub-pc | grub; comunque:
  Il pacchetto grub-pc non è installato.
  Il pacchetto grub sta per essere rimosso.
(Lettura del database... 134657 file e directory attualmente installati.)
Rimozione di grub...
Elaborazione dei trigger per man-db...
Selezionato il pacchetto grub-pc.
(Lettura del database... 134611 file e directory attualmente installati.)
Estrazione di grub-pc (da .../grub-pc_1.97~beta4-1ubuntu4_amd64.deb)...
Selezionato il pacchetto grub2.
Estrazione di grub2 (da .../grub2_1.97~beta4-1ubuntu4_amd64.deb)...
Elaborazione dei trigger per man-db...
Configurazione di grub-pc (1.97~beta4-1ubuntu4)...
Generating core.img
grub-probe: error: no mapping exists for `nvidia_bcdadjfb1'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg: errore nell'elaborare grub-pc (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
dpkg: problemi con le dipendenze impediscono la configurazione di grub2:
 grub2 dipende da grub-pc; comunque:
  Il pacchetto grub-pc non è ancora configurato.
dpkg: errore nell'elaborare grub2 (--configure):
 problemi con le dipendenze - lasciato non configurato
Non è stata scritta alcuna segnalazione apport poiché il messaggio di errore indica che è un errore da un fallimento precedente.
                                                Si sono verificati degli errori nell'elaborazione:
 grub-pc
 grub2
E: Sub-process /usr/bin/dpkg returned an error code (1)
david@david-desktop:~$

ProblemType: Package
Architecture: amd64
Date: Mon Nov 2 17:26:45 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020)
NonfreeKernelModules: nvidia
Package: grub-pc 1.97~beta4-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: grub2
Title: package grub-pc 1.97~beta4-1ubuntu4 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
David (berno-david) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 471265] [NEW] apt-get install Grub2 crashes during grub2 configurations

grub2 doesn't work for SATA RAID yet. This is a known issue.

Revision history for this message
David (berno-david) wrote : Re: [Bug 471265] [NEW] apt-get install Grub2 crashes during grub2 configurations

On 03/11/2009 15:10, Colin Watson wrote:
> grub2 doesn't work for SATA RAID yet. This is a known issue.
>
Yes, I have hd sata but i haven't RAID.
My hd devices are:

Channel 0(IDE)
master: none
slave: Sdc1 (Ext3 Backup Disk)

Channel 1:
Sata 0: HD Sda1Ubuntu with EXT4 fs
Sata 1: HD Sdb1 NTFS (Win Xp) - Sdb2 (Ext4, Backup2 disk)

Channel 2
Sata 2: DVD
Stata3: DVD
Thanks for your work
David

Revision history for this message
Felix Zielcke (fzielcke) wrote :

Am Donnerstag, den 05.11.2009, 16:03 +0000 schrieb David:
> On 03/11/2009 15:10, Colin Watson wrote:
> > grub2 doesn't work for SATA RAID yet. This is a known issue.
> >
> Yes, I have hd sata but i haven't RAID.

This from your console output means you have a so called SATA RAID or
dmraid or motherboard fake RAID:
 grub-probe: error: no mapping exists for `nvidia_bcdadjfb1'

> My hd devices are:
>
> Channel 0(IDE)
> master: none
> slave: Sdc1 (Ext3 Backup Disk)
>
> Channel 1:
> Sata 0: HD Sda1Ubuntu with EXT4 fs
> Sata 1: HD Sdb1 NTFS (Win Xp) - Sdb2 (Ext4, Backup2 disk)
>
> Channel 2
> Sata 2: DVD
> Stata3: DVD
> Thanks for your work
> David

What does `mount' say?

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer

Revision history for this message
David (berno-david) wrote :

On 05/11/2009 17:25, Felix Zielcke wrote:
> This from your console output means you have a so called SATA RAID or
> dmraid or motherboard fake RAID:
> grub-probe: error: no mapping exists for `nvidia_bcdadjfb1'
>
In the BIOS the RAID options is "DISABLE".
The BIOS parameters are even freeze from 2008. Infact Ubuntu Jaunty
during installation don't have problem, the sda drive has been
recognized accurately, and not as 'nvidi_bcdad...'.
I then formatted the disk when installing ubuntu karmik rc1, and the
"nvidia..." is appeared.
Actually, the boot disk with Ubuntu Karmik is /dev/sda
(/dev/mapper/nvidia..)
> What does `mount' say?
I did not understand what you mean

Thanks
David

Revision history for this message
Felix Zielcke (fzielcke) wrote :

Am Donnerstag, den 05.11.2009, 17:49 +0000 schrieb David:
> On 05/11/2009 17:25, Felix Zielcke wrote:
> > This from your console output means you have a so called SATA RAID or
> > dmraid or motherboard fake RAID:
> > grub-probe: error: no mapping exists for `nvidia_bcdadjfb1'
> >
> In the BIOS the RAID options is "DISABLE".
> The BIOS parameters are even freeze from 2008. Infact Ubuntu Jaunty
> during installation don't have problem, the sda drive has been
> recognized accurately, and not as 'nvidi_bcdad...'.
> I then formatted the disk when installing ubuntu karmik rc1, and the
> "nvidia..." is appeared.
> Actually, the boot disk with Ubuntu Karmik is /dev/sda
> (/dev/mapper/nvidia..)
> > What does `mount' say?
> I did not understand what you mean

Execute the command mount without any parameters in a terminal.
If you or /etc/fstab use(s) the /dev/mapper device then grub-probe will
also use that one.

If you really don't use dmraid, you can purge the dmraid package, run
`sudo update-initramfs -c -t -k all' and then reboot to get rid of
the /dev/mapper/nvidia_ devices.
But this only cleanly works if nothing uses these devices. I.e.
mostly /etc/fstab.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer

Revision history for this message
Ulf Adams (ulf-ofahrt) wrote : Re: apt-get install Grub2 crashes during grub2 configurations

The workaround works for me! Thanks.

summary: - apt-get install Grub2 crashes during grub2 configurations
+ grub2 failed to upgrade/install: grub-probe: error: no mapping exists
+ for `XXX'
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.