Linux problem small set

xiaoxiao2021-03-06  94

Q: How to install a new kernel? Have a six steps: make MrProper (used to eliminate the original compilation) Make Menuconfig (can be used by config, xconfig) Make Dep Make Bzimage Make Modules (if you set a module) Make Modules-install then you can It is ok to join the boot in LILO.

Q: How to access Windows hard drive partition? Mount -t vfat / dev / hdax / YourPath where HDAX is the hard drive you want to mount. Note If you use NTFS format, you have to replace the VFAT to NTFS, and it is not necessary to use 2.4 kernel.

Q: How to install software? If you are a tar.gz file, use tar zxvf * .tar.gz to extract. Then look at the INSTALL file inside. Generally a few steps: ./configure make make install or look at the install file, because there are some parameters in this. And detailed installation steps. If you are a RPM file, use rpm -ivh * .rpm you can also use rpm --help to see what parameters.

Q: How to modify the resolution? In the console, setup can see there are many options, select the XConfiguration by the way, there are many other options, you can use it to modify the network, configure the sound card, etc. Go and see yourself.

Q: How to Chinese Rhlinux? Look at our Chinese forum, there is Chinese articles, you can succeed.

Q: How to make it not automatically enter XWindow when starting? Modify /etc/inittab.conf inside ID: 5: ... become ID: 3: ... you can!

Q: How to get from xwindow to the console? Ctrl alt f1 ... f6 where F7, F8 is xwindow. For example: StartX is used by Ctrl Alt F7

And StartX -: 2 is the use of Ctrl Alt F8

Q1: LILO launch error message: A: No prompt: LILO is not installed or installing LILO partitions are not activated. L : LILO's first part has been loaded and running, but it cannot be loaded into the second part of the boot program. Two-digit error code indicates the type of problem (see "Disk Error Code"), which is usually in the media access failure or hard disk parameter error.

LI: LILO The first part is correct but the second part is executed. This is usually the hard disk parameter is incorrect or /boot/boot.b is not re-running the MAP installer after being moved.

LIL: LILO The second part begins, but cannot read the descriptor table from the "MAP" file. This is usually caused by the incorrect media error or disk parameters.

LIL ?: Lilo loaded in the wrong place. The reason is substantially the same as "Li".

LIL-: Descriptor Table error. Typical reason is that hard disk geometry is subtle or /boot/boot.b is moved without running the MAP installer.

LILO: LILO is correct.

1010101010: Partition situation has changed until reinstall LILO, in addition, overclocking may also come. Q2: How to back up LILO A: fdformat / dev / fd0h1440 (format a blank floppy disk) DD if = / boot / vmlinuz of = / dev / fd0 (replacing VMLinuz with your own kernel file name) RDEV / DEV / FD0 / DEV / SDA3 (replacing / dev / sda3) with your root device

RDEV -R / DEV / FD0 1 (installation root file system into read-only mode)

Role: When the system LILo fails, the floppy disk will be used to boot the system and install the hard drive root file system Q3: How to delete the LILO A in the MBR: Start with the Windows boot disk, run FDISK / MBR. Or run Lilo -u Q4 under Linux : How to reload LILO to MBR A: Start with a floppy or disc to boot :,

Q5: Usage of GRUB: A: For details, please refer to: http://www.linuxeden.com/edu/doctext.php? Docid = 2154 Q6: How to install the sound card? A: Run SNDCONFIG or SETUP in characters mode, if this is not yet, please download the sound card configuration tool ALSA (ALSA Toolkit includes ALSA-Driver-0.5.10b.tar.bz2, Alsa-LIB-0.5.10B.TAR .bz2, alsa-utils-0.5.10b.tar.bz2, 0.5.10 is the version number.) Install in the order of DRIVE, LIB, and UTIL. You can also download the OSS toolkit to configure your sound card. (OSS installation guide: http://www.linuxeden.com/edu/doctext.php? docid = 1974; ALSA installation configuration AC 97 sound card: http://www.linuxeden.com/edu/docText.php? docid = 1251) Q: How to install a graphics card? Use Setup or Xconfigurator. If you can't find your graphics card and display, you can choose the replacement of the indicator. You can also use your XFree or go to the manufacturer's website to find for Linux drivers. (Drive I810 graphics card: http://www.linuxeden.com/edu/doctext.php? Docid = 1248) How to drive Intel i740 graphics card? If your Linux can't identify I740, you can do this: 1) Download the new graphics database and I740 XBF driver: XF86Config-glibc-1.0.0.i386.tgz and xfcomi740.tgz 2) Unzip these two packages, Overlay original directory: tar xvfz /tmp/xf86config*.tgz tar xvfz /tmp/xfcomi740.tgz 3) Perform CP / USR / X11R6 / BIN / XFCOM_I740 / USR / X11R6 / BIN / XF86_XBF_I740; 4) Configuration with XF86Config: Display Horizontal scan frequency selection 6; vertical refresh frequency selection 2; when the graphics library is selected, select 311 (ie I740); graphics server type selection 5; 5) After the configuration is completed, starting StartX.

How to drive SAVAGE4 graphics card? 1) Download the SAVAGE2000 driver; 2) Using the TAR-XVFZ file name untieken; 3) After decompression, you can see five files, one is XF86_svga; 4) Backup / USR / X11R6 / BIN / XF86_SVGA, then copy the new XF86_svga to this directory, replace this file; 5) Run the XF86Config configuration, do not choose the graphics, select 3 (also SVGA), And do not detect; 6) After the completion, run startX -bpp32, it is possible. How to drive SAVAGE3D graphics card? 1) to ftp.lib.pku.edu.cn/incoming/savagex Download the Savage3D graphics card driver: savagex_0_1_4.tar.gz; 2) Unzip this program, replace the original file of / usr / x11r6 / bin with new XF86_svga; 3) When running Xconfigurator, select UNLISTED CARD when configuring the graphics, then select XServer to SVGA; 4) After running StartX runs X-Win.

The general graphics card drive method is limited by the graphics card manufacturer, so that the graphics card under Linux has always been a problem. In order to solve this problem, Linux 2.2.x The above version provides a new solution --- use the Frame Buffer device, with the VESA VBE 2.0 standard, with the graphics SVGA feature, with Xfree86 XF86_FBDEV, drive your graphics. This can indeed help you. 1) Confirm that you have XF86_fbdev files, if not downloaded from ftp.xfree86.org; 2) Perform "MKNOD / DEV / FB0 C 29 0" to establish a Frame Buffer device; 3) Modify the /etc/lilo.conf file, join: Image = /BOOT /VMLINUZ-2.2.5-FB (new compiled core) label = Linuxfb (start launch mark, can be custom) root = / dev / hda2 (other part of Reference lilo.conf) VGA = 0x314 (display mode, see following table) is attached: a display pattern table 640x480 800x600 1024x768 1280x1024 256 colors 0x301 0x303 0x305 0x307 32k color 0x310 0x313 0x316 0x319 64k color 0x311 0x314 0x317 0x31A 16M color 0x312 0x315 0x318 0x31B 4) execute / sbin / lilo, enable the configuration, and Restart the system to start the system with a new kernel. Of course, if your kernel has already supported it, there is no need to do this, plus VGA = that line. 5) Next, the Frame Buffer Server configuration: Refer to the configuration of VGA in / etc / x11 / xf86config, add a Screen section, as shown below: section "Screen" Driver "fbdev" device "My Video Card" Monitor "MAG XJ500T" Subsection "Display" Depth 16 (color depth, must be consistent with the color depth of the previously selected display mode) MODES "Default" Viewport 0 0 EndSubsection endsection 6) Point XF6_FBDEV: CD / ETC / X11 MV x.bat ln - SNF / USR / X11R6 / BIN / XF86_FBDEV XQ: How to install a NIC? Configure your network card and network environment with NetConf and NetConfig. The general network card can be selected as the NE2000 compatible network card.

Http://www.linuxAid.com.cn/support/showFom.jsp?i=665 How to drive D-Link DE220 NIC? D-LINK's DE220 is a cost-effective, supported ISA network card for plug-and-play. But it is because of the plug-and-play function, it will encounter some trouble under Linux: 1) In the DOS environment, use a tool setup in the driver disk of the DE220 network to non-PNP; 2) Gets its IO address and break from the Windows control panel, in general, the IO address is 240, the interrupt number is 10; 3) Start Linux, after logging in, execute "NetConf", set the first network card to Enable, Equipment Named ETH0, module is NE, IO address is 0x240, IRQ is 10; 4) After exiting, run /tc/rc.d/init.d/network restart. How to drive D-Link DFE530 TX NIC? The D-Link 530 TX network card is a cost-effective 10M / 100M adaptive PCI network card, which has a wide range of user groups, and Linux is not listed in the list in the installation wizard. In fact, general Linux already contains the drive module of this NIC: Tulip.o, you can perform "Insmod Tulip" to complete the NIC installation.

How to drive D-LINK DFE540 TX NIC? If your network card is D-Link DFE540 TX, do not choose the NIC when installing, otherwise some unnecessary trouble may be caused. 1) From http://cesdis.gsfc.nasa.gov/linux/d...r/src/tulip; 2) Perform the following command, compile the generation Tulip.o: #CD / USR / SRC / TULIP #GCC -Dmodversions -dmodule -d__kernel__ -wall -wstrict-prototypes -o6 -c tulip.c 3) Execute Insmod Tulip.o; 4) Execute /et CRC.D/INIT.D/Network Restart to make the network card take effect.

How to drive Davicom 9201 NIC? Davicom 9201 PCI network card cannot be done directly when installing Linux. In fact, most Linux distributions provide this network card drive module - DMFE.O, if your machine is also this network card, you can have a short network card configuration when you install Linux, install the boot system, login After the execution: "Insmod DMFE" command adds a drive module, then execute "/etc/rc.d/init.d/network restart".

How to drive the second network card? In the Linux system, you can easily use the Configuration Tool NetConf to install the second block, select the second block of network cards in NetConf, device name: Eth1, select its driver module, enter the IO address and IRQ interrupt number, after exiting , Execution: /etc/rc.d/init.d/network restart Q7: RPM and TAR usage (software package installation method) RPM: 1) Display progress when installing RPM package: use -VH parameters, such as rpm IVH IPChains-1.3.6-1.i386.rpm does not have to be used with GLINT or XRPM. 2) Install the RPM package directly through FTP: RPM -I ftp://ftp.xxx.xxx 3) Check all RPM packages, find lost files: rpm -va 4) Find a file that belongs to which RPM package: For example: RPM -QF / USR / BIN / WHO 5) lists a description of an RPM package: for example: rpm -qpi mon-0.37j-1.i386.rpm 6) List the file information of an RPM package: for example: RPM -QPL MON-0.37J-1.I386.rpm tar: tar zvfx xxx.tgz / xxx.tar.gz expands this package in the current directory TAR ZVFT XXX.TGZ / XXX.TAR.GZ only test does not expand TAR ZVFX XXX.TGZ / XXX.TAR.GZ -C / New DIR is started after the / new dir directory TAR ZVFC XXX.tgz / xxx.tar.gz / test put all the files under the / Test directory into Test .TGZ Q8: Using CD and floppy disk mount -t ext2 / dev / fd0 / mnt / floppy (Mount Linux file system) mount -t vfat / dev / fd0 / mnt / floppy (mount FAT32 file system floppy disk) Under normal circumstances: mount / mnt / floppy mount disc for: mount / mnt / cdrom (Remember: First uninstall first before the custom disk and floppy disk, use the command umount) Q9: Access the Window partition first build one Mounted directory: MKDIR / MNT / XXX then mount command: mount -t vfat / dev / hdax / mnt / xxx (HDAX is partitioned under Windows, HDA1 is C:, the logical partition starts from HDA5, general D: It is HDA5, which will be delayed later. For details, you can use CFDisk to view partitions in Linux. You can also use LinuxConf to mount your Windows partition, enter LinuxConf in the command prompt, select the Access Local Drive under File System, and then Add your new assembly point Q10: How to Chinese RedHat7.2

First, select Chinese support during the installation. Then disable the XFS service. After the installation is complete, load the directory where Windows is located, copy the font file SIMSUN.TTF (Win98) or SIMSUN.TTC (Win2000) to / usr / x11r6 / lib / x11 / fonts / TrueType directory, then run TTMKFDIR> Fonts.dir Modify Fonts.dir file, add two lines under SIMSUN.TTTF -MISC-SIMSUN-Medium-R-Normal - 0-0-0-0-P-0-ASCII-0: SIMSUN.TTTF -MISC-SIMSUN -MEDIUM-R-NORMAL - 0-0-0-0 -P-0-GB2312.1980-0 SIMSUN.TTTTTTF -MISC-SIMSUN-Medium-r-Normal - 0-0-0-0 --P- 0-GBK-0 is then running: CP FONTS.DIR FONTSSCALE Modify / etc / x11 / xf86config-4 to make it similar to: section "Files" # fontpath "UNIX /: 7100" fontpath "/ usr / x11r6 / lib / x11 / FONTS / MISC: unscaled "fontpath" / usr / x11r6 / lib / x11 / fonts / 75dpi: unscaled "fontpath" / usr / x11r6 / lib / x11 / fonts / misc "fontpath" / usr / x11r6 / lib / x11 / FONTS / TYPATH "/ USR / X11R6 / lib / x11 / fonts / spetedo" fontpath "/ usr / x11r6 / lib / x11 / fonts / 75dpi" fontpath "/ usr / share / fonts / default / trueType" endsection section " "... loading" xtt "... endsection then enter / etc / gnome edit all fontset =" -Misc-fixed-medium-r-normal - 14- * - * - * - * - 14- * - * - * - * * -GB2312.1980-0 "All changed to fontset =" -Misc-simsun-medium-r-NORMAL - 14- * - * - * - * - * - GB2312.1980-0 "archive exit. here g NOME has the ability to display 98 and 2000 beautiful Simsun fonts. Since we have selected the default in Simplified Chinese during installation. So it is not better than using local_config. Just use a program to open a text document, preferably Chinese For example, Gedit sets the fonts to SIMSUN, 14. You can see the effect. Other programs are similar. Next to switch to KDE, choose China, Chinese GB2312.1982-0, open the control center, choose the viewing - font, Change all of these fonts to SIMSUN 14, save, exit. Current KDE and then enter, good megadownload. RedHat7.2 has come into CHINPUT. You can enter Chinese as long as Ctrl Space is called. There are two Point, my way is better: 1 Make the boot disk: MkBootdisk 2 D-Link 530TX network card I have always been driven by VIA-RHINE!

转载请注明原文地址:https://www.9cbs.com/read-105000.html

New Post(0)