Posted by: isaraffee | August 25, 2009

Exploring Mandrivia Spring 2009 – Mounting External Harddisk

Firstly plug in the external harddisk using the USB cable. Mandrivia will then indicate that the external device was detected. Mandrivia will  then prompt you that an external device was plugged in and you may choose dolphin, the file manager to access the files

 

If you decided to use command line to access the files in the external harddisk, these are the steps.

 

When you plugged in the external harddisk, Mandrivia will not mount it for you. To use the device, you will have to mount it yourself.

 

Firstly check the storage devices that Mandrivia has detected. Type:

 

[root@localhost ~]# fdisk -l

 

Disk /dev/sda: 20.0 GB, 20020396032 bytes

255 heads, 63 sectors/track, 2434 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0xe190e190

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1        1270    10201243+  83  Linux

/dev/sda2            1271        2434     9349830    5  Extended

/dev/sda5            1271        1409     1116486   82  Linux swap / Solaris

/dev/sda6            1410        2434     8233281   83  Linux

 

Disk /dev/sdb: 320.0 GB, 320072933376 bytes

255 heads, 63 sectors/track, 38913 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x5b509284

 

   Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1       38913   312568641    7  HPFS/NTFS

 

Look at the last entry which reads /dev/sdb1 (yours might be different than mine, but it’s ok). This is the external harddisk that was plugged in. To mount the device, type:

 

 

[root@localhost ~]# cd /media/

[root@localhost media]# mkdir hitachi

[root@localhost media]# mount /dev/sdb1 /media/hitachi/

 

After you have mounted it, you can then access the files in the external harddisk

 

[root@localhost hitachi]# cd /media/hitachi/

 

[root@localhost hitachi]# mplayer Fast\ And\ Furious.avi

 

Installing mplayer

 

To check if mplayer is installed, type:

 

[root@localhost ~]# which mplayer

which: no mplayer in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)

 

This shows that mplayer in not installed. Installing mplayer is easy. Simply click on the Install and Remove Software and it will lauch the Software Manger window. Type mplayer in the  find field. Select the mplayer program and follow the wizard to complete the installation. In my case the the installation process requested for the Mandrivia Installation DVD disk.

 

After the installation has completed, type:

 

[root@localhost ~]# which mplayer

/usr/bin/mplayer

 

This shows that mplayer was installed. Try playing some music files (e.g. Mp3) or video files.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: