Newcomer Getting Started with how to access Windows partitions under Linux. #MKDIR / MNT / WIN Create a load point directory WIN, like CDROM, FLOPPY load point directory is under / mNT. #mount -t vfat / dev / hda? / mnt / win / dev / hda? Free #fdisk - l View the corresponding Windows partition, do the mount. -t option is given a partition format. -o If you want to display the Chinese file name, you can use the -o iocharset = cp936 option. / etc / fstab file is some of Linux loading File system, you can also write it in: Eg / dev / hda? / Mnt / win vfat defaults, IoCharset = cp936 0 0 B in / etc / inittab file There is a line ID: 5: InitDefault 5: login in graphics . 3: Log in in text. More detailed explanation can read this file. C can configure X WINDOW, change the resolution, and so on with the XConfigurator command .. You can setup commands with a number of system configuration options. (Shi Key: Ctrl Alt " " and Ctrl Alt "-") D Switch WM (Window Manager) Window Manager can use the switchDesktop command. #SwitchDesk gnome Or #SwitchDesk KDE, the virtual terminal in X can be selected with #SwitchDesk in the graphical interface. There is also a method is Create a .xinitrc file in its own (#echo $ home) directory. #CD #vi .xinitrc exec gnome-session: x Press the ESC button, enter ": x" save exit. E filename.tar.bz2 file use tar XJVF filename.tar.bz2 command unopened. TAR.GZ package program general installation method: #CD / TMP #TAR XVZF ... / file.tar.gz #cd file #. / configure #make #make install specific Look at its readme or install for RPM packaging programs installed with RPM -IVH file.rpm. -e Uninstall. Upgrade-Evh option. -Fvh update, only the version of the old version of the RPM exists in the system will be upgraded. The -UVH option is not installed regardless of the old version in the system. The query uses the -q option, -v is the verification option, and you can use the following options: -l List the list of installation files. -i package information. -p package. -f file. -d lists document files. Such as: rpm -q mozilla; rpm -ql mozilla; rpm -qi mozilla rpm -qpl mozilla ... rpm; rpm -qpi mozilla..rpm or more command to ensure that the current directory has Mozilla ... rpm. Rpm -qf / usr / bin / mozilla See this file belongs to that package. RPM -VA verifies all software packages; rpm -vf / bin / vi; rpm -vp mozilla ... rpm; rpm -v mozilla. ... g You can use the following three ways to get a command help. #Command - Help this is simply. #info command #man Command h may encounter a dependency problem when installing an RPM package.
For example: #CD / MNT / CDROM / Redhat / RPMS # rpm -ivh kdemultimedia-2.2-4 error: faild Dependencies Timidity is needed by kdemultiMedia-2.2-4 libzrtskde.so .... libdcop.so.1 .... .... I don't recommend it to ignore the dependency problem with --Nodeps option, may not be able to run. To put these files first, it belongs to that rpm package? You can search for RPMFind.Net search to determine RPM packages, download and install. Or search for installation in CDROM, let's introduce a shell program to help you search for RPM packs that contain dependencies. For pkg in *.rpm do rpm -pql $ PKG | GREP $ 1> / dev / null && echo $ PKG DONE Write it to FFRPM #CHMOD U X FFRPM #CP FFRPM / BIN #CD / MNT / CDROM / RedHat / RPMS #frpm findfile See this link: http://www.linuxforum.net/forum/showflat.php?cat=141576&page=141576&page=1 g to upgrade the kernel method, thank you CCIE! Before Make MenuConfig, to / usr / include #RM -FR SCSI ASM Linux #LN -S / USR / SRC / Linux / include / Linux Linux #LN -S / USR / SRC / Linux / include / ASM-I386 ASM #LN -S / USR / SRC / Linux / include / SCSI SCSI here There are three ways to configure kernel # MenuConfig, # make xconfig - this running under X. Then, make DEP, Make Clean, Make Bzimage, Make Make, Make Modules_install, copy the /usr/src/linux/system.map to / boot, copy the BZImage to / boot.
Modify /etc/lilo.conf (if you use lilo), run / sbin / lilo -v. H Configure the mouse using the mouseconfig command, use the wheel to modify the following two files can be: / etc / sysconfig / mouse changed to: Fullname = "Microsoft - Intellimouse (PS / 2)" mouseType = "Imps2" Xemu3 = "no" xmousetype = "iMPS / 2" Thanks GYWX or modified / etc / x11 / xf86config-4 section "InputDeffic" Identifier "Mouse0" Driver "mouse" option "protocol" "Imps / 2" option "device" "/ dev / psaux" option "zaxismapp" "4 5" option "emulate3buttons" "no" EndSection can also choose the mouse model in MouseConfig Select Microsoft's smart rat " Or Logitech's mouseman. J Run the libo command each time you modify the /etc/lilo.conf file, write it to MBR. For example, start WIN: Prompt Timeout = 50 Default = WinMe Boot = / dev / HDA map = / boot / map install = / boot / boot.b Message = / boot / message linear image = / boot / vmlinuz-2.4.7-10 label = linux initrd = / boot / initrd-2.4.7-10. img read-only root = / dev / hda7 other = / dev / hda1 optional label = WinMek enters X, if the screen is 歪, of course, you can directly adjust the monitor, but you may conflict with WIN, you can also adjust, adjust, adjust Some parameters later: hdisplay: 1024 hsyncstart: 1098 hsyncend: 1188 htotal: 1376 vdisplay: 768 vSyncStart: 769 vsyncend: 772 Vtotal: 808 Pixel Clock (MHz): 94.50 Horizontal Sync (kHz): 68.68 Vertical Sync (Hz): 85.00 Modify / etc / X11 / XF86Config-4 file as follows: Section "Monitor" Identifier "___A770" VendorName "Unknown" ModelName "Unknown" HorizSync 68.68 VertRefresh 85.00 Option "dpms" # 1024x768 @ 85 Hz, 68.68 KHZ HSYNC / * This sentence is noted, no * / modeline "1024x768" 94.50 1024 1092 1188 1376 768 769 772 808 HSYNC vsync Endsection L to reload WIN will cause LILO, GRUB invalid, unable to boot Linux from MBR, At this time, there is a starter disk is very important.