Re: grub-installer patch
On Wed, May 15, 2013 at 04:10:25PM +0200, Turbo Fredriksson wrote:
> I'm not so sure about this, but it was necessary on my
> machine.
>
> For some reason (correct or not I don't know), 'grub-probe -t device /'
> returns TWO entries:
>
> /dev/sda1
> /dev/sdb1
>
> This on a ZFS filesystem, where those two are a mirror.
>
> pool: system
> state: ONLINE
> scan: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> system ONLINE 0 0 0
> mirror-0 ONLINE 0 0 0
> sda1 ONLINE 0 0 0
> sdb1 ONLINE 0 0 0
>
> errors: No known data errors
>
>
>
> The following changes since commit f9ede57c83544587c8f28cb6c846674759281dbb:
>
> releasing version 1.60+squeeze3 (2011-09-26 21:02:53 +0000)
>
> are available in the git repository at:
> https://github.com/FransUrbo/debian-grub-installer master
>
> Turbo Fredriksson (1):
> Make sure that 'grub-probe -t device XXX' only takes the first entry
> if there's multiple (as if a mirror etc).
>
> debian/changelog | 7 +++++++
> grub-installer | 2 +-
> 2 files changed, 8 insertions(+), 1 deletions(-)
> --
> Choose a job you love, and you will never have
> to work a day in your life.
If they are a software mirror (as zfs would be), you DO want grub to
install to both devices so that you can still boot if one fails.
So I would say what you did is totally wrong.
--
Len Sorensen
Reply to: