Bug#430513: grub-pc fails to install on evms volumes (dm)

2008-08-31 Thread Mathias Behrle
* Betr.: " Re: grub-pc fails to install on evms volumes (dm)" (Wed, 20 Aug 2008
15:27:43 +0200):

> > With latest version from experimental I get:
> > Richte grub-common ein (1.96+20080724-7) ...
> > Richte grub-pc ein (1.96+20080730-1) ...
> 
> grub-probe is in grub-common and as you can see above it's the lenny
> version not experimental.

What you couldn't see from the message: I also had updated grub-common to
experimental in a second step, but same result.
 
> > (x86_64)[EMAIL PROTECTED]:/home/mathiasb# grub-install hd0
> > grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1.  Check your
> > device.map.
> 
> Maybe it helps if you recreate it.
> Either with `grub-mkdevicemap --no-floppy'
> or just `grub-install --recheck --no-floppy'
> `grub-mkdevicemap' is in grub-common too.

I will perhaps try this another time, but I have to reinstall after those
experiments regularly from a chroot with an install CD. It is my working
machine, so I don't like too many experiments of this nature...

> >I will now downgrade again to grub2_1.95-5_amd64.deb, because I need this
> >workstation and cannot face longer downtimes.
> 
> It's good that you found a version which works for you.
> Else I wouldn't suggest using that old version.
> 
> By the way the `evms' package has been on 2008-07-24 now completely
> removed from Debian.
> So I think it's not that important now to support it, but I would like
> to have it working for you nevertheless.

Yes, this old version works and if it should stop working for me, I had to
convert back from evms to mdadm with lvm2. It is only a matter of time to do
it, since I lost the main feature of evms, which was for me snapshotting for
backup purposes.

Thanks for your help,
Mathias


signature.asc
Description: PGP signature


Bug#430513: grub-pc fails to install on evms volumes (dm)

2008-08-20 Thread Felix Zielcke
Am Mittwoch, den 20.08.2008, 13:43 +0200 schrieb Mathias Behrle:
Hello,

thanks very much for replying.

> With latest version from experimental I get:
> Richte grub-common ein (1.96+20080724-7) ...
> Richte grub-pc ein (1.96+20080730-1) ...

grub-probe is in grub-common and as you can see above it's the lenny
version not experimental.

> (x86_64)[EMAIL PROTECTED]:/home/mathiasb# grub-install hd0
> grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1.  Check your
> device.map.

Maybe it helps if you recreate it.
Either with `grub-mkdevicemap --no-floppy'
or just `grub-install --recheck --no-floppy'
`grub-mkdevicemap' is in grub-common too.

>I will now downgrade again to grub2_1.95-5_amd64.deb, because I need this
>workstation and cannot face longer downtimes.

It's good that you found a version which works for you.
Else I wouldn't suggest using that old version.

By the way the `evms' package has been on 2008-07-24 now completely
removed from Debian.
So I think it's not that important now to support it, but I would like
to have it working for you nevertheless.

It would be very kind of you if you try it with the experimental
grub-common package too.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#430513: grub-pc fails to install on evms volumes (dm)

2008-08-20 Thread Mathias Behrle
* Betr.: " grub-pc fails to install on evms volumes (dm)" (Mon, 04 Aug 2008
13:13:40 +0200):

> Mathias could you please try it with the current lenny/sid version and with
> the newer one in experimental, if these evms devices now work better with
> grub2 ? Hopefully we can get rid of this old report :)

With latest version from experimental I get:
Richte grub-common ein (1.96+20080724-7) ...
Richte grub-pc ein (1.96+20080730-1) ...
Installiere neue Version der Konfigurationsdatei /etc/grub.d/10_hurd ...
Installiere neue Version der Konfigurationsdatei /etc/grub.d/05_debian_theme ...
Installiere neue Version der Konfigurationsdatei /etc/grub.d/10_linux ...
Installiere neue Version der Konfigurationsdatei /etc/grub.d/00_header ...
Installiere neue Version der Konfigurationsdatei /etc/default/grub ...
Updating /boot/grub/grub.cfg ...
grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1.  Check your
device.map.

Found linux image: /boot/vmlinuz-2.6.25-2-amd64
Found initrd image: /boot/initrd.img-2.6.25-2-amd64
Found linux image: /boot/vmlinuz-2.6.25-1-obelix-opt
Found initrd image: /boot/initrd.img-2.6.25-1-obelix-opt
Found linux image: /boot/vmlinuz-2.6.24-3-obelix-opt
Found initrd image: /boot/initrd.img-2.6.24-3-obelix-opt
Found linux image: /boot/vmlinuz-2.6.24-2-obelix-opt
Found initrd image: /boot/initrd.img-2.6.24-2-obelix-opt
Found linux image: /boot/vmlinuz-2.6.24-1-amd64
Found initrd image: /boot/initrd.img-2.6.24-1-amd64
done
Richte grub2 ein (1.96+20080730-1) ...

So I don't think, that evms devices are working better, because I get:


(x86_64)[EMAIL PROTECTED]:/home/mathiasb# grub-install hd0
grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1.  Check your
device.map.

Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.


(x86_64)[EMAIL PROTECTED]:/home/mathiasb# grub-probe -v /
...
grub-probe: error: Cannot find a GRUB drive for /dev/evms/root64.  Check your
device.map.


(x86_64)[EMAIL PROTECTED]:/home/mathiasb# grub-probe -v /boot
...
grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1.  Check your
device.map.

I will now downgrade again to grub2_1.95-5_amd64.deb, because I need this
workstation and cannot face longer downtimes.


signature.asc
Description: PGP signature


Bug#430513: grub-pc fails to install on evms volumes (dm)

2008-08-04 Thread Felix Zielcke
I just searched on the grub-devel archived for evms, if there was any
progress about it which didn't make it into this bug report.
The last message on this report is from Mathias dated 11. February.

I found this with evms on grub2's upstream changelog:

2008-07-25  Robert Millan  <[EMAIL PROTECTED]>

* util/getroot.c (find_root_device): Skip devices that match
/dev/dm-[0-9].  This lets the real device be found for any type of
abstraction (LVM, EVMS, RAID..).
(grub_guess_root_device): Do not traverse /dev/mapper (for LVM)
and /dev/evms (for EVMS) before traversing /dev.  If a /dev/dm-[0-9]
device is found first, find_root_device() will now skip it.


2008-02-12  Robert Millan  <[EMAIL PROTECTED]>

* util/getroot.c (grub_guess_root_device): Inspect /dev/evms before
/dev (like it is done for /dev/mapper).  This doesn't provide support
for EVMS, but at least it is now easy to identify the problem when it
arises.

The lenny/sid version has it's last upstream changelog from 07-23 so 2 days 
before the first change.

Mathias could you please try it with the current lenny/sid version and with the 
newer one in experimental,
if these evms devices now work better with grub2 ?
Hopefully we can get rid of this old report :)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#430513: grub-pc fails to install on evms volumes (dm)

2007-06-26 Thread Robert Millan
On Mon, Jun 25, 2007 at 11:07:35AM +0200, Mathias Behrle wrote:
> Package: grub-pc
> Package: grub-pc
> Version: 1.95+20070604-1
> Severity: important
> 
> updating grub2 to grub-pc fails with:
> 
> Vorbereiten zum Ersetzen von grub2 1.95-5
> (durch .../grub2_1.95+20070604-1_amd64.deb) ... Entpacke Ersatz für grub2 ...
> Wähle vormals abgewähltes Paket grub-pc.
> Entpacke grub-pc (aus .../grub-pc_1.95+20070604-1_amd64.deb) ...
> Richte grub-pc ein (1.95+20070604-1) ...
> cannot find a GRUB drive for /dev/dm-11.
> cannot find a GRUB drive for /dev/dm-11.
> cannot find a GRUB drive for /dev/dm-12.
> 
> The boot volume (/dev/sda1 = hd0,1) nevertheless is a evms compatibilty 
> volume,
> i.e. "normal" ext3 volume. The root volume is an evms region on a lvm2
> container.

Please try:

  grub-probe -v /
  grub-probe -v /boot

and send the output.

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#430513: grub-pc fails to install on evms volumes (dm)

2007-06-25 Thread Mathias Behrle
Package: grub-pc
Package: grub-pc
Version: 1.95+20070604-1
Severity: important

updating grub2 to grub-pc fails with:

Vorbereiten zum Ersetzen von grub2 1.95-5
(durch .../grub2_1.95+20070604-1_amd64.deb) ... Entpacke Ersatz für grub2 ...
Wähle vormals abgewähltes Paket grub-pc.
Entpacke grub-pc (aus .../grub-pc_1.95+20070604-1_amd64.deb) ...
Richte grub-pc ein (1.95+20070604-1) ...
cannot find a GRUB drive for /dev/dm-11.
cannot find a GRUB drive for /dev/dm-11.
cannot find a GRUB drive for /dev/dm-12.

The boot volume (/dev/sda1 = hd0,1) nevertheless is a evms compatibilty volume,
i.e. "normal" ext3 volume. The root volume is an evms region on a lvm2
container.

-- Package-specific info:

*** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/evms/root64 / xfs rw,noatime 0 0
/dev/evms/root64 /dev/.static/dev xfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/evms/sda1 /boot ext3 rw,data=ordered 0 0
/dev/evms/tmp /tmp ext2 rw 0 0
/dev/evms/var /var xfs rw,noatime 0 0
/dev/evms/home /home xfs rw,noatime 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
*** END /proc/mounts

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

*** BEGIN /boot/grub/grub.cfg
# grub.cfg - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
set default=0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
set timeout=3

# Pretty colours
# FIXME: use gfxterm here?

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/evms/root64 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the grub.cfg
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

menuentry "Debian GNU/Linux, linux 2.6.22-rc5-1-obelix" {
set root=(hd0,1)
linux   /vmlinuz-2.6.22-rc5-1-obelix root=/dev/evms/root64 ro 
initrd  /initrd.img-2.6.22-rc5-1-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.22-rc5-1-obelix (single-user mode)" {
set root=(hd0,1)
linux   /vmlinuz-2.6.22-rc5-1-obelix root=/dev/evms/root64 ro
single initrd   /initrd.img-2.6.22-rc5-1-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-5-obelix" {
set root=(hd0,1)
linux   /vmlinuz-2.6.21-5-obelix root=/dev/evms/root64 ro 
initrd  /initrd.img-2.6.21-5-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-5-obelix (single-user mod