Upgrade from FC1 base kernel to 2.6.3: cannot start X (/dev/tty0 permission denied??)

VB vboyt at yahoo.com
Tue Mar 2 05:10:50 UTC 2004


When I try to boot my new 2.6.3 kernel I get some
output about /etc/rc.d/rc.sysinit /dev/tty0 Permission
denied and then the bootup tries to start the
graphical bootup but returns to normal text bootup. 
Once it's time to start gdm the screen just flickers
for a while.  My setup works fine booting 2.4.22 on
the same partition, etc. The rc.sysinit error comes at
a line that contains only the code: "> /dev/tty" Any
ideas?

I'm getting errors pretty much wherever some code
tries to access /dev/ttyX.  For example, I was getting
errors for lines of code that mentioned /dev/ttyX in
this snippet:

if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x"
]; then
  last=0
  for i in `LC_ALL=C grep
'^[0-9].*respawn:/sbin/mingetty' /etc/inittab | sed
's/^.* tty\([0-9][0-9]*\).*/\1/g'`; do
        > /dev/tty$i
        last=$i
  done
  if [ $last -gt 0 ]; then
       > /dev/tty$((last+1))
       > /dev/tty$((last+2))
  fi
fi

and finally this one:

loadkeys $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null
&& \
     success $"Loading default keymap" || failure
$"Loading default keymap"

A related question I have is do I have to modify
/etc/rc.d/rc.sysinit when upgrading from 2.4 to 2.6
kernel? Some tutorials have mentioned it, others haven't...

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com





More information about the fedora-list mailing list