Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Версия ядра отличается от приветствия в консоли
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Thu Oct 27, 2005 6:09 am    Post subject: [solved] Версия ядра отличается от п Reply with quote

Чё за фигня у меня: стоит ядро 2.6.13-r3, а в приветствии на консоли пишется:
Quote:
Unknown distro
Kernel 2.6.12-gentoo-r10 on a i686 (tty2)
ilyac login:

Вот мой вывод uname -a:
Quote:
$ uname -a
Linux ilyac 2.6.13-gentoo-r3 #2 Tue Oct 11 12:18:02 MSD 2005 i686 Intel(R) Celeron(R) CPU 1.80GHz GenuineIntel GNU/Linux

Линк на ядро стоит правильный:
Quote:
$ ls -l /usr/src/
итого 1
lrwxrwxrwx 1 root root 22 Окт 7 18:07 linux -> linux-2.6.13-gentoo-r3
drwxr-xr-x 19 root root 1280 Окт 19 15:10 linux-2.6.13-gentoo-r3


Last edited by Nelud on Fri Oct 28, 2005 2:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Thu Oct 27, 2005 12:26 pm    Post subject: Re: Версия ядра отличается от прив Reply with quote

Nelud wrote:
Чё за фигня у меня: стоит ядро 2.6.13-r3, а в приветствии на консоли пишется:
Quote:
Unknown distro
Kernel 2.6.12-gentoo-r10 on a i686 (tty2)
ilyac login:

Вот мой вывод uname -a:
Quote:
$ uname -a
Linux ilyac 2.6.13-gentoo-r3 #2 Tue Oct 11 12:18:02 MSD 2005 i686 Intel(R) Celeron(R) CPU 1.80GHz GenuineIntel GNU/Linux

Линк на ядро стоит правильный:
Quote:
$ ls -l /usr/src/
итого 1
lrwxrwxrwx 1 root root 22 Окт 7 18:07 linux -> linux-2.6.13-gentoo-r3
drwxr-xr-x 19 root root 1280 Окт 19 15:10 linux-2.6.13-gentoo-r3


/etc/issue и /etc/inittab в студию плз
Back to top
View user's profile Send private message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Fri Oct 28, 2005 7:47 am    Post subject: Re: Версия ядра отличается от прив Reply with quote

bobdva wrote:
/etc/issue и /etc/inittab в студию плз

Я так и знал, что всё элементарно! Вот:
Code:
$ cat /etc/issue
Unknown distro
Kernel 2.6.12-gentoo-r10 on a i686 (\l)

Однако, какая сволочь (в смысле программа), могла его переписать так? Как этот файлик должен выглядеть?

На всякий случай:
Code:
 $ cat /etc/inittab |grep -v ^#|grep -v ^$
id:3:initdefault:
si::sysinit:/sbin/rc sysinit
rc::bootwait:/sbin/rc boot
l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
ca:12345:ctrlaltdel:/sbin/shutdown -a -r now
x:a:once:/etc/X11/startDM.sh
Back to top
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Fri Oct 28, 2005 8:44 am    Post subject: Re: Версия ядра отличается от прив Reply with quote

Nelud wrote:
Вот:
Code:
$ cat /etc/issue
Unknown distro
Kernel 2.6.12-gentoo-r10 on a i686 (\l)

Однако, какая сволочь (в смысле программа), могла его переписать так? Как этот файлик должен выглядеть?


какая программа так могла изменить - бмп

как должен выглядеть - man issue правда скажет смотреть man getty, но в твоём (и моём случае) надо смотреть man agetty
у меня сейчас так:
Code:

$ cat /etc/issue
\s \r on \m, \l


получается примерно так:
Linux 2.6.13-suspend-r4 on i686, tty1
Back to top
View user's profile Send private message
Laitr Keiows
Bodhisattva
Bodhisattva


Joined: 04 Jul 2005
Posts: 891
Location: Kobe, Japan

PostPosted: Fri Oct 28, 2005 9:09 am    Post subject: Re: Версия ядра отличается от прив Reply with quote

Nelud wrote:
Как этот файлик должен выглядеть?

Code:
# cat /etc/issue

This is \n.\O (\s \m \r) \t
Back to top
View user's profile Send private message
Nelud
Apprentice
Apprentice


Joined: 08 Oct 2004
Posts: 271

PostPosted: Fri Oct 28, 2005 2:13 pm    Post subject: Reply with quote

Всем спасибо!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum