Archive for March 24, 2009


People sometimes have to do a reinstall of their Ubuntu system for various reasons (been playing/experimenting with configuration/drivers/other packages or just because something is badly broken) but remembering all the extra packages you have installed can be a chore – but here is the simple solution:
On your old system (assuming it is still working), start up Synaptic and go:

File-Save Markings and choose a file name along with a location (like a USB drive) that you can use when you have installed your new system)

This file contains a list of all your currently installed packages, and when you have installed and booted up your new system (and configured your repositories to the best for your location ) then start up Synaptic and go

File-Read Markings and point it at your saved file, and after that has completed then select Apply to kick off the download & installation of all of those packages you had installed previously!

There are also apt-get command line functions that achieve the same outcome, so those who don’t have/use Synaptic can still do this.

You will still have to do any special configuration changes that you had on the old system, but at least all of the packages are now in the new system.

This is also very handy for moving to new hardware/duplicating setups etc.

Be aware that doing this between different Ubuntu versions may cause complications because some packages may not be in a later version or have different names.

Note:- Don’t forget to backup your sources before you reinstall.

sudo cp /etc/apt/sources.list ~/sources.list.backup

Otherwise if you have added any PPAs or other sources, this tip won’t work.

1) Turn on your computer, and as soon as you the Press Esc to enter grub message, press the escape key.

2) Select the option that says (recovery mode).

3) Your PC will boot into a shell. Once you get a command prompt, type “passwd username” where the username is your username. If you can’t remember your username, then you can type “ls /home” which should bring it up.

4) Enter a new password when prompted, and again when prompted again Type “shutdown -r now” to reboot your system,

Problem

I’ve just tried installing Ubuntu but when it restert for the first time, GRUB returns an Error 21. I know this means that it can’t find the grub.conf file, but I don’t know how to fix this. I used Windows XP’s Recovery Console to get back into XP, but I can’t access the GRUB files.

Solution
1. Boot your computer up with Ubuntu CD

2. Open a terminal window or switch to a tty.

3. Go SuperUser (that is, type “sudo -s”). Enter root passwords as necessary.

4. Type “grub”

5. Type “find /boot/grub/stage1″. You’ll get a response like “(hd0,1)”.

Use whatever your computer spits out for the following lines.

6. Type “root (hd0,1)”, or whatever your hard disk + boot partition numbers are for Ubuntu.

7. Type “setup (hd0)”, to install GRUB to MBR, or “setup (hd0,1)” or whatever your hard disk + partition nr is, to install GRUB to a partition.

8. Quit grub by typing “quit”.

9. Reboot and remove the bootable CD.

Note:- In the above procedure hd0,1 is an example it might be different in your case.

This is a must for anyone using Ubuntu

Good tool to help you setup backup schedules also help install codecs needed for your system automatic.

House Cleaning help to delete Unnecessary  file from Computer

Sync selected folders

http://quickstart.phpbb.net/viewtopic.php?f=8&t=11

Every now and again, I’ll find myself with some files sitting around in my trash that I can’t delete.  This can be particularily problematic when I’ve got several gigs worth of stale ISOs sitting there giving me an error like

Error removing file: Permission denied

I like computers but I’m not a big fan of when they talk back.  So here’s a quick and easy way to go into your system and nuke those files.

First, open up a terminal session (Applications-> Accessoris ->Terminal)

Now, type this:

cd /home/YOUR-USER-NAME/.local/share/Trash/files

Typing ‘ls’ at this point should reveal to you the folders and files you’re trying to delete.  Now on to the nuking.  If it’s just a few files, this will do:

sudo rm -f *

If it’s files, folders and files within folders, try this:

sudo rm -Rf *

No more stuck stuff in your trash.