LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   cannot find a GRUB drive for /dev/mapper/jmicron_RAID1 (https://www.linuxquestions.org/questions/linux-server-73/cannot-find-a-grub-drive-for-dev-mapper-jmicron_raid1-4175502573/)

eudald 04-22-2014 09:51 AM

cannot find a GRUB drive for /dev/mapper/jmicron_RAID1
 
Hi all,

So, ontopic message is what I'm getting when trying to upgrade from ubuntu 12.04 LTS to 14.04 LTS.

This server is not yet in production, but I don't know why I'm getting this message while upgrading.

Code:

grub-install: error: cannot find a GRUB drive for /dev/mapper/jmicron_RAID1.  Check your device.map.
cat /boot/grub/device.map
Code:

(hd0)        /dev/disk/by-id/ata-ST120HM000-1G5142_Z4M00JGZ
(hd1)        /dev/disk/by-id/ata-ST120HM000-1G5142_Z4M00K18

Also:

df -h
Code:

/dev/mapper/jmicron_RAID1  180M  85M  87M  50% /boot
Could you please help? If you need any more information, please tell me.
I've browsed the web and checked that this problem appeared once in 2010, which was solved by a script that is no longer useful due to grub2 changes.

Thanks,
Eudald

colorpurple21859 04-23-2014 08:24 PM

grub-install --recheck /dev/sda

eudald 04-24-2014 10:43 AM

Hi colorpurple21859, it didn't work that well:
Code:

~# grub-install --recheck /dev/sda
Installing for i386-pc platform.
grub-install: error: cannot find a GRUB drive for /dev/mapper/jmicron_RAID1.  Check your device.map.


Dodgeram01 07-31-2014 02:29 PM

Can you try installing multipath? I just went down a road that appears similar to yours but with an Intel firmware controller (and dmraid).

Code:

# apt-get install multipath
# multipath -ll
# grub-install /dev/sda

I don't know exactly what multipath does, I was really just grasping at straws, but it seems to have made my ATA devices show up as SCSI devices via additional mapping. I believe this is the case by looking at the newly generated device.map file (generated by grub only after multipath was installed) as well as the extra mappings now showing in /dev/mapper.


All times are GMT -5. The time now is 11:52 AM.