This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: grub install with cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]