Fedora Core
3.7. Как примонтировать Windows раздел, чтобы имена файлов были видны по-русски?Допустим Windows раздел соответствует устройству /dev/hdb1, а /mnt/windows – это каталог, куда нам нужно примонтировать этот раздел. Тогда команда монтирования будет выглядеть так:mount -t vfat /dev/hdb1 /mnt/windows -o iocharset=utf8,codepage=cp866____________________Как сделать переключение на русскую клавиатуру и обратно через Ctrl+Shift?В Fedora Core 4 в GNOME путь по меню выглядит как Система->Параметры->Клавиатура.____________________________4.6. Обнаружил, что для жёского диска не включен режим DMA. Как это сделать?Для задания специальных параметров тонкой настройки жёстких дисков, в Red Hat и Fedora Core есть специальный файл: /etc/sysconfig/harddisks. Параметры, которые указываются в нём, передаются программе hdparm. Файл хорошо документирован внутри, но тем не менее вот краткое описание.Для включения режима DMA для всех дисков раскомментируйте строкуUSE_DMA=1Для включения режима ввода/вывода нескольких секторов сразу за одно прерывание, установите параметрMULTIPLE_IO=nгде n – число секторов. Для включения 32-битного доступа к диску раскомментируйте строкуEIDE_32BIT=nгде n может принимать значения 0 – запрет 32-bit, 1 – включение 32-bit, 3 – включение 32-bit с синхронизационной последовательностью. Для включения режима опережающего чтения раскомментируйте строкуLOOKAHEAD=1Для прочих опций hdparm занесите их в строку EXTRA_PARAMS. Например эта строка может выглядеть так:EXTRA_PARAMS=”-X66 -u1″Для вступления внесённых изменений в силу, необходима перезагрузка.________________________________
[link url='http://www.linuxcompatible.org/Fedora_Core_4_Windows_XP_and_Grub_t33823.html'] Fedora Core 4, Windows XP and Grub [/link]
[link url='http://www.linuxcompatible.org/Fedora_Core_5_boot_problem_GRUB__t34474.html'] Fedora Core 5 boot problem: ‘GRUB_’ — [/link]
dual boot FC 5 and XP Home (1/1)SolutionThe problem with reading other posts, is that folks tend to make the same mistakes that the original post thread author did in setting up their system.Let’s take this one step at a time.I gather from your post, that you have a primary partition (FAT32) on the slave drive. Without knowing how you set up Grub makes it a little difficult, but I think that I see the problem.When you do the df command, you should have seen the Linux partitions. It;s important to know their locations, but i will guess;hdb2 = /boothdb3 = /This command only shows what partitions are mounted, not all your partitons. In Fedora, I think the command should be;/sbin/fdisk -l (that’s the letter small case “L”)This will show you all the partitions on the drive, which I guess will be;hda1 = FAT32hdb2 = linux boot partitionhdb3 = “/” the root partitionFedora, if you select the default partitioning option, will make a small boot partition and a large root partition.Switching the boot order in the bios does nothing, as the first partition should be the FAT32 one, with no boot data on it. hence, the no OS boot problem message.Grub is installed on the second partition, which is not set active, not the first partiton that the computer finds booting from the slave drive.Doing the command dd if=/dev/hdb2 of=boot.lnx bs=512 count=1 copies the first 512 byres of data from the Linux partition. but, if the Grub reference files are not on that partition, then you likely will get a boot.ini file that is not 512 bytes. If I remember correctly, ths command assumes that grub is on the root filesystem of the linux drive. You have one boot partition (with grub bootloader data on it – hdb2) and hdb3 is the root partition. Not all the data is there. I bet your boot.lnx file is not 512 bytes in size, correct?One question about your Windows installation. Was this from a full Windows XP retail disk, or the recovery software for the Gateway system?How to fix this depends on your response.My solution? Some will argue with me on this point, but Fedora, with the default installation, assumes that it will boot from the MBR of the primary master drive, or that the first partition with a /boot partition is in fact the first partition on the drive that Fedora is installed on.I never accept the default installation partitioning scheme and always install Grub to the MBR of the primary master drive. You most likely chose the /boot partition of the slave drive.If the windows installation is truely new, with no programs and settings added, then I would reinstall Fedora, choose custom partitioning, pick the large Linux root partition to reinstall to and tell grub to be installed to the MBR (hda) of the primary master drive. This way, all the grub files (the bootloader ones form the current /boot partition and the reference files for grub) are on the same partition, the root, or / partition.The best way to do this is to delete the Linux partitions on the slave drive in Windows, then allow Fedora to make one large partition that you will mark as / on the slave drive, using the custom partitioning choice at the Fedora partitioning utility menu during the Fedora installation.You keep the FAT32 partition this way for storing files to be read and edited in both Fedora and Windows (to share files needed using both operating systems).
[link url='http://www.linuxcompatible.org/installing_fedora_core_5_t34428.html'] installing fedora core 5 [/link]
nVidia and ATI graphics acceleration: * Please read this important post regarding third party graphics acceleration drivers: https://www.redhat.com/archives/fedora-test-list/2006-February/msg01565.html. The kernel that ships with the Fedora Core 5 release iso images is not compatible with third party 3D graphics acceleration drivers. You should immediately update your kernel upon installation to get a newer kernel that is compatible. (“yum -y update” as root.) * Open a terminal. Type: su – Hit enter, type your root password and hit enter. * Type: gedit /etc/yum.repos.d/livna.repo Hit enter. * In gedit type or copy and paste these lines: [livna] name=Livna for Fedora Core $releasever – $basearch – Base baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/ http://livna.cat.pdx.edu/fedora/$releasever/$basearch/ http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/ failovermethod=priority #mirrorlist=http://rpm.livna.org/mirrorlist-5 enabled=0 gpgcheck=1 (Note that we have the “enabled” bit set to “0” (off) in this file so that the livna-stable repository will not conflict with our RPMForge repositories for automatic updates.) Be sure there is a carriage return (blank line) at the bottom of the file. Click the “save” icon in gedit and then close gedit. * Type the following in the root terminal: rpm –import http://rpm.livna.org/RPM-LIVNA-GPG-KEY Hit enter. * If you are using an ATI video card or chipset type the following in the root terminal: yum -y –enablerepo livna install kmod-fglrx Hit enter. Wait for the installation to complete. (If you have an smp kernel use “yum -y –enablerepo livna install kmod-fglrx-smp” instead.) If you get an error with this procedure it probably means that your kernel is more recent than the kernels for which Livna has built ATI kernel modules. If this is the case switch to an older kernel (if you have one) on your Fedora boot menu or wait a few days until Livna gets the graphics acceleration module rpms built for the most recent kernel. When you update your kernel you will have to update your ATI driver as well. Do this with a “yum -y –enablerepo livna update kmod-fglrx” as root after you have booted into the new kernel. * If you are using an nVidia video card or chipset type the following in the root terminal: yum -y –enablerepo livna install kmod-nvidia Hit enter. Wait for the installation to complete. (If you have an smp kernel use “yum -y –enablerepo livna install kmod-nvidia-smp” instead.) If you get an error with this procedure it probably means that your kernel is more recent than the kernels for which Livna has built nVidia kernel modules. If this is the case switch to an older kernel (if you have one) on your Fedora boot menu or wait a few days until Livna gets the graphics acceleration module rpms built for the most recent kernel. When you update your kernel you will have to update your nVidia driver as well. Do this with a “yum -y –enablerepo livna update kmod-nvidia” as root after you have booted into the new kernel. * To prevent SElinux problems with the ATI fglrx or nVidia modules type the following in the root terminal: setsebool -P allow_execstack=1 Hit enter. Also type: setsebool -P allow_execmod=1 Hit enter. Reboot your machine. Your ATI fglrx or nVidia drivers should be enabled after you reboot.
True Type fonts: * Open Firefox. Go to http://www.mjmwired.net/resources/mjm-fedora-fc5.html#ttf and download (save to disk) http://www.mjmwired.net/resources/files/msttcorefonts-1.3-4.noarch.rpm. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your “Home” folder. (Left mouse click on the file and drag it on top of your “Home” folder while holding the left mouse button down. Then release the mouse button.) * Click on the terminal icon. This will open the terminal. Type: su Hit enter, type your root password and hit enter. (This gives you root privileges in the terminal even though you are still in the default user’s home directory.) * Type: ls Hit enter. This will list the contents of your home directory so you can see if the file you just saved is there. * Type: rpm -ivh *.rpm Hit enter. Wait for the installation to complete. * Type: rm *.rpm Hit enter. Type “y” and hit enter. (This deletes the downloaded RPM file in your home directory, however the program is already installed into your system.) Close the terminal. Log out and log back in.
NTFS support (for mounting your Windows partition): * Open the terminal. Type: su Hit enter. Type your root password. Hit enter. * Type: uname -rm Hit enter. This will output your kernel version and processor type. * Open Firefox. Go to http://www.linux-ntfs.org/content/view/187/ and download (save to disk) the appropriate NTFS RPM for your kernel version and processor type. This should save the file to your home folder. If it saves the file to your desktop instead go to your desktop and drag the file into your “Home” folder. (Left mouse click on the file and drag it on top of your “Home” folder while holding the left mouse button down. Then release the mouse button.) * With the root terminal still open type: rpm -Uvh *.rpm Hit enter. Wait for the installation to complete. * Type: rm *.rpm Hit enter. Type “y” and hit enter. * Type: su – Hit enter. * Type: mkdir /mnt/windows Hit enter. * Type: /sbin/fdisk -l Hit enter. This will output your HPFS/NTFS partition identifier. * Type: gedit /etc/fstab Hit enter and gedit will open. * In gedit add the following line to /etc/fstab: /dev/hda1 /mnt/windows ntfs ro,defaults,umask=0222 0 0 Be sure to enter a blank new line at the end of the file. If your partition identifier is not “/dev/hda1” substitute the correct characters. (For example it might be “/dev/sda1” if you have a SATA drive.) * Click the “save” icon in gedit and exit gedit. Close the terminal. Reboot your machine. Your Windows partition should now be available in the file browser under “/mnt/windows”. (Note that you will have to uninstall the old kernel module with the “yum remove kernel-module-ntfs” command as root and then install a new NTFS kernel module as described above to match your new kernel each time you update it.)
nstall XMMS mp3 Player20 March 2006Fedora Core 5 does NOT ship with XMMS, you must install fromthe Fedora Extras (http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/)or from some other location.If you download the RPM’s individually,make sure you have the ‘mikmod’ dependancy noted above in the install.Otherwise install xmms through yum (Fedora Extras are automatically supported):# yum install xmmsIf you use the Fedora Extras site, there will be NO MP3 plugin.The RPM for FC5 from freshrpms will include MP3 support:http://bordeaux.freshrpms.net/rpm.html?id=752http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/xmms-mp3/Get:xmms-mp3-1.2.10-15.fc5.i386.rpmRun:%5Broot@charon fc5]# rpm -ivh xmms-mp3-1.2.10-15.fc5.i386.rpmIf you want the XMMS status plugin for Gnome and KDE, go here:http://newrpms.sunsite.dk/apt/redhat/en/i386/fc3/RPMS.newrpms/xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpmGet:xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpmRun:%5Broot@charon fc5]# rpm -ivh xmms-status-plugin-1.0-2.rhfc3.nr.i386.rpm—Run xmms through the menu or by running ‘xmms’ at the shell.And go to the XMMS Options:Options > Preferences > Audio I/O Plugins > Input PluginsDisable: MPEG Layer 1/2/3 Placeholder Plugin [librh_mp3.so]==> UNCHECK [ ] Enable PluginAudio I/O Plugins > Output PluginSET: ALSA 1.2.10 ouput plugin [libALSA.so]General PluginsEnable: Status Docklet Plugin 1.0 [libstatusdocklet.so]==> Check [ ] Enable PluginApply
Copyright ©