:: Re: [DNG] using os-prober
Etusivu
Poista viesti
Vastaa
Lähettäjä: Hector Gonzalez
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] using os-prober
On 08/28/2017 06:59 PM, Hendrik Boom wrote:
> On Mon, Aug 28, 2017 at 06:50:42PM -0500, Hector Gonzalez wrote:
>> On 08/28/2017 06:35 PM, Hendrik Boom wrote:
>>> On Mon, Aug 28, 2017 at 03:56:13PM -0700, Gregory Nowak wrote:
>>>> On Mon, Aug 28, 2017 at 06:37:04PM -0400, Hendrik Boom wrote:
>>>>> Now I can't figure out how to set options so that update-grub uses
>>>>> os-prober.
>>>> You do have the os-prober package installed, yes?
>>> Yes.
>>>
>>> root@notlookedfor:/boot/grub# which os-prober
>>> /usr/bin/os-prober
>>> root@notlookedfor:/boot/grub#
>>>
>>> I'm running a Devuan Jessie system.
>>> -- hendrik
>>>
>> I did this a few days ago, try commenting out the option completely, the
>> default is to run os-prober.
> Originally, the option was not present at all. I added the option in
> myself. Being totally absent should be as good as commented out,
> right?
>
> Anyway, as I mentined in another post a few minutes ago, it does seem
> to be recognising it after all, but as a unknown Linux distro,
> failing tto notice it's Devun. And I don't get a bootmenu stanza.
>
> -- hendrik

Ok, I just found out the problem with my test install, I installed with
debootstrap, but forgot to add a kernel. Please check your /target/boot
directory, it may be empty, os-prober finds library files, and assumes
it's a bootable linux system, but checks for a kernel at a later time.
If you want it identified as a debian system, copy etc/devuan_version to
etc/debian_version (I don't know if it has any side effects, but it's
easier to rename the grub entry).

--
Héctor González
cacho@???