Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-07-01 Thread Christoph Anton Mitterer
On Fri, 2010-07-02 at 01:08 +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> Do you have lvm snapshots? If you do it was recently fixed upstream

No not on that machine, but...
> > *** BEGIN /proc/mounts
> > /dev/mapper/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
> > *** END /proc/mounts
... this is a device on top of dm-crypt,... and IIRC, there was a "fix"
for such devices recently, right?

The thing is, that all my filesystems are encrypted (including /boot)
and the actual /boot/ + bootloader are on a dedicated USB-stick.

So I guess you can close this bug.

Cheers,
Chris.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-07-01 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06/05/2010 12:29 AM, Christoph Anton Mitterer wrote:
> Package: grub-pc
> Version: 1.98+20100602-2
> Severity: grave
> Justification: renders package unusable
>
> Hi.
>
> When upgrading the package with the current version, I got the following:
> Installing new version of config file /etc/grub.d/00_header ...
> Setting up grub-pc (1.98+20100602-2) ...
> Generating grub.cfg ...
> /usr/sbin/grub-probe: error: no such disk.
> dpkg: error processing grub-pc (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  grub-pc
>
>   
Do you have lvm snapshots? If you do it was recently fixed upstream
> Any idas?
>
> Cheers,
> Chris.
>
>
>
> -- Package-specific info:
>
> *** BEGIN /proc/mounts
> /dev/mapper/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
> *** END /proc/mounts
>
> *** BEGIN /boot/grub/device.map
> (hd0) /dev/sda
> (hd1) /dev/sdb
> *** END /boot/grub/device.map
>
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.33-heisenberg (SMP w/2 CPU cores; PREEMPT)
> Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-pc depends on:
> ii  debconf [debconf-2.0]1.5.32  Debian configuration management 
> sy
> ii  grub-common  1.98+20100602-2 GRand Unified Bootloader, 
> version 
> ii  libc62.11.1-2Embedded GNU C Library: Shared 
> lib
> ii  libdevmapper1.02.1   2:1.02.48-1 The Linux Kernel Device Mapper 
> use
> ii  ucf  3.0025  Update Configuration File: 
> preserv
>
> grub-pc recommends no packages.
>
> Versions of packages grub-pc suggests:
> ii  desktop-base  5.0.5  common files for the Debian 
> Deskto
>
> -- Configuration Files:
> /etc/default/grub changed [not included]
>
> -- debconf information:
>   grub2/kfreebsd_cmdline:
>   grub-pc/linux_cmdline: fillme
> * grub2/linux_cmdline:
>   grub-pc/chainload_from_menu.lst: true
>   grub-pc/kopt_extracted: false
>   grub-pc/postrm_purge_boot_grub: false
>   grub2/kfreebsd_cmdline_default: quiet
> * grub2/linux_cmdline_default:
> * grub-pc/install_devices:
>
>
>
> ___
> Pkg-grub-devel mailing list
> pkg-grub-de...@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-06-05 Thread Colin Watson
reassign 584595 grub-common
forcemerge 542165 584595
thanks

On Sat, Jun 05, 2010 at 04:39:37PM +0200, Christoph Anton Mitterer wrote:
> It seems you can close this bug.
> 
> My system is about the following:
> 
> I have a /boot on my harddisk,... (with grub, kernel, etc). but I do not
> really use this for booting, nor have I installed grub in the MBA of
> that harddisk.
> 
> I rather boot from a USB stick, where grub is installed (as well
> as /boot) because the system is completely encrypted with dm-crypt.
> 
> When mounting that usb-stick on /boot/,.. and upgrading the package
> everything works fine.
> 
> 
> However, until now this never caused troubles when upgrading the
> package,...
> 
> So perhaps we should investigate in that direction?

I expect, then, that the workaround implemented in #542165 for the next
upload will deal with this bug too.  Let me know if it doesn't.

Thanks,

-- 
Colin Watson   [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-06-05 Thread Christoph Anton Mitterer
On Sat, 2010-06-05 at 13:34 +0100, Colin Watson wrote:
> > *** BEGIN /boot/grub/device.map
> > (hd0)   /dev/sda
> > (hd1)   /dev/sdb
> > *** END /boot/grub/device.map
> Does this device.map match the devices you actually have?  In
> particular, check that they aren't /dev/hda and /dev/hdb instead.
Yeah it does...

It seems you can close this bug.

My system is about the following:

I have a /boot on my harddisk,... (with grub, kernel, etc). but I do not
really use this for booting, nor have I installed grub in the MBA of
that harddisk.

I rather boot from a USB stick, where grub is installed (as well
as /boot) because the system is completely encrypted with dm-crypt.

When mounting that usb-stick on /boot/,.. and upgrading the package
everything works fine.


However, until now this never caused troubles when upgrading the
package,...

So perhaps we should investigate in that direction?


Cheers,
Chris.


smime.p7s
Description: S/MIME cryptographic signature


Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-06-05 Thread Colin Watson
On Sat, Jun 05, 2010 at 12:29:17AM +0200, Christoph Anton Mitterer wrote:
> When upgrading the package with the current version, I got the following:
> Installing new version of config file /etc/grub.d/00_header ...
> Setting up grub-pc (1.98+20100602-2) ...
> Generating grub.cfg ...
> /usr/sbin/grub-probe: error: no such disk.
[...]
> *** BEGIN /proc/mounts
> /dev/mapper/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
> *** END /proc/mounts
> 
> *** BEGIN /boot/grub/device.map
> (hd0) /dev/sda
> (hd1) /dev/sdb
> *** END /boot/grub/device.map

Does this device.map match the devices you actually have?  In
particular, check that they aren't /dev/hda and /dev/hdb instead.

Please run 'sudo sh -x /usr/sbin/grub-mkconfig' and post the output.

Thanks,

-- 
Colin Watson   [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584595: grub-pc: package upgrade fails with "/usr/sbin/grub-probe: error: no such disk.

2010-06-04 Thread Christoph Anton Mitterer
Package: grub-pc
Version: 1.98+20100602-2
Severity: grave
Justification: renders package unusable

Hi.

When upgrading the package with the current version, I got the following:
Installing new version of config file /etc/grub.d/00_header ...
Setting up grub-pc (1.98+20100602-2) ...
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no such disk.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc


Any idas?

Cheers,
Chris.



-- Package-specific info:

*** BEGIN /proc/mounts
/dev/mapper/root / ext4 rw,noatime,barrier=1,data=ordered 0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb
*** END /boot/grub/device.map


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]1.5.32  Debian configuration management sy
ii  grub-common  1.98+20100602-2 GRand Unified Bootloader, version 
ii  libc62.11.1-2Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1   2:1.02.48-1 The Linux Kernel Device Mapper use
ii  ucf  3.0025  Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base  5.0.5  common files for the Debian Deskto

-- Configuration Files:
/etc/default/grub changed [not included]

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:
* grub-pc/install_devices:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org