[bug #45021] grub install error in zfs raw-disk installation

2015-05-12 Thread Andrei Borzenkov
Update of bug #45021 (project grub): Status:None => Invalid Open/Closed:Open => Closed ___ Reply to this item at:

[bug #45021] grub install error in zfs raw-disk installation

2015-05-12 Thread Kostya Berger
Follow-up Comment #11, bug #45021 (project grub): Yes, I confirm this. Somehow my disk's partition table had partition #4 set as FreeBSD and active. I've destroyed all zfs filesystem and then set the partition "unused" with "fdisk -u /dev/ada0" manual command. After that recreated raw-disk zpool e

[bug #45021] grub install error in zfs raw-disk installation

2015-05-08 Thread Kostya Berger
Follow-up Comment #10, bug #45021 (project grub): Thank you for your information, I have no idea how that msdos label came to be there. I definitely didn't create it. Anyway, I'll try clearing the disk once more and repeat the installation sequence.

[bug #45021] grub install error in zfs raw-disk installation

2015-05-07 Thread Andrei Borzenkov
Follow-up Comment #9, bug #45021 (project grub): I tried to create pool using new empty disk and no label was created; grub-install was successful. I then run "fdisk -I /dev/ada1" and got exactly your situation - msdos label with simgle whole disk 0x85 partition and zpool. Of course grub-install r

[bug #45021] grub install error in zfs raw-disk installation

2015-05-07 Thread Kostya Berger
Follow-up Comment #8, bug #45021 (project grub): On this particular machine it's 10.1-RELEASE. But on my other machine, where the installation was successful with earlier version of grub and feature-disabled zpool, it's 10.1-STABLE. ___ Rep

[bug #45021] grub install error in zfs raw-disk installation

2015-05-07 Thread Andrei Borzenkov
Follow-up Comment #7, bug #45021 (project grub): I think I know what happens. You are using FreeBSD, right? Just in case I'll try to reproduce - what is your version? ___ Reply to this item at:

[bug #45021] grub install error in zfs raw-disk installation

2015-05-07 Thread Andrei Borzenkov
Follow-up Comment #6, bug #45021 (project grub): This disk has valid MBR with single partition of type 0xA5 (BSD). To this extent message is correct. Someone who understands how *BSD manages disks should step in here. ___ Reply to this item

[bug #45021] grub install error in zfs raw-disk installation

2015-05-06 Thread Kostya Berger
Follow-up Comment #5, bug #45021 (project grub): Here it is. BTW, this is taken from the zfsboot man page about the bootloader installation into the whole-disk zfs pool. May be helpful: --- zfsboot is used on BIOS-based computers to boot from a filesystem in a ZFS pool. zfsboot i

[bug #45021] grub install error in zfs raw-disk installation

2015-05-06 Thread Andrei Borzenkov
Follow-up Comment #4, bug #45021 (project grub): Please upload first 128K of disk. dd if=/dev/ada0 of=/tmp/ada0.out bs=128k count=1 bzip2 -9 /tmp/ada0.out ___ Reply to this item at: ___

[bug #45021] grub install error in zfs raw-disk installation

2015-05-06 Thread Kostya Berger
Follow-up Comment #3, bug #45021 (project grub): No, it doesn't. Raw-disk installation means a ZFS pool that occupies full disk -- no partitions at all. 'gpart show' shows nothing accordingly. I didn't know from the start how grub would handle that, but it seems it handles it like MBR disk or som

[bug #45021] grub install error in zfs raw-disk installation

2015-05-05 Thread Andrei Borzenkov
Follow-up Comment #2, bug #45021 (project grub): Does disk have partition table? Could you show "gpart show -r" output or equivalent? ___ Reply to this item at: _

[bug #45021] grub install error in zfs raw-disk installation

2015-05-05 Thread Kostya Berger
Follow-up Comment #1, bug #45021 (project grub): ##Here is the grub-install debug output: grub-install --debug --modules=zfs --boot-directory=/boot /dev/ada0 Installing for i386-pc platform. /home/kostya/GRUB-2/sbin/grub-install: info: cannot open `/boot/grub/device.map': No such file or directory

[bug #45021] grub install error in zfs raw-disk installation

2015-05-05 Thread Kostya Berger
URL: Summary: grub install error in zfs raw-disk installation Project: GNU GRUB Submitted by: bergerkos Submitted on: Tue 05 May 2015 11:26:55 AM GMT Category: Disk & Partition