If you can't read please download the document
Upload
paul-serikov
View
1.661
Download
1
Embed Size (px)
Citation preview
Linux
MBR - IBM PC - ( - , - ), . BIOS, CMOS (NVRAM) init (PID=1) login
LILO GRUB
- (, ) , .
LILO , - , . :1) 2) .
GRUB . , , , . GRUB "" ("stage 1.5") - , . . . , , . . , , , /boot/grub/menu.lst , , LILO. , GRUB -, /boot/grub.
Linux
- , ( , , ), , . - Linux, . . .
(generic)kernel.org ( ) ( ,
initrd ( )
Init -
Linux, , init, - .
, , init /sbin/init.
init - /etc/inittab.
:"id:::"id - - - , -
Daemon - , . , - .
- ( shell), - .
, "start" () "stop" ()
, , /etc/rc.d/init.d ( , UNIX, /etc/init.d, /etc/rc.d/init.d).
, "start" "stop".
service, , ,
( ): [root@localhost root]# /etc/rc.d/init.d/sound stop[root@localhost root]# service sound start
. .d
: /etc/rc.d/init.d
: ,
, /etc/syslog.conf /etc/syslog.d)
: , - .
.d
:1) .. , init.d ".d"- . , , rc.d, ( ) init.d, . rc rc.d.2) . : , ls, . ".d"-, , . , , , rc , - , .
(run levels)
- . Linux rc.d /etc /etc/rc.d
.
: , , , - "! !", ".d"-.
Linux , (run levels).
0 9
1 . 1 , , , , . - , , .
2 . , , , , , .
3 . , . -.
5 . , X11. , , (, , ).
0 6 - .
Linux , , .
:
:lsmod -
insmod -
rmmod - :
service - , ,
init _
runlevel
shutdown man;)
Muokkaa otsikon tekstimuotoa napsauttamalla
Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso