Search This Blog

Saturday, April 4, 2009

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:)

Thursday, January 8, 2009

Recovery problems

Bootrec.exe tool in the Windows Recovery

It repairs the following items in Windows Vista:
• A master boot record (MBR)
• A boot sector


To run the Bootrec.exe tool, you must start Windows RE(recovery environment). To do this, follow these steps:
1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe, and then press ENTER.

Note: This is only possible with windows vista recovery cd which you can get with vista installation cd/dvd or from

net you can download it.

Bootrec.exe options
The Bootrec.exe tool supports the following options. Use the option that is appropriate for your situation.

Note: If rebuilding the BCD does not resolve the startup issue, you can export and delete the BCD, and then run

this option again. By doing this, you make sure that the BCD is completely rebuilt. To do this, type the following

commands at the Windows RE command prompt:
• bcdedit /export C:\BCD_Backup
• c:
• cd boot
• attrib bcd -s -h -r
• ren c:\boot\bcd bcd.old
• bootrec /RebuildBcd
/FixMbr
The /FixMbr option writes a Windows Vista-compatible MBR to the system partition. This option does not overwrite

the existing partition table. Use this option when you must resolve MBR corruption issues, or when you have to

remove non-standard code from the MBR.
/FixBoot
The /FixBoot option writes a new boot sector to the system partition by using a boot sector that is compatible with

Windows Vista. Use this option if one of the following conditions is true:
• The boot sector has been replaced with a non-standard Windows Vista boot sector.
• The boot sector is damaged.
• An earlier Windows operating system has been installed after Windows Vista was installed. In this scenario,

the computer starts by using Windows NT Loader (NTLDR) instead of Windows Boot Manager (Bootmgr.exe).
/ScanOs
The /ScanOs option scans all disks for installations that are compatible with Windows Vista. Additionally, this

option displays the entries that are currently not in the BCD store. Use this option when there are Windows Vista

installations that the Boot Manager menu does not list.
/RebuildBcd
The /RebuildBcd option scans all disks for installations that are compatible with Windows Vista. Additionally, this

option lets you select the installations that you want to add to the BCD store. Use this option when you must

completely rebuild the BCD

Reinstalling Grub boot loader
BY
COMMANDS @ TERMINAL
COMMANDS TO REINSTALL GRUB:
U just need to enter the terminal using the installation CD/DVD of your GNU/Linux operating system.

Once you are at the terminal. type this:
$ grub
If it says that you don’t have the permission. Type this command at the terminal:
$ sudo grub
You will get the grub-shell prompt:
grub>

Now, you need to find out in which partition Grub had been installed before, so that you reinstall in that

partition only. Give this command at the terminal:
grub> find /boot/grub/stage1
(returns value)
It returns the number of the partition in which Grub i.e your GNU/Linux had been installed.
e.g.,

grub> find /boot/grub/stage1
(hd0,2)


NOTE:
Sometimes, when Grub has not been installed properly, the file “/boot/grub/stage1″ may not exist. So, the output

will be “Error 15: File not found”. In such a case, come out of the grub-shell by pressing “Ctrl+c”. Then, at the

shell prompt, give this command at the terminal:
$ fdisk -l
Again, if you are not logged in as root, give this command at the terminal:
$ sudo fdisk -l
The output will list all the partitions and it’s properties, including the file system type.
e.g.,
Device Boot Start End Blocks Id System
/dev/sda1 1 654 5253223+ b FAT32
/dev/sda2 * 655 1962 10506510 7 HPFS/NTFS
/dev/sda3 1963 3924 15759765 83 Linux
The “System” attribute of your GNU/Linux operating system will be “Linux”. So note down that partition number.
e.g., sda3
Since it’s array numbering, sdaN is mapped to (hd0,N-1).
Just (hd0) will be the Master Boot Record(MBR).
sda1 will be (hd0,0) and so on.
So, sda3 will be (hd0,2)
Now, log into the grub-shell prompt again.

Before reinstalling Grub, you will have to notify the partition that your Grub i.e. GNU/Linux is resided in. So,

give this command at the terminal:
grub> root (returned value)
e.g.,
grub> root (hd0,2)

Now, reinstall grub in the MBR i.e. the returned value without number part.
e.g., (hd0)
So, give this command at the terminal:
grub> setup (returned value without number part)
e.g.,
grub> setup (hd0)

Exit the grub-shell prompt using “Ctrl+c”.
Exit the shell prompt using “Ctrl+d”.

NOTE :

You can also reinstall Grub in your GNU/Linux partition, only if this GNU/Linux partition is “primary” and you have

another boot loader installed at the MBR(in case of more than one GNU/Linux operating systems) through which you

can boot this primary partition. To do that, give this command at the terminal:
grub> setup (returned value)
e.g.,
grub> setup (hd0,2)

Friday, October 31, 2008

Check this

HELLO PEOPLE,

In this blog u can find organized knowledge for installing different applications on fedora.

So just give a visit to it?
IF u like it ,do comment?
IF u don't like ,then also comment .
But In either case do give suggestions .

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

Njoi !!!!!!!!!!

Sorry for the inconvenience

my previous posts were showing some HTML errors ,so i have to delete all of them .All these are new posts with some modifications .

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

Njoi!!!!

Audio/video related problems

To check whether sound is properly configured or not


Here is the solution:



1. Open a terminal and switch to root user.
Launch the terminal from the panel menu
Click Applications->System Tools->Terminal
On the terminal type: su -
Type your root password and hit enter key on the keyboard.

2. Check whether sound is properly configured on your system.
play /usr/share/sounds/startup3.wav

If you hear sounds proceed further. Otherwise check volume control and sound devices configuration. Below is the output when you play the wav sound file from the terminal.
Input File : '/usr/share/sounds/startup3.wav'
Sample Size : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels : 2
Sample Rate : 44100

Time: 00:02.50 [00:00.00] of 00:02.50 ( 100.0%) Output Buffer: 110.36K

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

now u can ROCK!!!

How to install any applications(apps) on fedora

If you have just installed GNU/Linux and would like to know how to install software on your new OS then go thru this.

There are many ways but I prefer these:
1.By downloading from internet and then installing manually
2. By installing repositories first and then using yum package installer

lets go for first method

REMEMBER: YOU HAVE TO BE ROOT USER FOR THIS
=======================you need to get the site address for the software(get it from any search engine )
#wget -c site addresslike (# wget -c http://easylinux.info/upload/1.0.bin.tar.bz2 )
# tar -jxvf filename
like( tar -zxvf ndiswrapper-1.53.tar.gz) (note: use jxvf only for tar.bz2 files,zxvf for tar.gz)it will create a directory by same filename to that directory
#cd directory
# ./configure
#make install
====================================================================================Now 2nd method (I prefer this most)
for this u have to install repositories first =============================================
# rpm -ivh http://rpm.livna.org/livna-release-8.rpm (if u rusing different version of fedora then just change the numeral above.)or
you can do it other way

first download corresponding livna-release.rpm from anywebsite (as required fedora 8,9)
then open terminal
go to the directory in which you u've downloaded the livna repo.and
#rpm -ivh livna-release-9.rpm
now the repo. is installed . now you u can continue with yum package installer
#yum install packagename

u can search for the package by
#yum search packagename
and then install the required package.


=====================================================================================
have fun