delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/08/14:07:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BR,TW_FX,TW_GF,TW_MK,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
Message-ID: <4E174744.1040808@t-online.de>
Date: Fri, 08 Jul 2011 20:07:00 +0200
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: grub install with cygwin
References: <4E0C0D31 DOT 2060907 AT gmail DOT com> <4E0CADBC DOT 1080307 AT t-online DOT de> <4E1567DF DOT 1040207 AT gmail DOT com>
In-Reply-To: <4E1567DF.1040207@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

J.V. wrote:
> So I would have to create the /etc/default/ directory since it does 
> not exist in cygwin.
>
> /etc/defaults/ does exist (with an s at the end).
>
> When I boot, I am presented with
>
> grub>

Does /boot/grub/grub.cfg exist?
Does it contain menuentry {...} statements?
Is it accessible from grub shell?

It may be the case that grub-mkconfig does not find the boot partitions. 
Then you need to manually add menuentry statements via /etc/grub.d scripts.


>
> but what I wish is to have a graphical login.   Simply running 
> /usr/sbin/grub-mkconfig should do this correct?

Not necessarily. It at least requires grub-fonts package and the font 
file must be accessible from grub.


>
> So for the packaging I guess I would change grub to look for 
> /etc/defaults/grub instead of /etc/default/grub 

No, /etc/defaults has a different purpose - it provides default versions 
(e.g. /etc/defaults/etc/profile) of configurations files (e.g. 
/etc/profile).


> and also figure out why it does not present a graphical login.

The /etc/default/grub file is not needed because GRUB_TERMINAL_OUTPUT 
already defaults to gfxterm and GRUB_FONT_PATH should be correctly set 
if grub-fonts package is installed. Please check the generated grub.cfg 
file whether it contains a "if loadfont ...; then ... insmod gfxterm; 
...fi". block.


Christian


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019