Here are the steps-->
1. In case of a boot failure. Reboot into any Linux cd and try to update grub boot loader.
- First of all boot into windows and clean unnecessary files from all partitions. You can use any disk cleanup utility.
- Then run disk checking software (chkdsk /p /r) on each partition and reboot twice to make sure the disk is error free.
- BACKUP YOUR DATA.
- Download GPARTED live cd from here and burn it on a disk.
- Now shutdown your system and attach your new hard-disk. Remove any unnecessary media form your system (e.g. pen drive).
- Boot into gparted live cd. Please wait while it detects all your disks and partitions.
- Now select the windows partition from your old harddisk and click copy button.
- Select your new hard-disk. Select Device-->Set Disklabel. Click create.
- Now paste your copied partition to the new hard-disk.
- Make it bootable. (Right click --> Manage Flags --> Boot)
- You can also increase the size of your new partion.
- Create an extended partion.
- Repeat Steps 7 and 9 for other partitions.
- Detach old hard-disk. (Don't reboot without detaching your old hard-disk. It can cause big problems.)
- Reboot
1. In case of a boot failure. Reboot into any Linux cd and try to update grub boot loader.
- sudo grub
- find /boot/grub/stage1
- root (hdx,y) [here x,y denotes your hard-disk and partion number]
- setup (hd0)
- quit
Do you want to decorate your desktop but don't want to use compiz (or your system don't support it). With latest Gnome you can achieve this without affecting your system's performance. You don’t even need accelerated graphics to run Metacity with compositing. It even works well inside VirtualBox! If your computer can’t run Compiz, give this a try. Here are the steps...
1) Run Gnome configuration editor ( gconf-editor )
2) Navigate to Apps-->metacity-->general
3) Check the compositing_manager box, and Metacity will immediately restart with compositing!
4) Now you can install Screenlets, AWN etc. to decorate your desktop.
Htop - Htop is an ncursed-based process viewer similar to top, but it allows to scroll the list vertically and horizontally to see all processes and their full command lines. Tasks related to processes (killing, renicing) can be done without entering their PIDs.
Twitux - Twitter client for Linux.
GWget - wget GUI frontend.
CHM Viewer - .chm file viewer for Linux.
VMware - Advanced virtualization software
Wine - Run Windows apps in Linux.
StarDict - One of the best dictionary software.
Terminator - Multiple terminal windows or tabs at once.
Mozilla Prism - Cross-platform application that lets you integrate web applications with your desktop.
Twitux - Twitter client for Linux.
GWget - wget GUI frontend.
CHM Viewer - .chm file viewer for Linux.
VMware - Advanced virtualization software
Wine - Run Windows apps in Linux.
StarDict - One of the best dictionary software.
Terminator - Multiple terminal windows or tabs at once.
Mozilla Prism - Cross-platform application that lets you integrate web applications with your desktop.
If you are interested in Linux and want to do a certification then you can opt for LPI Linux Certification. Here is a website where you can download a Live DVD with various materials related to LPI Linux Certification. But there is a problem. The website is in German!
Some more LPI resources from IBM.
Some more LPI resources from IBM.
Ubuntu post-installation packages
- CHM Viewer
- StarDict
- FireStarter
- GWget
- Abiword
- Gnumeric
- Anjuta
- VLC Media Player
- VMware Server
- Opera
- Unrar
- tracker-stats (for tracker statistics)
How to use "history"
- history (to list the available history items)
- !n (run the nth command)
- ctrl + r (then type the command initials)
- history -c (clear history)
- sudo /etc/init.d/gdm stop (optional)(in case of blank screen, else not required)
- sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
- sudo dpkg-reconfigure xserver-xorg
- CTRL+ALT+BACKSPACE or sudo /etc/init.d/gdm start
- killall trackerd
- trackerd -v 2 -R
- lvdisplay
- lvremove /dev/vgname/lvname
- lvcreate -l 100%FREE -n lvname vgname
- lvresize -L +/-32m /dev/vgname/lvname
- --> resize2fs -p /dev/vgname/lvname (first e2fsck -f /dev/vgname/lvname)
- pvdisplay
- lvm
- -->vgdisplay
- mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/partition1 /dev/partition2
- mkfs.ext3 /dev/md0
- vi /etc/fstab
- add this line --> /dev/md0 /share ext3 defaults 1 2
- gconftool-2 --recursive-unset /apps/compiz
Disclaimer
Welcome to my blog. As you have already noticed, I am using this blog as my diary. Not all the views, tips & tricks presented here are of my own. Many of them are collected from various places of the web. If any person or organization have any problem with any post or piece of post, please feel free to report it to me. I will delete it from my blog. Happy reading.