Bug#527629: grub-pc: grub-probe fails with "Cannot find a GRUB drive for /dev/scsi/sdh0-1c0i0l0p1. Check your device.map."

Felix Zielcke fzielcke at z-51.de
Sat Jun 13 11:23:54 UTC 2009


Am Samstag, den 13.06.2009, 12:09 +0100 schrieb Bob Ham:
> On Sat, 2009-05-23 at 17:33 +0200, Felix Zielcke wrote:
> > Am Freitag, den 08.05.2009, 16:32 +0100 schrieb Bob Ham:
> > 
> > > Apt fails to configure the grub-pc package:
> > > 
> > > rah at teasel:~$ sudo dpkg --configure grub-pc
> > > Setting up grub-pc (1.96+20090317-1) ...
> > > Generating core.img
> > > grub-probe: error: Cannot find a GRUB drive for /dev/scsi/sdh0-1c0i0l0p1.  Check your device.map.
> > > 
> > [...]
> > > 
> > > The system has six SATA disks as /dev/sdX.  The first, /dev/sda,
> > > contains the root(+boot) partition, swap and an LVM partition:
> > 
> > Hi,
> > 
> > sorry for the late reply.
> > This shouldn't be /dev/scsi/sdh* if your disks are normally
> > named /dev/sd*. Maybe your udev isn't configured properly.
> 
> I would point out that I have never touched the udev configuration on
> this box.

udev 0.124-1 dropped completely the support for devfs style devices.
Maybe it just wasn't properly updated. Try to purge it and reinstall it.

> > Move the /dev/scsi directory out of /dev or just remove it and then it
> > should work.
> 
> This seems to have worked.

Maybe we should ignore devfs style devices, but it's not that easy.
grub-probe actually should support them if they are /scsi/*disk* or
*part* but your's is different from that.
I can't remember anymore how devfs named the devices.
-- 
Felix Zielcke






More information about the Pkg-grub-devel mailing list