[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB2 and GNU/kFreeBSD (was: Re: GNU/kFreeBSD into the Debian archive (aka we need your help))



Am Montag, den 13.04.2009, 14:08 +0200 schrieb Robert Millan:

> > This was recently fixed in upstream.  According to Felix (CCed), grub-setup
> > still has trouble, though:
> > 
> >   grub-setup: error: cannot open `/dev/da0' in open_device()
> 
> I don't have time to test this right now, but for the reference, it seems
> that g_open() from libgeom needs to be used rather than plain open().

Unfortunately even with `g_open (map[disk->id].device, 1)' it fails to
open the device with errno = EPERM.
And if I set write to 0 then of course grub-setup complains that it
can't write to the device.
Maybe I just upload a new grub2 version where at least grub-probe is
fixed so others could play more easily around with it. Maybe it works
for others.

-- 
Felix Zielcke


Reply to: