Archive for the ‘Uncategorized’ Category

Mounting NTFS partition on Debian (new)

November 14, 2009

Debian 5 Lenny will not automatically mount the windows ntfs partitions on your computer.
To mount a drive using command prompt:
$>sudo mount -t ntfs “drive” “mount_point”
// Here “drive” is the device in your “dev” folder. and “mount_point” is the folder to which you
are mounting the drive
eg. My vista C drive is /dev/sda2 and me created a folder named windows_c in folder “media”
$>sudo mkdir /media/windows_c
Then to mount the C drive
$>sudo mount -t ntfs /dev/sda2 /media/windows_c
To make the contents of the drive readable to all those using your system type
$>chmod a+rwx /media/windows_c

The above said content is also applicable for mounting usb’s or external hard disk formatted in ntfs file system.

By default you will not have any write permissions on your drive. To have that you need to install “ntfs-3g” and some “fuse” tools.
$>sudo apt-get install ntfs-3g disk-manager

To make your debian automatically provide your an option to mount the drive in start up add the options in your “fstab” file found in “etc” folder.
dmask=0022,fmask=0133
along with the option to mount your /dev/sda2 in your /media/windows_c
These option can be written yourself just after looking at the examples provided on the same “fstab” file.

Mount ntfs partitions on debian

June 6, 2009

install ntfs-3g using synaptic package manager from debian dvd.

open the root terminal and type
$>mkdir /media/windows/c ( here we are just making a folder named c in windows in media folder found in / to mount dev/hda1, usually c drive or the first available partition in other case).

To mount drive after the startup, open the root terminal and type
$>mount -t ntfs-3g /dev/hda1 /media/windows/c

To mount partition automatically before the startup, open the root terminal and type
$>nautilus
Now your root folder in / pops up. Go to /etc using the window. open the file fstab in etc folder and add the line
/dev/hda1 /media/windows/c defaults 0 0
Note: use tabs instead of spaces between the above blocks of words.

Good Bye

install software in ubuntu without internet

April 6, 2009

I have found a very working way to install any software in ubuntu without direct internet
in your linux box. I found this method first in the site ( link ) , now I have made some little
modifications so that you can make a structured local repository in your computer.

In your computer
$> apt-get –qq ––print-uris update | awk -F\‘ ‘{ print $2}‘ > get.lst

In windows open command prompt go to the folder containing wget.exe
type: wget -c -i get.lst -x
Now you can see a directory tree created on the folder containing both wget and get.lst
you can find Package.gz and Source.bz2 in some folders in that directory tree. copy that entire directory tree into your usb.

In your linux paste that directory tree. Open the terminal in root mode.
$>gksudo gedit /etc/apt/sources.lst
Now a gedit window will appear, it contains some lines without ‘#’ in front.
copy those lines and paste it in the same file after replacing http:// with file:///<directory>/<wher your pasted the direcoty structure>/ Now you may understand
that we have created a local repository equivalent to ubuntu web repository and added the
data in sources.lst, now save the file. Open the synaptic package manager you can find the new
package data in it. Now click vlc and click install, instead of clicking ‘Apply Changes’ click
‘File>Generate Package download script’ . Now open the file in which you have saved the
script in gedit. Replace file:///<directory>/<wher your pasted the direcoty structure>/
with http://. Now copy the file into your usb and take it to the windows.

In your windows, copy the file you have generated and edited using the synaptic and
gedit into the folder containing wget.
Open the folder in command prompt and type : wget -c -i <file_name> -x
Now you can see a direcory structure similar to earlier case but with a number of
.deb files. copy the entire directory structure into your usb.

In linux, paste the directory structure in your usb that you have just downloaded,
into the folder where you have earlier pasted the previous directory structure
using terminal
$>cp -R <directory tree in your usb> <direcoty where you stored your previous
directory tree>
Note : We used this command to merge the new directory tree with the existing one.
Open the synaptic package manager and click on the vlc and click to install.
Now click ‘Apply Changes’. Now you can see synaptic downloading the necessary
packages from the lo0cal directory and installing the vlc media player.

You can do the same procedure with any software package you found in the synapitc
package manager.

Next time I will show you an example code to do this with all the necessary lines.

Good Bye.

install multimedia codecs in opensuse without internet

April 6, 2009

Hi Friends,

I have found one who collected all the multimedia codecs for opensuse 11.0 and its dependencies for direct download. If you can’t access internet in your linux box, then try this link, if you can access another system with internet. The instructions for proper installation are also given there.

Link:

http://easgs.wordpress.com/2008/08/08/

multimedia-pack-2008-para-open-suse-11/

Hello world!

February 17, 2009

Hi Friends,

I am Arun, an engineering student doing my course in electronics and communication. Me started writing this public digital diary toay. I like to bring some exciting facts, experiences in my life, electronics ideas, programming tips before you.

I am always welcome to your responsive comments.

Thank You

by Arun.