On 11/01/2010 11:30 PM, Csillag Kristof wrote: > 2010-11-01 18:26 keltezéssel, Vladimir 'φ-coder/phcoder' Serbinenko írta: > >> [...] >> >>> With new grub, this returns: >>> >>> # grub-probe -t abstraction --device /dev/xvda1 -v >>> grub-probe: info: /dev/xvda1 starts from 0. >>> grub-probe: info: opening the device hd0. >>> grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your >>> device.map. >>> >>> As I have already shown, device.map contains this: >>> >>> (hd0) /dev/xvda >>> >>> so it might try to open /dev/xvda, which is a fake device, it does not >>> exist. >>> Only xvda1 and xvda2 exists. >>> Old grub could cope with this. >>> >>> >>> >>> >>> >> Could you try removing this entry? >> >> > With line from device.map removed: > > # grub-probe -t abstraction --device /dev/xvda1 -v > grub-probe: info: /dev/xvda1 starts from 0. > grub-probe: info: opening the device /dev/xvda. > grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your > device.map. > > The result is different, but still does not work. > > I have also tried to remove the (fake) /dev/xvda device. The result is: > > # grub-probe -t abstraction --device /dev/xvda1 -v > grub-probe: info: /dev/xvda1 starts from 0. > grub-probe: info: opening the device /dev/xvda. > grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your > device.map. > > When testing with devices.map entry, but fake xvda removed: > > # grub-probe -t abstraction --device /dev/xvda1 -v > grub-probe: info: Cannot stat `/dev/xvda', skipping. > grub-probe: info: /dev/xvda1 starts from 0. > grub-probe: info: opening the device /dev/xvda. > grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your > device.map. > > * * * > > Anything else to test? > The case with both device.map entry and fake device removed, this is the correct way of doing it. > Csillag > > >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature