Le 30/05/2018 à 04:28, Chris Ross a écrit :
I've built a small software RAID1 on
the first two disks, to be /boot, and plan the rest of the disks as a zraid
volume.

So, I have a md raid across two partitions on two sun-labeled disks.  Each
looks:

root@t5120:~# parted /dev/sda print
Model: SEAGATE ST914603SSUN146G (scsi)
Disk /dev/sda: 147GB
Sector size (logical/physical): 512B/512B
Partition Table: sun
Disk Flags:

Number  Start   End    Size   File system  Flags
  1      8225kB  502MB  494MB  ext4         raid
  2      502MB   147GB  146GB  zfs

Any reason for using md metadata 0.9 or 1.0 instead of the default 1.2 ?

But, grub-install to /dev/sda1 (or /dev/sdb1) doesn't work.  I get the following
error about md0, despite md0 clearly working, as I have it mounted in /boot
in the chroot I'm operating in:

root@t5120:~# grub-probe -d /dev/sda1
ext2
root@t5120:~# grub-install /dev/sda1
Installing for sparc64-ieee1275 platform.
grub-install: error: disk `md0' not found.

Shouldn't you install on /dev/md0 instead of /dev/sda1 ?
Is mdadm installed in the target system ?
What is the output of

grub-probe -t drive -d /dev/md0

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to