public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Grub2 takes very long to make config or install
@ 2010-06-24 13:34 Matthias Fechner
  2010-06-24 13:48 ` Alex Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fechner @ 2010-06-24 13:34 UTC (permalink / raw
  To: gentoo-user

Hi,

I followed now the wiki page:
http://en.gentoo-wiki.com/wiki/Grub2

At the step to create the config file with:
grub-mkconfig -o /boot/grub/grub.cfg

and install grub2 with:
grub-install /dev/sda

it needs several hours to complete each of the commands. Is this normal?

Bye,
Matthias

-- 
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook



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

* Re: [gentoo-user] Grub2 takes very long to make config or install
  2010-06-24 13:34 [gentoo-user] Grub2 takes very long to make config or install Matthias Fechner
@ 2010-06-24 13:48 ` Alex Schuster
  2010-06-24 15:09   ` Matthias Fechner
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Schuster @ 2010-06-24 13:48 UTC (permalink / raw
  To: gentoo-user

Matthias Fechner writes:

> I followed now the wiki page:
> http://en.gentoo-wiki.com/wiki/Grub2

Down again.

> At the step to create the config file with:
> grub-mkconfig -o /boot/grub/grub.cfg
> 
> and install grub2 with:
> grub-install /dev/sda
> 
> it needs several hours to complete each of the commands. Is this
> normal?

No.




Sorry, I have no idea why this happens. I used grub only once, but at 
least I know it it did not take hours, it was about 1-2 seconds, or maybe 
even less, I did not stop the time :)
Is there something in syslog when you run this, or are the -v arguments 
that would make the process more verbose?

The old grub sometimes paused for around a minute because it searched for 
the floppy, the --no-floppy switch speeded this up.

	Wonko



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

* Re: [gentoo-user] Grub2 takes very long to make config or install
  2010-06-24 13:48 ` Alex Schuster
@ 2010-06-24 15:09   ` Matthias Fechner
  2010-06-29  5:42     ` Matthias Fechner
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fechner @ 2010-06-24 15:09 UTC (permalink / raw
  To: gentoo-user

Hi,

Am 24.06.10 15:48, schrieb Alex Schuster:
> The old grub sometimes paused for around a minute because it searched for
> the floppy, the --no-floppy switch speeded this up.

hm, that is a really good point, I found in dmesg in in the logfile, 
tones of the following lines:
Jun 24 06:54:42 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:54:54 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:06 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:19 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
Jun 24 06:55:19 idefix-pc kernel: Buffer I/O error on device fd0, 
logical block 0

So it searches on the floppy and seems not to stop here after many hours 
passed.

Regarding the grub-mkconfig man page there is no option available to 
skip floppy check.
I will try at home if I can speed up the installation procedure with 
--no-floppy.

Thanks for the tip.

Bye,
Matthias

-- 
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook



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

* Re: [gentoo-user] Grub2 takes very long to make config or install
  2010-06-24 15:09   ` Matthias Fechner
@ 2010-06-29  5:42     ` Matthias Fechner
  0 siblings, 0 replies; 4+ messages in thread
From: Matthias Fechner @ 2010-06-29  5:42 UTC (permalink / raw
  To: gentoo-user

Hi,

Am 24.06.10 17:09, schrieb Matthias Fechner:
> hm, that is a really good point, I found in dmesg in in the logfile,
> tones of the following lines:
> Jun 24 06:54:42 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
> Jun 24 06:54:54 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
> Jun 24 06:55:06 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
> Jun 24 06:55:19 idefix-pc kernel: end_request: I/O error, dev fd0, sector 0
> Jun 24 06:55:19 idefix-pc kernel: Buffer I/O error on device fd0,
> logical block 0

it seems to be a small bug in grub2. The installation needs several 
hours but works perfectly and it is a step done only once.

Bye,
Matthias

-- 
"Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning." -- 
Rich Cook



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

end of thread, other threads:[~2010-06-29  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 13:34 [gentoo-user] Grub2 takes very long to make config or install Matthias Fechner
2010-06-24 13:48 ` Alex Schuster
2010-06-24 15:09   ` Matthias Fechner
2010-06-29  5:42     ` Matthias Fechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox