Bug#473340: grub-probe: cannot find a GRUB drive for ....
I got this error too after upgrading GRUB from 0.97-32 to 0.97-36. Turns out my device.map had this: ~$ cat /boot/grub/device.map (hd0) /dev/hda But the device name changed to /dev/sda a long time ago, when I switched to the new SATA drivers. Correcting the device.map fixes the problem. Apparently this GRUB version is less tolerant to this error. signature.asc Description: This is a digitally signed message part.
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Mon, Apr 7, 2008 at 5:18 PM, Robert Millan [EMAIL PROTECTED] wrote: [...] Your device.map didn't include all drives (a regeneration would solve this: grub --device-map). I just did that and now I have: [EMAIL PROTECTED]:/$ cat /boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb Thank you. -- Carlo Fusco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Fri, Apr 4, 2008 at 7:48 PM, Carlo Fusco [EMAIL PROTECTED] wrote: I can exactly confirm the same bug in my system. I have 2 disks sata, sda1 that is mount in my home dir and sdb1 that conteins the operating system. Some time during boot they get inverted (I imagine is a bios issue) and therefore initiramfs stops and drops me on a shell. Usually a reboot is enough to fix this problem Here some more info. /boot/grub/device.map. (hd0) /dev/sda manually changing /boot/grub/device.map to: (hd0) /dev/sdb solved the problem. -- Carlo Fusco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
I can exactly confirm the same bug in my system. I have t2 disks sata, sda1 that is mount in my home dir and sdb1 that conteins the operating system. Some time during boot they get inverted (I imagine is a bios issue) and therefore initiramfs stops and drops me on a shell. Usually a reboot is enough to fix this problem Here some more info. /boot/grub/device.map. (hd0) /dev/sda grub-probe -t device / /dev/sdb1 grub-probe -t device /boot /dev/sdb1 grub-probe -t fs /boot grub-probe: error: cannot find a GRUB drive for /dev/sdb1. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages grub depends on: ii grub-common 1.96+20080228-1 GRand Unified Bootloader, version grub recommends no packages. -- no debconf information -- Carlo Fusco -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. -- Robert Millan GPLv2 I know my rights; I want my phone call! DRM What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
Dne Monday 31 of March 2008 je Blaž Lorger napisal(a): On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. It's just oneliner: (hd0) /dev/sda This was true until I installed 5th drive. Now it'a a lottery whether hd0 is /dev/sda or /dev/sde. Some additional information may help. Devices /dev/sda, ..., /dev/sdd are joined in RAID. I created temporary device.map: (hd0) /dev/disk/by-id/scsi-S_3ND034S4 (hd1) /dev/disk/by-id/scsi-S_3ND1DBEF (hd2) /dev/disk/by-id/scsi-S_9QG0RTF1 (hd3) /dev/disk/by-id/scsi-S_WD-WCAPW3292614 (hd4) /dev/disk/by-id/scsi-S_9QG0VRJT (hd5) /dev/disk/by-id/scsi-S_WD-WCAPW3375714 With this device.map grub-probe executes successfully: # grub-probe --device-map=tmp/device.map / ext2 Can I use this device.map or will it cause problems?
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. It's just oneliner: (hd0) /dev/sda This was true until I installed 5th drive. Now it'a a lottery whether hd0 is /dev/sda or /dev/sde. (hd0) /dev/sda
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Mon, Mar 31, 2008 at 10:24:16PM +0200, Blaž Lorger wrote: On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. It's just oneliner: (hd0) /dev/sda If you add (hd1)/dev/sde by hand, does it work then? -- Robert Millan GPLv2 I know my rights; I want my phone call! DRM What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
On Mon, Mar 31, 2008 at 10:24:59PM +0200, Blaž Lorger wrote: Dne Monday 31 of March 2008 je Blaž Lorger napisal(a): On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. It's just oneliner: (hd0) /dev/sda This was true until I installed 5th drive. Now it'a a lottery whether hd0 is /dev/sda or /dev/sde. Some additional information may help. Devices /dev/sda, ..., /dev/sdd are joined in RAID. And sde? Please provide the output of: grub-probe -t device / grub-probe -t device /boot grub-probe -t fs /boot -- Robert Millan GPLv2 I know my rights; I want my phone call! DRM What use is a phone call… if you are unable to speak? (as seen on /.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#473340: grub-probe: cannot find a GRUB drive for ....
Dne Monday 31 of March 2008 je Robert Millan napisal(a): On Mon, Mar 31, 2008 at 10:24:59PM +0200, Blaž Lorger wrote: Dne Monday 31 of March 2008 je Blaž Lorger napisal(a): On Sun, Mar 30, 2008 at 03:23:03AM +0200, Blaž Lorger wrote: Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Please attach your /boot/grub/device.map. It's just oneliner: (hd0) /dev/sda This was true until I installed 5th drive. Now it'a a lottery whether hd0 is /dev/sda or /dev/sde. Some additional information may help. Devices /dev/sda, ..., /dev/sdd are joined in RAID. And sde? Please provide the output of: grub-probe -t device / grub-probe -t device /boot grub-probe -t fs /boot sde is physicall disk. It's 1st HD detected by BIOS. Now using several different device.map files: Default one: isis:~# cat /boot/grub/device.map (hd0) /dev/sda One containing only sde: isis:~# cat sde-device.map (hd0) /dev/sde Newly generated one: isis:~# echo quit |grub --device-map=new-device.map --batch isis:~# cat new-device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc (hd3) /dev/sdd (hd4) /dev/sde (hd5) /dev/sdf Since I don't have floppy drive I had to edit generated file: isis:~# cat edited-device.map (hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc (hd3) /dev/sdd (hd4) /dev/sde (hd5) /dev/sdf And finally using symlinks by ID: isis:~# cat byid-device.map (hd0) /dev/disk/by-id/scsi-S_3ND034S4 (hd1) /dev/disk/by-id/scsi-S_3ND1DBEF (hd2) /dev/disk/by-id/scsi-S_9QG0RTF1 (hd3) /dev/disk/by-id/scsi-S_WD-WCAPW3292614 (hd4) /dev/disk/by-id/scsi-S_9QG0VRJT (hd5) /dev/disk/by-id/scsi-S_WD-WCAPW3375714 Here is the result: isis:~# grub-probe -t device / /dev/sde1 isis:~# grub-probe -t device /boot /dev/sde1 isis:~# grub-probe -t fs /boot grub-probe: error: cannot find a GRUB drive for /dev/sde1. isis:~# grub-probe --device-map=sde-device.map -t device / /dev/sde1 isis:~# grub-probe --device-map=sde-device.map -t device /boot /dev/sde1 isis:~# grub-probe --device-map=sde-device.map -t fs /boot ext2 isis:~# grub-probe --device-map=new-device.map -t device / grub-probe: error: Cannot get the real path of `/dev/fd0' isis:~# grub-probe --device-map=new-device.map -t device /boot grub-probe: error: Cannot get the real path of `/dev/fd0' isis:~# grub-probe --device-map=new-device.map -t fs /boot grub-probe: error: Cannot get the real path of `/dev/fd0' isis:~# grub-probe --device-map=edited-device.map -t device / /dev/sde1 isis:~# grub-probe --device-map=edited-device.map -t device /boot /dev/sde1 isis:~# grub-probe --device-map=edited-device.map -t fs /boot ext2 isis:~# grub-probe --device-map=byid-device.map -t device / /dev/sde1 isis:~# grub-probe --device-map=byid-device.map -t device /boot /dev/sde1 isis:~# grub-probe --device-map=byid-device.map -t fs /boot ext2
Bug#473340: grub-probe: cannot find a GRUB drive for ....
Package: grub Version: 0.97-35 After upgrade from grub version 0.97-32, I was unable to install new kernel version becouse update-grub fails. It seems that problem is with grub-probe: isis:~# grub-probe / grub-probe: error: cannot find a GRUB drive for /dev/sde1. Downgrade to version 0.97-32 solves the problem. Maybe it is worth mentioning that /dev/sde1 is my root drive (at the moment). But I use UUID to identify partitions in my /etc/fstab and /boot/grub/menu.lst from fstab: ... UUID=199d56b3-7b2a-45f4-8be8-58a620aca501 / ext3 defaults,errors=remount-ro 0 1 ... from menu.lst ... # kopt=root=UUID=199d56b3-7b2a-45f4-8be8-58a620aca501 ro ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]