Archive for October, 2008

Recovering Grub Boot Loader

Sometimes we get problem after installing windows besides linux. Fresh installation of windows sets boot loading directly from MBR. So, Grub boot loader does not work. We can recover Grub boot loader very easily. To do so, we can follow the following steps.

1. Start the pc on linux rescue mode.

2. In rescue mode do chroot/mnt/sysimage.

3. Then do grub-install /dev/hda

4. Restart the pc.

Now you will find Grub boot loader.

Comments (1)

Scheduled task

We can record some schedule task at Linux. To do this we can use crontab command. We can add a scheduled task by command:

crontab -e

At the very first we should understand the basic structure of crontab command.

*           *           *            *          *          Command

1st * is the minutes of hour (0-59)

2nd * is the hour of day (0-23)

3rd star means day of month (1-31)

4th * means month of year (1-12)

5th * means day of week (0-6)


crontab -e

10     9   *     *      *      cp /etc/passwd /backup

This command will copy /etc/passwd file at /backup every day 9.10 am

crontab -e

*/10     *   *     *      *      cp /etc/passwd /backup

This command will copy /etc/passwd file at /backup after every 10 minutes.

10,30     9,17   *     *      6      cp /etc/passwd /backup

This command will copy /etc/passwd file at /backup every friday at hour between 9am and 5 pm and minute between 10min-30min

To check the scheduled list we can use

crontab -l

To remove schedule task we can use

crontab -r

Leave a Comment

Selecting default OS to boot at Debian

We can do this by changing the configuration at grub file. At red hat the grub file is /etc/grub.conf file. But at Debian it resides at different location. To change the grub configuration you have to edit /boot/grub/menu.lst file. Normally Debian OS is the default bootable OS. To change this we have find out a line

default 0

here , I changed 0 to 3, as my windows system was 4th line at the seletion menu of grub loader.

And then save and exit the file. And it worked nicely.

For very freshers, we can change the same thing at redhat at /etc/grub.conf file and you will get it done.

Any tips about grub configuration will be highly appreciated.

Leave a Comment

“Command not available…” error at Outlook 2003

Today , one of my client faced a problem. While he was clicking on the “out of office assistance” at tools option he was getting an error message telling “Command not available. See the program documentation about how to use extension“.

I have solved the problem very easily (but it took some time, as I faced it first time) on the following way.

1. Open Outllook.

2. Click Help.

3. Click About Microsoft Outlook.

4. Click on Disable Items Entry.

5. There I found “Addin: outex.dll (outex.dll)“. Click on it to highlight it and then click on the Enable Button.

6. Then Click on the Close button.

7. Then click on the OK button to close the About Microsoft Office Outlook.

That’s all. We can do this on another way.

1. Quit Outlook if it is running.
2. Press CTRL+ALT+DELETE, and then click Task Manager.
3. On the Processes tab, verify that Outlook.exe does not appear in the list of processes. If it does, click Outlook.exe and then click End Process.
4. On the File menu, click Exit Task Manager.
5. Click Start, and then click Run.
6. In the Open box, type regedit and then click OK.
7. Locate and then click the following registry key:


8. Right-click the Resiliency subkey (if it exists), and then click Rename.
9. Type Resiliency.old, and then press ENTER.
10. Quit Registry Editor.
11. Start Outlook, and then click Out of Office Assistant on the Tools menu.

That’s all. Hope to get comments from the readers.

Comments (3)

Hiding desktop properties on a domain

Yesterday I got a problem of hiding desktop on a domain. Many companies do this at their domain. We can do these using active directory group policy. To do such things we can follow the following steps on your AD server.

1. Click Start, click Run, and then type gpedit.msc.

2. Under Local Computer Policy, expand User Configuration, expand Administrative Templates, expand Desktop, and then click Active Desktop.

3. Double-click Active Desktop Wallpaper.

4. On the Setting tab, click Enabled, type the path to the desktop wallpaper that you want to use, and then click OK.
I worked like this on my domain. The server OS is Windows 2003 server.
Hope that it may come useful to you. I need your suggestion and tips regarding active directory as I am a new at windows AD.

Leave a Comment

mcshield.exe — Application error

Today I got problem mcshield.exe—-Application error at my clients pc. I have fixed the problem by removing the service mcshield. To do this I followed the following steps:

1. Click the start button.

2. Click run

3. Write msconfig and click ok.

4. Go to the services tab.

5. You will find a tick mark at mcshield option. Disable that.

6. Apply and close.

7. Restart the pc.

Comments (1)