Bug#543795: closed by Felix Zielcke <fzielcke at z-51.de> (Re: Bug#543795: grub-pc: ..with /dev/dm-0 as /, "grub-probe: error: cannot find a device for /")
Arnt Karlsen
arnt at c2i.net
Sat Sep 5 10:11:04 UTC 2009
On Thu, 27 Aug 2009 09:03:19 +0000, Debian wrote in message
<handler.543795.D543795.125136276812631.notifdone at bugs.debian.org>:
> This is an automatic notification regarding your Bug report
> which was filed against the grub-pc package:
>
> #543795: grub-pc: ..with /dev/dm-0 as /, "grub-probe: error: cannot
> find a device for /"
>
> It has been closed by Felix Zielcke <fzielcke at z-51.de>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Felix Zielcke
> <fzielcke at z-51.de> by replying to this email.
>
..hum, it still needs "echo change > /sys/block/dm-0/uevent "
and it still segfaults on
/usr/lib/grub/grub-mkconfig_lib: line 95: \
1398 Segmentation fault \
${grub_probe} -t fs $path > /dev/null 2>&1 \
before it succeeds setting up itself, cli snip:
Setting up google-gadgets-qt (0.10.5-0.2) ...
Setting up google-gadgets-xul (0.10.5-0.2) ...
Setting up grub-common (1.97~beta2-1) ...
Setting up grub-pc (1.97~beta2-1) ...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
grub-probe: error: cannot find a device for /.
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit
status 1 Setting up trend
(1.1-3) ... Processing triggers for
menu ... Processing triggers for
python-support ... Errors were encountered while
processing:
grub-pc E: Sub-process /usr/bin/dpkg returned an error code
(1) A package failed to install. Trying to
recover: Setting up grub-pc
(1.97~beta2-1) ... Installation finished. No error
reported. This is the contents of the device
map /boot/grub/device.map. Check if this is correct or not. If any of
the lines is incorrect, fix it and re-run the script
`grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
grub-probe: error: cannot find a device for /.
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit
status 1 Errors were encountered while
processing:
grub-pc Press return to
continue.
Setting up grub-pc (1.97~beta2-1) ...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
grub-probe: error: cannot find a device for /.
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit
status 1 Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up grub-pc (1.97~beta2-1) ...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
grub-probe: error: cannot find a device for /.
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit
status 1 Errors were encountered while processing:
grub-pc
Press return to continue.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Sat Sep 5 06:07:53 CEST 2009
a16:~# history |grep grub
515 history |grep grub
a16:~# echo change > /sys/block/dm-0/uevent
a16:~# dpkg --configure -a
Setting up grub-pc (1.97~beta2-1) ...
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/hda
(hd1) /dev/hdb
Generating grub.cfg ...
/usr/lib/grub/grub-mkconfig_lib: line 95: 1398 Segmentation fault
${grub_probe} -t fs $path > /dev/null 2>&1 Found Debian background:
moreblue-orbit-grub.png Found linux image: /boot/vmlinuz-2.6.30-1-686
Found initrd image: /boot/initrd.img-2.6.30-1-686
done
a16:~#
--
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
More information about the Pkg-grub-devel
mailing list