how to clone the Linux root file system and set up boot loader

There may be several (rather efficient) ways to do this task but this is the most straight forward way to do this task:

1. Boot the system with a live CD.. i used ubuntu live CD

2. Setup partitions i) source partition ii) destination partition

note that the destination partition should be enough large to occupy the entire contents . . . → Read More: how to clone the Linux root file system and set up boot loader

Set Up Grub2 FrameBuffer

search for a section like this in /boot/grub/grub.cfg

if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640×480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don’t
# understand terminal_output
terminal gfxterm
fi
fi

insert a following line into the snippet and save the grub.cfg file

set gfxpayload=1280x800x32

here 1280×800 is my display resolution.. set the resolution which suits . . . → Read More: Set Up Grub2 FrameBuffer

How to resolve the problem of mounting an ext* partition read-only

It is possible sometimes that one of your ext partition are mounting as read only file systems.. there is a simple fix for it:

after mounting the device/partition, just issue the following command..

sudo chmod ugo+rwX /media/<mount_folder_name>

The issue is due to the user permissions on the given partition . . . → Read More: How to resolve the problem of mounting an ext* partition read-only

how to lock the display over command line on linux

On gnome use this command..

gnome-screensaver-command –lock

for other options . . . → Read More: how to lock the display over command line on linux

how to turn off the LCD display on linux

In order to save power, I often turn off my LCD monitor when I away from keyboard for long. Bare in mind, blank screen is not consider turn off the monitor, because it still uses backlight. To do that, first you need to make sure you have ACPI enabled in your kernel.

cat /proc/acpi/info

If . . . → Read More: how to turn off the LCD display on linux

Reliance Netconnect over linux while roaming

While you first connect you usb modem to the system while roaming, it may show some errors with wvdial..

some of the things you need to consider then is:
reconfigure the wvdial configuration

# wvdialconf

this will generate a new wvdial configuration:
if not mentioned add phone number, username and password in /etc/wvdial.conf

Phone: #777
Username: <Your CDMA Number>
Password: <Your CDMA Number>

now, issue
# . . . → Read More: Reliance Netconnect over linux while roaming

(Network Manager + PPP connection) sucks

I have been using ubuntu since its 8.10 release.. i usually get connected by an ethernet or wlan, i the initial days i used my GPRS mobile to get connected and that too by using wvdial…

since 1 and a half year i have been using wlan or ethernet and had no problem with network manager, but . . . → Read More: (Network Manager + PPP connection) sucks

Post Twitter Feeds From Command Line : A Python Script

I used a python module known as python-twitter which is present the ubuntu source repository.. if your destro repository do not have python-twitter module then you can directly download the source package and install it from source.. http://code.google.com/p/python-twitter/ but in near future twitter authentication will be changed to Oauth, so it would be better to download . . . → Read More: Post Twitter Updates From Command Line : A Python Script

USB modeswitch issue with Reliance Netconnect ZTE MG880+ CDMA 1x and Ubuntu Linux

Hey there,
Yesterday i purchased a brand new Reliance Netconnect connection with ZTE MG880+ CDMA 1x modem . Got a pretty good number too. I connected it to my ubuntu 10.04 machine and proceeded to System>Preferences>Network Connection ; the on mobile broadband tab i added a new connection and to my surprise . . . → Read More: USB modeswitch issue with Reliance Netconnect ZTE MG880+ CDMA 1x and Ubuntu Linux

How To Set System Clock To Local Time On Ubuntu

While installing windows and Linux onto your system there can be problem with your system clock settings…

Windows sets the system time to local time where as Linux set the system time to UTC and it itself work on time zones.. this create a different times in both the operating systems.. this can have several consequences (SSL . . . → Read More: How To Set System Clock To Local Time On Ubuntu