Muudatused

Mandriva 2006 Alustamisjuhend

Lisatud 6467 baiti, 9. juuli 2006, kell 18:34
/* Kuidas kiirendada CD/DVD-ROMi */
*Salvestage muudetud fail
 
==== Kuidas CD/DVD-ROM käsitsi ühendada/lahutada ning näidata kõiki peidetud ja seotud faile/kaustu ====
 
*Lugege [[#Üldised Märkused]]
 
*Käesolev operatsioon on vajalik ainult vanemate [[Mandrake]] ja [[Mandriva]] versioonidega. Uutel liidetakse CD/DVD kohe automaatselt või seda saab teha menüüst, tehes paremklikk faili halduris ([[konqueror]])..
 
*''Eeldame, et mnt/cdrom0 on CD/DVD-ROM-i asukoht''
 
*CD/DVD-ROM ühendamiseks
 
mount /mnt/cdrom0/ -o unhide
 
*CD/DVD-ROM lahutamiseks
 
umount /mnt/cdrom0/
 
==== Kuidas CD/DVD-ROM jõuga käsitsi lahutada ====
 
*Lugege [[#Üldised Märkused]]
*Käesolev operatsioon on vajalik ainult vanemate [[Mandrake]] ja [[Mandriva]] versioonidega. Uutel liidetakse CD/DVD kohe automaatselt või seda saab teha menüüst, tehes paremklikk faili halduris ([[konqueror]]).
 
*''Eeldame, et mnt/cdrom0 on CD/DVD-ROM-i asukoht''
 
umount /mnt/cdrom0/ -l
 
==== Kuidas uuesti liita /etc/fstab ilma taaskäivitamata ====
 
*Lugege [[#Üldised Märkused]]
 
mount -a
 
==== Kuidas luua CD/DVD ISO tõmmisefaile ====
 
*Lugege [[#Üldised Märkused]]
 
*''Eeldame, et /dev/cdrom on CD/DVD-ROM-i asukoht''
 
umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
 
==== Kuidas luua kaustadest ISO tõmmisefaile ====
 
*Lugege [[#Üldised Märkused]]
 
mkisofs -o file.iso /location_of_folder/
 
==== Kuidas ühendada/lahutada ISO tõmmisefaile ilma plaadile kirjutamata ====
 
*Lugege [[#Üldised Märkused]]
*ISO tõmmisefaili ühendamiseks
 
mkdir /home/uid/iso
modprobe loop
mount file.iso /home/uid/iso/ -t iso9660 -o loop
 
*ISO tõmmisefaili lahutamiseks
 
umount home/uid/iso/
 
==== How to create an emergency boot disk ====
 
*Lugege [[#Üldised Märkused]]
 
How to make a bootable CDRom - as an alternative to, or in addition to a bootable floppy disk.
 
As it is sometimes difficult to fit a modern kernel on a floppy, and because more and more machines do not have a floppy drive at all, it is usually a good idea to have a bootable CDRom if for any reason your machine does not seem to be able to complete the boot process by itself. The following describes the steps to make a bootable CDRom containing the kernel that is running at this time.
 
It should be borne in mind that when actually using the Boot CD in case of need, some operations require the presence on the system of files relative to the kernel that is on the CD. In other words, the best possible boot CD is one for a kernel that is actually installed on the system. When upgrading or adding another kernel to your system, it is advisable to make a new boot CD. When you are alLugegey satisfied that the newest kernel does everything it should with your hardware, you can use a CDRW and burn the bootable CD over an older kernel. If not, a separate disk is advisable.
 
Steps to take:
 
Start any console or terminal.
 
Give the commands shown:
 
su # to become root; enter root password when prompted
 
cd /tmp # some temporary files will be created here
 
Insert a blank, writable CDRom or a fresh, unformatted CDRW. In my experience it is best to check that the disk has not been automounted or 'supermounted':
 
umount /mnt/cdrom0 # change 'cdrom0' as needed ¹)
 
(Skip for cdrom): Blank any CDRW with the following command (or with your preferred burnware):
 
cdrecord blank=fast dev=/dev/hdc
 
in which '/dev/hdc' is the mount point of the CDwriter, change as needed ¹)
 
===== Create the ISO file or 'image' from the currently running kernel, that will be needed to burn to disk later =====
 
mkrescue --iso
 
===== Or: create an ISO file from any kernel on your system, other than the one currently running =====
 
mkrescue --image LABEL --iso
 
in which you must replace 'LABEL' with the label name as it appears in your /etc/lilo.conf . For example if your lilo.conf contains the line: label="linux-2.6.10-1.mm.18" in the paragraph describing the kernel that you want to make a bootable cd from, you should use the command:
 
mkrescue --image linux-2.6.10-1.mm.18 --iso
 
Burn the image to disk:
 
cdrecord speed=16 -eject dev=/dev/hdc rescue.iso
 
in which /dev/hdc is an example; change to same as above ¹); 'speed' may be changed to a proper number for your burner and -eject is not necessary, but I believe a burned disk can better cool off outside than inside the box :)
 
Remove the temporary files from your hard drive (not needed if your system is set to remove temp files).
 
rm rescue.iso
rm mkrescue-flp/boot.bin
rd mkrescue-flp
 
exit # to return to being user.
 
¹) Usually the easiest way to remind yourself which is which is to insert a finished CD in the drive and give the command: "df" and/or "grep cd /etc/fstab"
 
== Võrguühendus ==
 
==== Kuidas seadistada võrguühendust ====
 
*Lugege [[#Üldised Märkused]]
*K Menu -> System -> Configuration -> Configure Your Computer
*Network & Internet
*Reconfigure a network interface
 
==== Kuidas muuta arvuti nime ====
 
*Lugege [[#Üldised Märkused]]
 
hostname your_desired_computer_name
 
''VÕI''
 
*Menu > System > Configuration > Configure your computer > Network & Internet > Manage hosts definitions
 
''VÕI''
 
drakhosts
 
==== Kuidas võrguarvuteid lehitseda ====
 
*Lugege [[#Üldised Märkused]]
 
*''Eeldame, et võrguühendus on korralikult seadistatud''
 
*'' Kui arvuteid või võrgukaustu ei õnnestu leida, püüa nende poole otse pöörduda''
 
*'' Lugege [[#Kuidas pääseda võrgukaustade juurde ilma neid ühendamata]]''
 
*K Menu -> Home
*At the Location bar replace ''/home/your_user_name'' with ''lan:/''
 
==== Kuidas pääseda võrgukaustade juurde ilma neid ühendamata ====
 
*Lugege [[#Üldised Märkused]]
 
:''Eeldame, et võrguühendus on korralikult seadistatud''
:'' Võrguserveri IP aadress: 192.168.0.1''
:'' Jagatud kausta nimi: linux''
 
*K Menu -> Run Command...
*Run Application
 
smb://192.168.0.1/linux
 
==== Kuidas võrgukaustu käsitsi ühendada/lahutada, ja lubada kõigil kasutajail neid lugeda ====
 
*Lugege [[#Üldised Märkused]]
 
:''Eeldame, et võrguühendus on korralikult seadistatud''
:'' Võrguserveri IP aadress: 192.168.0.1''
:'' Võrguserveri kasutajanimi: minukasutajanimi''
:'' Võrguserveri parool: minuparool''
:'' Jagatud kausta nimi: linux''
:'' Kohalik liitumis punkt: /home/uid/sharename''
 
*Võrgukausta ühendamiseks
 
mkdir /home/uid/sharename
mount //192.168.0.1/linux /home/uid/sharename/ -o username=minukasutajanimi,password=minuparool
 
*Võrgukausta lahutamiseks
 
umount /home/uid/sharename/

Aita seda lehekülge täiustada!