Search This Blog

Friday, October 23, 2009

yum installation related problems

this problem has really disturbed me for quite a while.
#the problem
#yum update

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

so here is he solution

first u need to make some changes in these two files
/etc/yum.repos.d/fedora.repo and
/etc/yum.repos.d/fedora-updates.repo

Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist. Do this for both the above files.then
edit your /etc/hosts file and append the following to it’s contents:

80.239.156.215          mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org


Now try updating your system or installing any software via Yum. You will see, the error is now resolved and the error message is not shown anymore.

Enjoi :)


FEDORA 11 leonidas related problems

hi,all
just installed fedora 11.
If u got any problem post it here.

Sunday, August 9, 2009

Display problem

Display problem

1.log into root by typing
#su
#password
2.go to this directory
# cd /etc/X11
3.edit this file
# vi xorg.conf
then look for the section "screen"
mine look like this :

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "640x480"
EndSubSection

edit the line containing Modes to the desired screen resolution

4.save the file and exit

5.find the pid of X server by
# ps -e | grep X

6.then kill it by
# kill -9 pid

(note: pid is what u get after step 5.)

you will then get logon prompt .

and your problem is solved

DONE :)

NOTE : But there is one catch in this as far as i'm concerned resolution greater than 1024x768 doesn't work on fedora 9.i will update this when i get this problem solved.
Enjoi :)


Saturday, April 4, 2009

SOME EXTRAS

SOME EXTRAS:)

NOTE : if u forgot then ,u need to be root to install any application.:D

FOR Permanently Accessing Windows Partitions

#'yum install ntfs-config

You can find it in System -> Administration -> NTFS Configuration Tool

====================================================:) enjoy

For Google Earth

Go to this page http://earth.google.com/download-earth.html and download GoogleEarthLinux.bin. Next open a terminal and go to the folder you have saved it, Install it by typing:

# GoogleEarthLinux.bin

you can find it under Applications -> Internet -> Google Earth. Note that in order it to run ok you must have installed drivers for your video card.

================================================:)Enjoi


FOR linuxdcpp (linuxdc++)

# yum install linuxdcpp

*FOR Partition Editor

For GNOME users gtk based partition manipulation program

# install gparted
For KDE users Qt based partition manipulation program

# yum install qtparted
===============================================:)

FOR unrar

# yum install unrar


================

FOR Bittorrent

# yum install bittorrent bittorrent-gui

==================================

FOR k3b

One of the best Linux CD/DVD burning program. It comes along with a lot KDE dependencies if you are using GNOME.

# yum install k3b
To enable all encoding features and programs for k3b type:

# yum install k3b-extras-nonfree vcdimager normalize transcode lame

====================================================



Adding the RPM Fusion repositories during install

FOR Adding the RPM Fusion repositories during install do this:)
Note:Before you start installing Fedora making sure you have a supported network card and over which a connection to the internet can be established. Start the install and move through the different anaconda screens where you select language, keyboard layout, root password and target volume until you get to the Additional Tasks screen:
then click on
add additional software repositories

Then follow these steps to enable the RPM Fusion free repository:

  1. In the Additional Repositories section, click the Add additional software repositories button.

  2. In the Edit Repository dialog, set the Repository name: 'RPM Fusion Free'
  3. Set Repository type: HTTP/FTP

  4. Set Repository URL depending distribution version and the architecture. For Fedora 10 on i386 use
    http://mirrors.rpmfusion.org/free/fedora/x/i386  note:where x is version of fedora
  5. Click URL is a mirror list

  6. Click OK

Notes:

  • For other architectures like x86_64 or PPC/PPC64, change i386 to x86_64, ppc, or ppc64 in the repository URL.

  • Packages in the nonfree repository require packages from the free repository to be available, hence you must enable the free repository if you want to enable the nonfree repository.

  • If you enable the Fedora Updates repository during install then you have to activate the RPM Fusion Updates repositories during install in addition to the RPM Fusion Release repositories. The URLs for the Updates repositories are similar to the ones for the release repositories. Some examples:

    Repository

    URL for i386

    RPM Fusion Free Release for F10

    http://mirrors.rpmfusion.org/free/fedora/10/i386

    RPM Fusion Nonfree Release for F10

    http://mirrors.rpmfusion.org/nonfree/fedora/10/i386

    RPM Fusion Free Update for F10

    http://mirrors.rpmfusion.org/free/fedora/updates/10/i386

    RPM Fusion Nonfree Updates for F10

    http://mirrors.rpmfusion.org/nonfree/fedora/updates/10/i386


To install compiz fusion and all reated themes

COMPIZ FUSION:

these are for official packages:)

#yum install compiz-fusion compiz-fusion-gnome compiz-fusion-extras compiz-fusion-extras-gnome compiz-manager gnome-compiz-manager ccsm fusion-icon fusion-icon-gtk emerald emerald-themes

these are for unofficial packages:(

#yum install compiz-all fusion-icon-all compiz-fusion-plugins-unsupported compiz-fusion-plugins-extra compiz-bcop ccsm emerald-themes compizconfig-backend-gconf compizconfig-backend-kconfig


FOR Auto start

GNOME:

Go to System -> Preferences -> Personal -> Sessions and click Add. Then type

name : Fusion Icon
command : fusion-icon
Comment : Compiz Fusion panel applet

then make a symbolic link by typing this terminal
#ln -s /usr/bin/fusion-icon

Logout and then back in. Now you should see a blue icon in your tray. Right click on it and go to Select Window Manager -> Compiz. You can leave the default Window Decorator or select emerald through Select Window Decorator -> Emerald. If you click on Settings Manager, ccsm will run and you can configure compiz fusion as you like. Enjoy! :)

Sunday, March 22, 2009

Back up your MBR

Backup MBR with dd command

Backing up partition is nothing but actually backing up MBR (master boot record). The

command is as follows for backing up MBR stored on /dev/sdX or /dev/hdX :
# dd if=/dev/sdX of=/tmp/sda-mbr.bin bs=512 count=1

Replace X with actual device name such as /dev/sda.

Now to restore partition table to disk, all you need to do is use dd command:
# dd if= sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446 seek=446

NJOI:)