Bug#552056: Unable to upgrade grub-pc to 1.97~beta4-1: grub-probe can't find a device for /

2009-10-23 Thread Felix Zielcke
Am Donnerstag, den 22.10.2009, 20:06 -0700 schrieb Daniel Burrows:
 Package: grub-pc
 Version: 1.97~beta4-1
 Severity: serious
 
   The error I get is:
 
 Setting up grub-pc (1.97~beta4-1) ...
 grub-probe: error: cannot find a device for /.
 
   My / is just a normal LVM partition on this machine.
 
   Daniel
 
 -- Package-specific info:
 
 *** BEGIN /proc/mounts
 /dev/mapper/emurlahn-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0  0

Is your /dev/mapper/emurlahn-root a symlink to some /dev/dm-X device?
If so you need to run `update-initramfs -c -t -k all' and if you don't
want to reboot also `echo change  /sys/block/dm-X/uevent'
Replace X of course with the right number.

If this isn't the case and this is really ext3 and not btrfs then I
don't know :(


-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




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



Bug#552056: Unable to upgrade grub-pc to 1.97~beta4-1: grub-probe can't find a device for /

2009-10-23 Thread Daniel Burrows
On Fri, Oct 23, 2009 at 10:36:02AM +0200, Felix Zielcke fziel...@z-51.de was 
heard to say:
 Am Donnerstag, den 22.10.2009, 20:06 -0700 schrieb Daniel Burrows:
 Is your /dev/mapper/emurlahn-root a symlink to some /dev/dm-X device?
 If so you need to run `update-initramfs -c -t -k all' and if you don't
 want to reboot also `echo change  /sys/block/dm-X/uevent'
 Replace X of course with the right number.

  That seems to have done the trick.  Was this documented somewhere
that I should have seen?

Thanks,
  Daniel



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



Bug#552056: Unable to upgrade grub-pc to 1.97~beta4-1: grub-probe can't find a device for /

2009-10-23 Thread Felix Zielcke
forcemerge 550704 552056
thanks
Am Freitag, den 23.10.2009, 07:51 -0700 schrieb Daniel Burrows:
 On Fri, Oct 23, 2009 at 10:36:02AM +0200, Felix Zielcke fziel...@z-51.de 
 was heard to say:
  Am Donnerstag, den 22.10.2009, 20:06 -0700 schrieb Daniel Burrows:
  Is your /dev/mapper/emurlahn-root a symlink to some /dev/dm-X device?
  If so you need to run `update-initramfs -c -t -k all' and if you don't
  want to reboot also `echo change  /sys/block/dm-X/uevent'
  Replace X of course with the right number.
 
   That seems to have done the trick.  Was this documented somewhere
 that I should have seen?
 

It's only documented in already closed bug reports.
The new upstream release of dmsetup changed the /dev/mapper/ devices to
symlinks, which luckly the Debian maintainer changed back to the old
behaviour for us.
But now he wants to remove his workaround for our problem, so I just
merge your bug with that instead of closing it.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




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



Bug#552056: Unable to upgrade grub-pc to 1.97~beta4-1: grub-probe can't find a device for /

2009-10-22 Thread Daniel Burrows
Package: grub-pc
Version: 1.97~beta4-1
Severity: serious

  The error I get is:

Setting up grub-pc (1.97~beta4-1) ...
grub-probe: error: cannot find a device for /.

  My / is just a normal LVM partition on this machine.

  Daniel

-- Package-specific info:

*** BEGIN /proc/mounts
/dev/mapper/emurlahn-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/emurlahn-root /scratchbox/users/daniel/scratchbox ext3 
rw,relatime,errors=remount-ro,data=ordered 0 0
*** END /proc/mounts

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

*** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod ext2
set root=(emurlahn-root)
search --no-floppy --fs-uuid --set df248fe1-ac7f-499a-8f6b-df53739a63a0
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
  fi
fi
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry Debian GNU/Linux, Linux 2.6.30-1-686 {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.30-1-686 root=/dev/mapper/emurlahn-root ro  quiet
initrd  /initrd.img-2.6.30-1-686
}
menuentry Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode) {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.30-1-686 root=/dev/mapper/emurlahn-root ro single 
initrd  /initrd.img-2.6.30-1-686
}
menuentry Debian GNU/Linux, Linux 2.6.29-2-686 {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.29-2-686 root=/dev/mapper/emurlahn-root ro  quiet
initrd  /initrd.img-2.6.29-2-686
}
menuentry Debian GNU/Linux, Linux 2.6.29-2-686 (recovery mode) {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.29-2-686 root=/dev/mapper/emurlahn-root ro single 
initrd  /initrd.img-2.6.29-2-686
}
menuentry Debian GNU/Linux, Linux 2.6.26-1-686 {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.26-1-686 root=/dev/mapper/emurlahn-root ro  quiet
initrd  /initrd.img-2.6.26-1-686
}
menuentry Debian GNU/Linux, Linux 2.6.26-1-686 (recovery mode) {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.26-1-686 root=/dev/mapper/emurlahn-root ro single 
initrd  /initrd.img-2.6.26-1-686
}
menuentry Debian GNU/Linux, Linux 2.6.25-2-686 {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.25-2-686 root=/dev/mapper/emurlahn-root ro  quiet
initrd  /initrd.img-2.6.25-2-686
}
menuentry Debian GNU/Linux, Linux 2.6.25-2-686 (recovery mode) {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.25-2-686 root=/dev/mapper/emurlahn-root ro single 
initrd  /initrd.img-2.6.25-2-686
}
menuentry Debian GNU/Linux, Linux 2.6.25 {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.25 root=/dev/mapper/emurlahn-root ro  quiet
initrd  /initrd.img-2.6.25
}
menuentry Debian GNU/Linux, Linux 2.6.25 (recovery mode) {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 0ee7a44a-c535-45cc-9718-3ab1bb68a5c0
linux   /vmlinuz-2.6.25 root=/dev/mapper/emurlahn-root ro single 
initrd  /initrd.img-2.6.25
}
menuentry Debian GNU/Linux, Linux 2.6.24-1-686 {
insmod ext2
set root=(hd0,1)
search