All of lore.kernel.org
 help / color / mirror / Atom feed
* Configure options questions
       [not found] <1349444435.226199.1332208994856.JavaMail.root@sz0019a.westchester.pa.mail.comcast.net>
@ 2012-03-20  2:59 ` jlcenter
  2012-03-20 10:33   ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 11+ messages in thread
From: jlcenter @ 2012-03-20  2:59 UTC (permalink / raw)
  To: grub-devel

Hi,

I built the latest version of grub with the following configure options:

./configure --prefix=/ --exec-prefix=/usr --datarootdir=/usr/share --program-prefix=""

This seemed like this matched the Ubuntu locations.  I ran grub-install & it reconfigured the old /boot/grub directory like this:

root@ubuntu:/boot/grub# ls
core.efi    fonts     grub.efi  i386-pc   locale
device.map  grub.cfg  grubenv   load.cfg  themes

I was a pleasantly surprised how the grub directory was reorganized, though some of the old files (device.map) were left behind.  After I rebooted, I got errors that grub couldn't find the various modules that used to be in /boot/grub, but are now in /boot/grub/i386-pc.  Did I misconfigure something in the configure options?  

After rebooting with a livecd, I looked at the grub.cfg file & saw that "$prefix" is still there, instead of the entry from 00_header.  I ran grub-mkconfig by hand & it didn't change & I didn't see any errors.  Is this related to the problem above?

Any help would be greatly appreciated.

    -John



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

* Re: Configure options questions
  2012-03-20  2:59 ` Configure options questions jlcenter
@ 2012-03-20 10:33   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 14:16     ` jlcenter
  2012-03-21  2:28     ` jlcenter
  0 siblings, 2 replies; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-20 10:33 UTC (permalink / raw)
  To: grub-devel

On 20.03.2012 03:59, jlcenter@comcast.net wrote:
> various modules
Exact error message?

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



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

* Re: Configure options questions
  2012-03-20 10:33   ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-03-20 14:16     ` jlcenter
  2012-03-20 14:31       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 14:36       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-21  2:28     ` jlcenter
  1 sibling, 2 replies; 11+ messages in thread
From: jlcenter @ 2012-03-20 14:16 UTC (permalink / raw)
  To: The development of GNU GRUB



----- Original Message -----
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Sent: Tuesday, March 20, 2012 6:33:56 AM
Subject: Re: Configure options questions

On 20.03.2012 03:59, jlcenter@comcast.net wrote:
> various modules
Exact error message?

Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:

GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"

I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?

Thanks.

    -John

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


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

* Re: Configure options questions
  2012-03-20 14:16     ` jlcenter
@ 2012-03-20 14:31       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 14:41         ` jlcenter
  2012-03-20 14:36       ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 1 reply; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-20 14:31 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

On 20.03.2012 15:16, jlcenter@comcast.net wrote:
> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>
> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
Very unlikely.
> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
Do you have any real problem?

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Configure options questions
  2012-03-20 14:16     ` jlcenter
  2012-03-20 14:31       ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-03-20 14:36       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 14:52         ` jlcenter
  1 sibling, 1 reply; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-20 14:36 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

On 20.03.2012 15:16, jlcenter@comcast.net wrote:
>
> ----- Original Message -----
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
> To: grub-devel@gnu.org
> Sent: Tuesday, March 20, 2012 6:33:56 AM
> Subject: Re: Configure options questions
>
> On 20.03.2012 03:59, jlcenter@comcast.net wrote:
>> various modules
> Exact error message?
>
> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>
> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
>
> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
The most likely reason is either lack of fonts or of language (e.g.
there is no en_US)
>
> Thanks.
>
>     -John
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Configure options questions
  2012-03-20 14:31       ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-03-20 14:41         ` jlcenter
  2012-03-20 14:50           ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 11+ messages in thread
From: jlcenter @ 2012-03-20 14:41 UTC (permalink / raw)
  To: The development of GNU GRUB



----- Original Message -----
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Sent: Tuesday, March 20, 2012 10:31:49 AM
Subject: Re: Configure options questions

On 20.03.2012 15:16, jlcenter@comcast.net wrote:
> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>
> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
Very unlikely.
> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
Do you have any real problem?

Thanks for responding.  Yes, at boot, I got these errors, then it dropped to the initramfs prompt.  I was trying to eliminate the errors first, to determine if these were the cause of the boot failure.

HTH

    -John

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


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

* Re: Configure options questions
  2012-03-20 14:41         ` jlcenter
@ 2012-03-20 14:50           ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 15:14             ` jlcenter
  0 siblings, 1 reply; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-20 14:50 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

On 20.03.2012 15:41, jlcenter@comcast.net wrote:
>
> ----- Original Message -----
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
> To: grub-devel@gnu.org
> Sent: Tuesday, March 20, 2012 10:31:49 AM
> Subject: Re: Configure options questions
>
> On 20.03.2012 15:16, jlcenter@comcast.net wrote:
>> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>>
>> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
> Very unlikely.
>> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
> Do you have any real problem?
>
> Thanks for responding.  Yes, at boot, I got these errors, then it dropped to the initramfs prompt.  I was trying to eliminate the errors first, to determine if these were the cause of the boot failure.
If you get as far as initramfs prompt at all, it's very unlikely that
GRUB has done anything wrong
> HTH
>
>     -John
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Configure options questions
  2012-03-20 14:36       ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-03-20 14:52         ` jlcenter
  2012-03-20 15:08           ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 11+ messages in thread
From: jlcenter @ 2012-03-20 14:52 UTC (permalink / raw)
  To: The development of GNU GRUB



----- Original Message -----
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Sent: Tuesday, March 20, 2012 10:36:07 AM
Subject: Re: Configure options questions

On 20.03.2012 15:16, jlcenter@comcast.net wrote:
>
> ----- Original Message -----
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
> To: grub-devel@gnu.org
> Sent: Tuesday, March 20, 2012 6:33:56 AM
> Subject: Re: Configure options questions
>
> On 20.03.2012 03:59, jlcenter@comcast.net wrote:
>> various modules
> Exact error message?
>
> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>
> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
>
> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
The most likely reason is either lack of fonts or of language (e.g.
there is no en_US)

Ok, /boot/grub/fonts has unicode.pf2, /boot/grub/local has en_AU.mo, en_CA.mo & en_GB.mo, but no en_US*, & /boot/grub/themes/starfield/ has the following:

blob_w.png        boot_menu_w.png       terminal_box_e.png
boot_menu_c.png   COPYING.CC-BY-SA-3.0  terminal_box_ne.png
boot_menu_e.png   dejavu.pf2            terminal_box_n.png
boot_menu_ne.png  README                terminal_box_nw.png
boot_menu_n.png   slider_c.png          terminal_box_se.png
boot_menu_nw.png  slider_n.png          terminal_box_s.png
boot_menu_se.png  slider_s.png          terminal_box_sw.png
boot_menu_s.png   starfield.png         terminal_box_w.png
boot_menu_sw.png  terminal_box_c.png    theme.txt

Since en_US is missing, should I manually add it from /usr/share/i18n/locales/?

Thanks.

    -John

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


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

* Re: Configure options questions
  2012-03-20 14:52         ` jlcenter
@ 2012-03-20 15:08           ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 11+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-03-20 15:08 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 2476 bytes --]

On 20.03.2012 15:52, jlcenter@comcast.net wrote:
>
> ----- Original Message -----
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
> To: grub-devel@gnu.org
> Sent: Tuesday, March 20, 2012 10:36:07 AM
> Subject: Re: Configure options questions
>
> On 20.03.2012 15:16, jlcenter@comcast.net wrote:
>> ----- Original Message -----
>> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
>> To: grub-devel@gnu.org
>> Sent: Tuesday, March 20, 2012 6:33:56 AM
>> Subject: Re: Configure options questions
>>
>> On 20.03.2012 03:59, jlcenter@comcast.net wrote:
>>> various modules
>> Exact error message?
>>
>> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>>
>> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
>>
>> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
> The most likely reason is either lack of fonts or of language (e.g.
> there is no en_US)
>
> Ok, /boot/grub/fonts has unicode.pf2, /boot/grub/local has en_AU.mo, en_CA.mo & en_GB.mo, but no en_US*, & /boot/grub/themes/starfield/ has the following:
>
> blob_w.png        boot_menu_w.png       terminal_box_e.png
> boot_menu_c.png   COPYING.CC-BY-SA-3.0  terminal_box_ne.png
> boot_menu_e.png   dejavu.pf2            terminal_box_n.png
> boot_menu_ne.png  README                terminal_box_nw.png
> boot_menu_n.png   slider_c.png          terminal_box_se.png
> boot_menu_nw.png  slider_n.png          terminal_box_s.png
> boot_menu_se.png  slider_s.png          terminal_box_sw.png
> boot_menu_s.png   starfield.png         terminal_box_w.png
> boot_menu_sw.png  terminal_box_c.png    theme.txt
>
> Since en_US is missing, should I manually add it from /usr/share/i18n/locales/?
No need this error is not fatal and has no influence on anything else
other than the lack of localisation.
> Thanks.
>
>     -John
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Configure options questions
  2012-03-20 14:50           ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-03-20 15:14             ` jlcenter
  0 siblings, 0 replies; 11+ messages in thread
From: jlcenter @ 2012-03-20 15:14 UTC (permalink / raw)
  To: The development of GNU GRUB


----- Original Message -----
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Sent: Tuesday, March 20, 2012 10:50:31 AM
Subject: Re: Configure options questions

On 20.03.2012 15:41, jlcenter@comcast.net wrote:
>
> ----- Original Message -----
> From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
> To: grub-devel@gnu.org
> Sent: Tuesday, March 20, 2012 10:31:49 AM
> Subject: Re: Configure options questions
>
> On 20.03.2012 15:16, jlcenter@comcast.net wrote:
>> Unfortunately, the messages scrolled by so quickly I wasn't able to see which ones.  In /etc/default/grub, I had added:
>>
>> GRUB_PRELOAD_MODULES="raid mdraid1x part_gpt btrfs"
> Very unlikely.
>> I think it was these.  They were added to grub.cfg by the 00_header when I ran grub-mkconfig.  Is there a way to get grub to pause on error, or to step through its execution at boot, so that I can capture which ones exactly?
> Do you have any real problem?
>
> Thanks for responding.  Yes, at boot, I got these errors, then it dropped to the initramfs prompt.  I was trying to eliminate the errors first, to determine if these were the cause of the boot failure.
If you get as far as initramfs prompt at all, it's very unlikely that
GRUB has done anything wrong

Thanks, that's good to know.  Should I assume that the messages were more cosmetic than not?  If anything is missing that I need to add or fix, please let me know.  Otherwise, I'll concentrate on troubleshooting initramfs.

Thanks, again.

    -John





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

* Re: Configure options questions
  2012-03-20 10:33   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-03-20 14:16     ` jlcenter
@ 2012-03-21  2:28     ` jlcenter
  1 sibling, 0 replies; 11+ messages in thread
From: jlcenter @ 2012-03-21  2:28 UTC (permalink / raw)
  To: The development of GNU GRUB



----- Original Message -----
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Sent: Tuesday, March 20, 2012 6:33:56 AM
Subject: Re: Configure options questions

On 20.03.2012 03:59, jlcenter@comcast.net wrote:
> various modules
Exact error message?

Hi Vladimir,

Just to followup on this, I was able to use my iPad's camera to capture the boot sequence & here's what the messages were:

error: file "/@/boot/grub/i386-pc/raid.mod" not found.
error: file "/@/boot/grub/i386-pc/efi_gop.mod" not found.
error: file "/@/boot/grub/i386-pc/efi_uga.mod" not found.
error: file "/@/boot/grub/locale/en.mo.gz" not found.
error: no suitable video mode found.
error: no video mode activated.
error: file "/@/boot/grub/i386-pc/efi_gop.mod" not found.
error: file "/@/boot/grub/i386-pc/efi_uga.mod" not found.
  Booting "Ubuntu, with Linux 3.2.0-17-generic"
error: sparse file not allowed.

The last message is a known problem with grubenv on btrfs.  The other error messages I think have to do with the Gigabyte hybrid BIOS, which can handle drives larger than 2TB.  (My MB is a Gigabyte X58A-UD3Rv2.)  GRUB is detecting this at boot & tries to configure it, though my drives are 1TB.  I didn't build the efi support, only the bios support so these files don't exist in i386-pc, & that's why these messages are appearing.

After this, the boot does proceed, but I still have the initramfs problem.  So, GRUB does appear to be working correctly & the configure options do appear to be the minimum I need.

Thanks for your help!

    -John


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

end of thread, other threads:[~2012-03-21  2:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1349444435.226199.1332208994856.JavaMail.root@sz0019a.westchester.pa.mail.comcast.net>
2012-03-20  2:59 ` Configure options questions jlcenter
2012-03-20 10:33   ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 14:16     ` jlcenter
2012-03-20 14:31       ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 14:41         ` jlcenter
2012-03-20 14:50           ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 15:14             ` jlcenter
2012-03-20 14:36       ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 14:52         ` jlcenter
2012-03-20 15:08           ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-21  2:28     ` jlcenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.