Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54877 - Grub configuration in x86 Install Guide
Summary: Grub configuration in x86 Install Guide
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.kernelpanic.ch/html/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 03:33 UTC by Oliver Schmidt
Modified: 2004-07-04 09:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schmidt 2004-06-23 03:33:50 UTC
Hello
nstallation will not boot without a bigger ramdisk .. :
from the install guide:
kernel (hd0,0)/kernel-2.6.5-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hdax
boot process hung with error "can't write in block 4113"

change grub.conf/menu.1st to this value:
kernel (hd0,0)/kernel-2.6.5-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 ramdisk_size=8192


Oli
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2004-06-24 06:20:34 UTC
Genkernel reminds you to add "ramdisk=8192" to your bootloader configuration file if your initrd is bigger than 4 MB. 

I personally see no need to include a note about this in our handbook.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-06-30 08:52:31 UTC
More and more people are hit by this and ask for help.
Would it break anything to use
kernel (hd0,0)/kernel-2.6.5-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 ramdisk_size=8192
in the handbook?
If we can't use that as default, we should at least tell users about a possible warning by genkernel.
Let's remember that genkernel is meant for less knowledgeable users.
Comment 3 Robert Moss (RETIRED) gentoo-dev 2004-07-01 17:25:39 UTC
This is a dupe of bug #47450 - can someone mark it as such?
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-07-04 09:15:44 UTC
bug #47450 tells that the einfo given by genkernel is wrong. This bug tells us that we don't ask the user to set the ramdisk statement.

The fix doesn't hurt the installation proces in any way (it's a noop for people without issues) and fixes the problems some ppl are getting (there are a couple of forum threads about this and iirc gentoo-user@ also had a discussion on it).

I've added the ramdisk=8192 statement to the installation instructions.

There is one negative side though: the example kernel-statement for GRUB now exceeds 80 characters. This is inside a Code Listing which means that some users might notice horizontal scrolling from within a console browser for this specific Code Listing (the rest of the text should be wrapped anyway if you use the printer-friendly version).

Just for your information of course :)

Fixed for AMD64 and x86 in CVS.