bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33762] can't install on virtio virtual device in KVM machine


From: Bartosz Feński
Subject: [bug #33762] can't install on virtio virtual device in KVM machine
Date: Wed, 13 Jul 2011 07:50:14 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

URL:
  <http://savannah.gnu.org/bugs/?33762>

                 Summary: can't install on virtio virtual device in KVM
machine
                 Project: GNU GRUB
            Submitted by: fenski
            Submitted on: Wed 13 Jul 2011 07:50:14 AM GMT
                Category: Installation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 1.98
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Hello.

I tried to install grub2 on my virtual machine which uses Virtio as an
emulation layer for devices.

This is what I got:

Setting up grub-pc (1.98+20100804-14) ...

Creating config file /etc/default/grub with new version
error: cannot seek `/dev/vda'.
error: cannot seek `/dev/vda'.
/usr/sbin/grub-probe: error: cannot seek `/dev/vda'.
Auto-detection of a filesystem of /dev/vda1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
error: cannot seek `/dev/vda'.
error: cannot seek `/dev/vda'.
/usr/sbin/grub-probe: error: cannot seek `/dev/vda'.
Auto-detection of a filesystem of /dev/vda1 failed.
Please report this together with the output of "/usr/sbin/grub-probe
--device-map=/boot/grub/device.map --target=fs -v /boot/grub" to
<address@hidden>
Setting up grub (0.97-64) ...

And now what grub-probe says:

mainsrv:~# /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs
-v /boot/grub
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
error: cannot seek `/dev/vda'.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to snd.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to network.
/usr/sbin/grub-probe: info: changing current directory to mapper.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to bus.
/usr/sbin/grub-probe: info: changing current directory to usb.
/usr/sbin/grub-probe: info: changing current directory to 001.
/usr/sbin/grub-probe: info: /dev/vda1 starts from 2048.
/usr/sbin/grub-probe: info: opening the device hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: opening hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 629145600.
/usr/sbin/grub-probe: error: cannot seek `/dev/vda'.
mainsrv:~#

Output of fdisk:

mainsrv:~# fdisk -l

Disk /dev/vda: 322.1 GB, 322122547200 bytes
255 heads, 63 sectors/track, 39162 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000ba57

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           1       39040   313587776   83  Linux
/dev/vda2           39041       39162      979965   82  Linux swap / Solaris
mainsrv:~#

mainsrv:~# tune2fs -l /dev/vda1
tune2fs 1.41.12 (17-May-2010)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          9ade651d-bd05-4a2a-81ee-fbe2cd9af52a
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype
needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash 
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              18866176
Block count:              75451648
Reserved block count:     3772582
Free blocks:              39881678
Free inodes:              17198568
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1006
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Filesystem created:       Tue Jan 25 02:58:46 2011
Last mount time:          Fri Feb  4 08:24:24 2011
Last write time:          Tue Jan 25 05:20:32 2011
Mount count:              11
Maximum mount count:      26
Last checked:             Tue Jan 25 02:58:46 2011
Check interval:           15552000 (6 months)
Next check after:         Sun Jul 24 03:58:46 2011
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
First orphan inode:       13591540
Default directory hash:   half_md4
Directory Hash Seed:      e8b1711e-00d2-4687-9afd-8b4a9283823e
Journal backup:           inode blocks
mainsrv:~#

I tried to google for similar problems but seems I the one ;)

Any hints?

regards
fEnIo




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33762>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]