When I want to boot the system, it actually works but the following error occurs again and again: "/sbin/rc: line 5: command not found" Reproducible: Always Steps to Reproduce: 1. Turn on the computer and boot Gentoo 2. 3. Actual Results: The sytstem boots. Expected Results: Boot without errors. :) Even if I add new lines to /sbin/rc the error still says "line 5".
Sorry, the correct bug must be: "/sbin/rc: line 5: console: command not found
please provide which kernel, which binutils & #emerge info
Kernel-version: 2.4.20-gentoo-r8 binultils: 2.14.90.0.6-r6 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr - -mfpmath=sse,387 -maccumulate-outgoing-args -frerun-cse-after-loop - -frerun-loop-opt -falign-functions=16 -falign-jumps=16 -falign-loops=16 -w" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/ config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr - -mfpmath=sse,387 -maccumulate-outgoing-args -frerun-cse-after-loop - -frerun-loop-opt -falign-functions=16 -falign-jumps=16 -falign-loops=16 -w" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/ Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="oss apm avi foomaticdb imlib gnome libg++ mad mikmod motif nls gdbm berkdb slang readline gpm tcpd pam ssl aalib acpi -alsa -apache2 -arts cdr crypt -cups curl dga -dvd directfb -encode -ethereal fbcon -foomaticcdb gd gif gtk gtk2 gtkhtml icc inlib -innodb -java jpeg -kde -libwww maildir mbox mcal mmx -mozilla -mpeg -mysql ncurses -oggvorbis -opengl pdflib perl png python -qt -quicktime -samba sdl spell sse svga tcltk tiff truetype usb -X xml xml2 -xmms xv zlib x86"
Please attach /etc/rc.conf.
Its very likely this part that was uncommented wrongly: -- # Set protocols to the protocols that you plan to use. Gentoo Linux will only # enable module auto-loading for these protocols, eliminating annoying module # not found errors. # Num Protocol # 1: Unix # 2: IPv4 # 3: Amateur Radio AX.25 # 4: IPX # 5: DDP / appletalk # 6: Amateur Radio NET/ROM # 9: X.25 # 10: IPv6 # 11: ROSE / Amateur Radio X.25 PLP # 19: Acorn Econet # Most users want this: PROTOCOLS="1 2" #For IPv6 support: #PROTOCOLS="1 2 10" -- Closing as invalid.