public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* grub install with cygwin
@ 2011-06-30  5:44 J.V.
  2011-06-30 17:09 ` Christian Franke
  0 siblings, 1 reply; 4+ messages in thread
From: J.V. @ 2011-06-30  5:44 UTC (permalink / raw)
  To: cygwin

I have two disks in my box that are non linux.  On one disk is found 
Windows 7 and am having issues installing
grub that comes with cygwin.

How can I contact the person that compiled / packaged grub for cygwin 
for a fix for this?

It does not create the default /etc/defaults/grub file and there are a 
number of other things I am having issues with that deal with
the packaging and execution of grub.

I have tried installing grub using a Linux distro (CentOS) but this is 
not possible (as per their list).

Also the grub list cannot help because this is a cygwin specific issue.

J.V.

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: grub install with cygwin
  2011-06-30  5:44 grub install with cygwin J.V.
@ 2011-06-30 17:09 ` Christian Franke
  2011-07-07  8:02   ` J.V.
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Franke @ 2011-06-30 17:09 UTC (permalink / raw)
  To: cygwin

J.V. wrote:
> I have two disks in my box that are non linux.  On one disk is found 
> Windows 7 and am having issues installing
> grub that comes with cygwin.
>
> How can I contact the person that compiled / packaged grub for cygwin 
> for a fix for this?
>
> It does not create the default /etc/defaults/grub file

The /etc/default/grub file is not created - it is read by 
/usr/sbin/grub-mkconfig if present.


> and there are a number of other things I am having issues with that 
> deal with
> the packaging and execution of grub.
>

Please be more specific.
Installation failure?
Boot failure?
No boot menu but grub prompt?
Does grub ls command list partitions correctly?
Does manual boot via grub shell work?

It is always a good idea to first create and test a grub rescue CD to 
check compatibility, see
http://sourceware.org/ml/cygwin/2010-05/msg00556.html


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: grub install with cygwin
  2011-06-30 17:09 ` Christian Franke
@ 2011-07-07  8:02   ` J.V.
  2011-07-08 18:07     ` Christian Franke
  0 siblings, 1 reply; 4+ messages in thread
From: J.V. @ 2011-07-07  8:02 UTC (permalink / raw)
  To: cygwin

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>

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

So for the packaging I guess I would change grub to look for 
/etc/defaults/grub instead of /etc/default/grub and also figure out why 
it does not present a graphical login.

Would really like to get this going, as I need to add another disk and 
to get from grub> prompt to windows takes typing in 4 commands each time.

I have a number of other systems for which I wish to install grub and 
cygwin is on every windows partition so is the easiest way to go 
(instead of cutting some linux distro dvd, booting from there and 
doing.  It would be helpful if installing grub from cygwin worked.

am willing to help make the changes if someone can get me started.

thanks


J.V.

On 6/30/2011 11:09 AM, Christian Franke wrote:
> J.V. wrote:
>> I have two disks in my box that are non linux.  On one disk is found 
>> Windows 7 and am having issues installing
>> grub that comes with cygwin.
>>
>> How can I contact the person that compiled / packaged grub for cygwin 
>> for a fix for this?
>>
>> It does not create the default /etc/defaults/grub file
>
> The /etc/default/grub file is not created - it is read by 
> /usr/sbin/grub-mkconfig if present.
>
>
>> and there are a number of other things I am having issues with that 
>> deal with
>> the packaging and execution of grub.
>>
>
> Please be more specific.
> Installation failure?
> Boot failure?
> No boot menu but grub prompt?
> Does grub ls command list partitions correctly?
> Does manual boot via grub shell work?
>
> It is always a good idea to first create and test a grub rescue CD to 
> check compatibility, see
> http://sourceware.org/ml/cygwin/2010-05/msg00556.html
>
>
> 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
>
>

--
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: grub install with cygwin
  2011-07-07  8:02   ` J.V.
@ 2011-07-08 18:07     ` Christian Franke
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Franke @ 2011-07-08 18:07 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-08 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30  5:44 grub install with cygwin J.V.
2011-06-30 17:09 ` Christian Franke
2011-07-07  8:02   ` J.V.
2011-07-08 18:07     ` Christian Franke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).