|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
[bug #33762] can't install on virtio virtual device in KVM machineURL:
<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 <bug-grub@...> 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 <bug-grub@...> 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/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #1, bug #33762 (project grub):
One more thing. I have many virtual machines and this is the only one where grub2 can't be installed. Tried to find some differences between machines, but with no luck. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #2, bug #33762 (project grub):
Found a difference eventually! Don't know why fdisk shows it in the way I though it's the same as on my other machines. cfdisk/parted show differences. This is machine where I can install grub without problem: serwer:~# cfdisk -P t /dev/vda Partition Table for /dev/vda ---Starting---- ----Ending----- Start Number of # Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors -- ----- ---- ---- ----- ---- ---- ---- ----- ----------- ----------- 1 0x80 1 1 0 0x83 254 63 19458 63 312608772 2 0x00 0 1 19459 0x82 254 63 19580 312608835 1959930 3 0x00 0 0 0 0x00 0 0 0 0 0 4 0x00 0 0 0 0x00 0 0 0 0 0 serwer:~# And this is problematic machine: mainsrv:~# cfdisk -P t /dev/vda Partition Table for /dev/vda ---Starting---- ----Ending----- Start Number of # Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors -- ----- ---- ---- ----- ---- ---- ---- ----- ----------- ----------- 1 0x80 32 33 0 0x83 254 63 39039 2048 627175552 2 0x00 0 1 39040 0x82 254 63 39161 627177600 1959930 3 0x00 0 0 0 0x00 0 0 0 0 0 4 0x00 0 0 0 0x00 0 0 0 0 0 mainsrv:~# So seems it's not possible to install grub when first partiotion starts from 2048 sector. Is it bug or intended behaviour? grub 0.x aka legacy works fine. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #3, bug #33762 (project grub):
Is someone going to comment that issue? regards fEnIo _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #4, bug #33762 (project grub):
Judging from the output it looks a lot like an issue with xvda1 w/o xvda which is fixed upstream. Could you please test the latest upstream? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #5, bug #33762 (project grub):
I thought I'm talking with upstream ;) In case you meant 1.99 release then this is output from grub-probe with that version: mainsrv:~# /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub /usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0. /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: scanning hd0 for LVM. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: no LVM signature found. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0. /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: Scanning for mdraid1x RAID devices on disk hd0. /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: Scanning for mdraid09 RAID devices on disk hd0. /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: Scanning for mdraid09 RAID devices on disk hd0,msdos2. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. error: cannot seek `/dev/vda'. /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0. /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: Scanning for mdraid1x RAID devices on disk hd0,msdos2. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. error: cannot seek `/dev/vda'. /usr/sbin/grub-probe: info: scanning hd0 for LVM. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: no LVM signature found. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: scanning hd0,msdos2 for LVM. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: no LVM signature found. /usr/sbin/grub-probe: info: scanning hd0,msdos1 for LVM. /usr/sbin/grub-probe: info: the size of hd0 is 629145600. /usr/sbin/grub-probe: info: no LVM signature found. /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:~# There are new parts wrt RAID/LVM but still it cannot seek /dev/vda. If you didn't mean 1.99 release then please point me to the correct version and I'll try it. regards fEnIo _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineFollow-up Comment #6, bug #33762 (project grub):
Could you try sudo dd if=/dev/vda count=1|xxd ? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
|
|
[bug #33762] can't install on virtio virtual device in KVM machineUpdate of bug #33762 (project grub):
Status: None => Fixed Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #7: There was a similar bug report because of wrong partition offset and which was fixed. Given the lack of response to the additional questions I suppose the fix corrected this as well. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33762> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@... https://lists.gnu.org/mailman/listinfo/bug-grub |
| Free embeddable forum powered by Nabble | Forum Help |