LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-22-2014, 09:51 AM   #1
eudald
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Rep: Reputation: 1
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

Last edited by eudald; 04-22-2014 at 09:52 AM. Reason: more data
 
Old 04-23-2014, 08:24 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,350

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
grub-install --recheck /dev/sda
 
Old 04-24-2014, 10:43 AM   #3
eudald
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: 1
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.
 
Old 07-31-2014, 02:29 PM   #4
Dodgeram01
Member
 
Registered: Jun 2003
Distribution: Gentoo and Ubuntu
Posts: 95

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase /dev/mapper/VolGroup-lv_home by adding an extra hard drive in liux system boby.kumar Linux - Newbie 8 08-08-2013 08:45 AM
How to mount a logical volume off of Backup drive, /dev/mapper? patmicom Red Hat 1 09-08-2012 12:54 PM
RHEL 6.0 + OnBoard HW RAID + GRUB to MBR /dev/mapper/pdc_blah kurasoe Red Hat 5 07-13-2011 04:46 PM
Could not find /dev/mapper/* gamewolf Debian 2 06-25-2011 12:02 PM
Cannot mount my /dev/mapper/crypted-drive BashTin Slackware 2 02-18-2010 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration