17 June, 2009

Use Your Linux System With A Broken Bootloader

Here are some simple steps that should allow you to make some very simple changes that could end up saving you a lot of time and possibly a reinstall of your Linux system.

1. Acquire a Linux liveCD of your choice. I prefer Elive, as it is bigger one and quick. There are in count of others such as KNOPPIX, ZenWalk, Ubuntu, Fedora Live, and DSL. Each of these would easily be up to the task.
2. Boot the live CD and get to a command line somehow. If you are in a GUI environment, this means starting a Terminal or Konsole session. If you are booted into a classic Linux login prompt, you're good to go.
3. Make sure you're the root user (you can do this by typing whoami). If you're not root, type su - and enter the root password when prompted.
4. Mount your linux root partition. These steps may vary depending on preference, but they should be fairly similar:
1. cd /mnt
2. mkdir myroot
3. mount /dev/hda5 /mnt/myroot
4. cd /mnt/myroot
5. Depending on the complexity of the tasks you wish to perform, you may need to mount your device list according to what your live CD detected:
1. mount /dev /mnt/myroot/dev
2. mount -t proc /proc /mnt/myroot/proc
6. Finally, switch into your installed system, specifying where your root partition is mounted and they shell you wish to use:
1. chroot /mnt/myroot /bin/bash

At this point you should be able to do several useful things, such as reinstall your bootloader into the MBR. You can also edit hosed configuration files this way.

If you need to add Windows into your boot configuration, and you use LILO, you could try adding something like this to your /etc/lilo.conf:

other = /dev/hda1
label = Windows
table = /dev/hda

(be sure to run lilo again to save the change)

When you are all done with your chroot environment, simply type exit or logout or what have you. Then be sure to unmount anything you may have mounted in order to use the system.

Firebug for !Firefox

Pretty much anyone who's been doing any Web development in the last few years probably prefers to use Firefox because of the incredibly powerful extensions it offers. Among the extensions I hear from pavan mishra who is Web developers complain about not having in other browsers are Web Developer and Firebug. Several people feel that they could get by with another browser (such as Google Chrome) if it only had Firebug.

Firebug actually offer their amazing product for other browsers!

I happened upon this utility while perusing Django Snippets the other day. A member by the username of jfw posted a middleware which injects the Firebug Lite utility into a response when you're not using Firefox and when your site is in debug mode. I've found it to be quite useful. I hope you all do too!!

Format Large Drives as FAT32 in Windows

Have any of you ever purchased a drive larger than 32GB that you wanted to be able to plug into a Mac, Windows, and Linux machine at anytime, being able to both read and write on all of them? Did you ever try to format such a drive in Windows, simply to find out that Windows only permits formatting large drives as NTFS, which is not always writable outside of Windows?

A bit of searching pointed to Ridgecrop Consultants.

They have provided a simple, fast, and efficient application which will format any size drive as FAT32 in Windows. You can download it here.

Once you download the file, extract the fat32format.exe file from the archive and put it someplace easy to remember, like C:\. Then open up a command prompt (Click Start > Run... and type cmd in the box). Navigate to the location where you extracted the program and type something like:

fat32format d:

Where d: is the Windows drive letter of the drive you want to format. A couple seconds later you should have a fully FAT32 formatted drive!

Source: http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm

16 June, 2009

Now u 'C' it...U...Don't..!!!

The C in C++ of course comes from C language which originated from BCPL's B class (or B language, an interpreted language, suprisingly) where BCPL stands for BasicCPL which was related to the CPL language joinly developed by universities in UK? where The C in CPL orginally refer to Cambridge and later Combined (just like what happened to GCC, where originally it refers to Gnu C Compiler and later Gnu Compiler Collection). In addition, the C in CPL also refers to Christopher Strachey, who is the main driving force behind CPL.
So, now we can 'C' that the letter C has a long history, now you C it, now you don't.......


ha ha ha ha ha....

14 June, 2009

sudo error...............

if u r going to install any package in linux,by using SUDO command
in some linux its not wotking....and there are many ways to install the package..

to solve this problem there are many ways....,BUT.....its depend upon the msg....whichone shows in terminal...
during package installation...

here is common error,
sart....

change dir....
from were u want to installl packages....than

e.g....

u want to install django

pylon@riyan:$ cd /home/pylon/Documents/pythonista/Django1.0.2-final
pylon@riyan /home/pylon/Documents/pythonista/Django1.0.2-final:$
pylon@riyan /home..../Djan....:/$sudo python setup.py install

if error is coming like this.....

"pylon is not in the sudoers file. This incident will be reported."

here pylon is user....

than write on the terminal
e.g.:-
pylon@riyan:$su

u get the root,something like this

e.g.

[root:ashish/root/home]:$


chane dir....
from were u want to installl packages....than

[root:ashish/root/home]:$cd /home/pylon/Documents/pythonista/Django1.0.2-final
[root:ashish/root/.../Django...]:$sudo python "installer_pacakage_file_name" install

screenshots of KDE(Elive) linux and GNOME(ubuntu).....

###############################################
###############################################















###############################################
###############################################


GNOME(UBUNTU)



















##############################################
##############################################

difference between KDE and GNOME....IN Linux system......

#################################################

Default Look:---


#################################################
When you look at the default setup of Gnome and KDE in Ubuntu, their differences are mainly cosmetic.

####################################################

KDE


###################################################
KDE by default (this can be changed) favors blue and black, has one toolbar at the bottom of the screen, and has one main menu.






#################################################

Gnome


#################################################
Gnome by default (this can also be changed) favors brown and orange, has two toolbars (one at the top, one at the bottom), and splits its menu into three submenus—Applications, Places, and System.





You should not select your desktop environment based on its default look. Gnome can just as easily favor blue, and KDE can be made to be orange. Both can be any color you want. Toolbars can be moved, added, deleted. The Gnome menus can be combined. New KDE menus can be added.
Both KDE and Gnome offer flexibility.




#################################################

Menu Navigation


#################################################

In KDE, there is a KMenu through which you access all programs. By default in Kubuntu (Ubuntu's implementation of KDE), there is a quick-navigation button that looks like a folder.




If you want to go to your Documents folder, you would go to the quick navigation button and then select Documents. Then you would click Open to open it.











In Gnome in Ubuntu's default layout (though you can change it to a one-button format if you'd like), you have separate buttons for applications, for folder navigation, and for system preferences.



To go to your Home Folder or Documents folder, you click on Places and then select the location you want to go to.









#################################################

Renaming Files


#################################################

In both

KDE and Gnome

, you rename a file (just as you would in Windows) with the F2 key. In older versions of KDE, the rename would focus on the entire filename, including the extension. In newer versions of KDE, the renaming process focuses on only the main filename and leaves out the extension. The renaming happens in a pop-up window, which you can confirm or cancel when you're done.






KDE also defaults to a single-click instead of double-click for opening files. So if you stick with the single-click, you'll have to hold down Control while selecting the file so that you just select the file and don't open it.







In

Gnome

, renaming a file also focuses on the main file name, but it does so inline and not with a pop-up window.
File Browser Preferences















KDE has a reputation for having confusing menus and options. I tend to think of it as just a different approach. In the file browser preferences, for example, you see three main options and then a lot of minor options in each submenu.

There are many examples.......not listed here.....

 
© 2009 Hitting codes Stealthily. All Rights Reserved | Powered by Blogger
Design by psdvibe | Bloggerized By LawnyDesigns