| Summary: | Kernel and initrd path in grub conf example code is wrong | ||
|---|---|---|---|
| Product: | [OLD] Docs-user | Reporter: | Douglas Smith <douglas> |
| Component: | Handbook | Assignee: | Docs Team <docs-team> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Douglas Smith
2005-09-13 21:44:54 UTC
You are missing the fact that in handbook example there's a separate boot partition in /dev/hda1, which is mounted at /boot/, so the path /kernel-.. does point to correct kernel related to root directory of this partition. (ie. (hd0,0)/kernel- points to /boot/kernel- when using the handbook's partitioning model.) Of course directory /boot/ should always have redundant symlink 'boot -> .', so defining the kernel image always as /boot/kernel-... will work more often than the example in current handbooks, but I don't know if this kind of symlink trickery will confuse people, so I'll want another opinion before closing or fixing anyways :-) trinity ~ # cat /boot/grub/grub.conf default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.12-gentoo root (hd0,0) kernel /vmlinuz-2.6.12-gentoo root=/dev/hda5 acpi=force vga=794 Works like a charm, followed the handbook, seperate /boot partition. I'm marking this INVALID, reopen if you have more concrete info. |