[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub install failing on md debian sparc64
From: |
Pascal Hambourg |
Subject: |
Re: grub install failing on md debian sparc64 |
Date: |
Wed, 30 May 2018 11:26:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
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:
address@hidden:~# 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:
address@hidden:~# grub-probe -d /dev/sda1
ext2
address@hidden:~# 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