Next Previous Contents

10. Symboyles kai kolpa

10.1 Epanakateu8ynsh ths ejodoy twn entolwn make kai patch

An 8elete katagrafh toy ti kanane oi entoles make kai patch, mporeite na epanakatey8unete thn ejodo pros ena arxeio. Prwta, deite ti kelyfos (shell) trexei : Dwste grep root /etc/passwd, kai cajte gia kati san /bin/csh.

An xrhsimopoieite to sh h to bash, dinontas :

    (command) 2>&1 | tee (output file)

8a parete ena antigrafo ths ejodoy ths (command) ( = entolhs) sto arxeio (output file) ( = arxeio ejodoy).

Gia ta csh kai tcsh, dwste :

    (command) |& tee (output file)

Gia to rc (shmeiwsh : to opoio pi8anotata den xrhsimopoieite) dwste :

    (command) >[2=1] | tee (output file)

10.2 Egkatastash toy pyrhna ypo proupo8eseis

Ektos apo th xrhsh disketwn, yparxoyn arketes me8odoi na testaroyme enan neo pyrhna xwris na peirazoyme ton palio. Anti8eta me o,ti symbainei se alles parallages toy Unix, to LILO exei thn ikanothta na bootarei ton pyrhna ap' opoydhpote ston sklhro. (An exete disko megalutero twn 500 MBytes, parakalw diabaste sthn tekmhriwsh toy LILO tis pi8anes aities problhmatwn.) Epomenws, an pros8esete kati poy moiazei me

    image = /usr/src/linux/arch/i386/boot/bzImage
        label = new_kernel

sto telos toy arxeioy ry8misewn toy LILO, 8a mporesete na dokimasete enan neo pyrhna, xwris n' akoymphsete ton palio sas /vmlinuz (fysika, afou trejete to lilo). O eykoloteros tropos na poume sto LILO na bootarei enan neo pyrhna, einai na pathsoyme to plhktro shift kata thn ekkinhsh (otan grafei LILO sthn o8onh, kai tipote allo), pragma poy sas bgazei se mia anamonh (prompt). Edw mporeite na plhktrologhsete new_kernel (dhl. to onoma toy neoy pyrhna), wste na bootarei o neos pyrhnas.

An 8elete na exete ston H/Y sas taytoxrona perissotera apo ena dentra source kwdika pyrhna (omws, prosejte : ayto mporei na faei polu xwro diskoy), o pleon synh8ismenos tropos einai na ta onomasete /usr/src/linux-x.y.z, opoy x.y.z einai h ekdosh toy pyrhna. Meta, mpeite na "dialejete" ena dentro source kwdika m' enan symboliko desmo (symbolic link). Px, dinontas ln -sf linux-1.2.2 /usr/src/linux, energopoioume to dentro 1.2.2 . Prin ftiajoyme ena symbolic link, bebaiwnomaste oti h teleytaia parametros ths ln den einai ena pragmatiko directory (oi palioi symbolic links einai mia xara), dioti ta apotelesmata den 8a einai ayta poy perimenoyme.

10.3 Ananewseis toy pyrhna

O Russell Nelson (nelson@crynwr.com) kanei perilhceis twn allagwn stis nees ekdoseis toy pyrhna. Aytes einai suntomes, kai mallon prepei na tis diabasete prin apo mia anaba8mish. Einai dia8esimes me anwnymo ftp apo to ftp.emlist.com (sto dir pub/kchanges), h apo to site

    http://www.crynwr.com/kchanges


Next Previous Contents