Gentoo Archives: gentoo-user

From: Folken <folken@××××××××××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GRUB speed up
Date: Tue, 04 Oct 2005 11:20:00
Message-Id: 200510041312.28475.folken@chaostreff.ch
In Reply to: [gentoo-user] GRUB speed up by Pingveno
1 On Tue October 4 2005 07.00, Pingveno wrote:
2 > I've noticed that GRUB takes a rather long time to start up on my
3 > computer. Granted, this is PII 550 Mhz. But it takes several seconds
4 > just for GRUB, not for anything to do with the kernel starting. The
5 > attached file is, obviously, my configuration file. BTW, the
6 > commented out entries are just old.
7 >
8 > Any optimization ideas out there?
9
10 title Linux 2.6.11-gentoo-r8
11     root (hd0,3)
12     kernel /kernel-2.6.11-gentoo-r8 init="/linuxrc" root=/dev/ram0
13 real_root=/dev/hda1 video=vesafb:ywrap,mtrr,1280x1024-16@85 udev
14     initrd /initrd-2.6.11-gentoo-r8
15
16 Grub reads the data into ram as soon as it reads the kernel or initrd
17 line. The time it seems to wait, is the time required to load this into
18 ram. Since grub uses (i assume) bios calls, reading with those is much
19 slower than disk access through the modern os drivers.
20
21 I'd check for the size of the initrd, and see if its compressed. It
22 seems to lack the .gz extension so it might not be.
23
24 greetings,
25 - Folken
26
27 --
28 gentoo-user@g.o mailing list