This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: grub install with cygwin
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 08 Jul 2011 20:07:00 +0200
- Subject: Re: grub install with cygwin
- References: <4E0C0D31.2060907@gmail.com> <4E0CADBC.1080307@t-online.de> <4E1567DF.1040207@gmail.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