* [grub2-cvs] grub-probe lvm2 in hda1
@ 2007-01-10 8:18 Juan Pedro Paredes
0 siblings, 0 replies; only message in thread
From: Juan Pedro Paredes @ 2007-01-10 8:18 UTC (permalink / raw)
To: grub-devel
WHAT
I get the following message.
cannot find a GRUB drive for devel-xen.
When try to probe devices before grub install.
VERSION
20070110 grub2 cvs
ENVIRONMENT
Linux booted from hda4 with grub legacy
Work with chroot in /dev/mapper/devel-xen
TEST
devel:~# grub-probe -v -t device -m /boot/grub/device.map /boot/grub
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
...
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to devel
grub-probe: info: changing current directory to mapper
devel-xen
This is OK
devel:~# grub-probe -v -t drive -m /boot/grub/device.map /boot/grub
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to devel
grub-probe: info: changing current directory to mapper
cannot find a GRUB drive for devel-xen.
devel:~# grub-probe -v -t fs -m /boot/grub/device.map /boot/grub
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: opening the device `/dev/fd0'
grub-probe: info: the size of fd0 is 2880
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: opening the device `/dev/hda1'
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: the size of hd0 is 156301488
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to devel
grub-probe: info: changing current directory to mapper
cannot find a GRUB drive for devel-xen.
LVM2 ENVIRONMENT
environment in a pc partition
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 151185 76197208+ 8e Linux LVM
/dev/hda4 * 151186 155061 1953504 83 Linux
devel:~# pvs
PV VG Fmt Attr PSize PFree
/dev/hda1 devel lvm2 a- 72.66G 26.16G
devel:~# vgs
VG #PV #LV #SN Attr VSize VFree
devel 1 11 0 wz--n- 72.66G 26.16G
devel:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
devel-root devel -wi-a- 10.00G
devel-swap devel -wi-a- 1.00G
manite devel -wi-a- 2.00G
piraway devel -wi-a- 2.00G
marules devel -wi-a- 9.00G
juampe devel -wi-a- 10.00G
prueba-disk devel -wi-a- 4.00G
prueba-swap devel -wi-a- 512.00M
swap devel -wi-a- 1.00G
muntuns devel -wi-a- 5.00G
xen devel -wi-ao 2.00G
devel:~# ls -la /dev/mapper/
total 0
drwxr-xr-x 2 root root 280 Jan 9 09:26 .
drwxr-xr-x 15 root root 13460 Jan 9 09:27 ..
crw-rw---- 1 root root 10, 63 Jan 9 09:26 control
brw-rw---- 1 root disk 254, 9 Jan 9 09:26 devel-devel--root
brw-rw---- 1 root disk 254, 10 Jan 9 09:26 devel-devel--swap
brw-rw---- 1 root disk 254, 2 Jan 9 09:26 devel-manite
brw-rw---- 1 root disk 254, 5 Jan 9 09:26 devel-piraway
brw-rw---- 1 root disk 254, 3 Jan 9 09:26 devel-marules
brw-rw---- 1 root disk 254, 6 Jan 9 09:26 devel-juampe
brw-rw---- 1 root disk 254, 7 Jan 9 09:26 devel-prueba--disk
brw-rw---- 1 root disk 254, 8 Jan 9 09:26 devel-prueba--swap
brw-rw---- 1 root disk 254, 0 Jan 9 09:26 devel-swap
brw-rw---- 1 root disk 254, 1 Jan 9 09:26 devel-muntuns
brw-rw---- 1 root disk 254, 4 Jan 9 09:26 devel-xen
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-10 8:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 8:18 [grub2-cvs] grub-probe lvm2 in hda1 Juan Pedro Paredes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.