How to enter in a HDD

Discussion in 'Linux, BSD and Other OS's' started by Karanislove, Sep 19, 2006.

  1. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    Yup!~Its me again! I have installed Ubuntu on my system again yesterday. After completing installation, I installed VLC player so that I can play my mp3 files on it but I wasnt able to enter into any of my drives exept the main one. Computer has assigned them as hd1, hd2....hd5. Everytime I try to enter, it says that you dont have permission. I was logged in as an admin. Then after fiddeling around a bit, I entered into Disk Management thing(cant remember the correct name). From there I opened my drive and then copy and paste the link (/boot/hd1/songs) into my player then it worked. But still I cant look into it directly. Also my player VLC clashed so many times while playing songs. It has stopped responding, I dont know why???

    One more question, I've got 5.1 C Media, sound card. Linux has installed the audio drivers automatically, which is great. But I dont know from where I can set the speaker settings to 4channel as I just have 4 speaker system not 5.1.
     
  2. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    can you mount those partitions? I'm not sure I understand the problem.

    How are you attempting to access your drives?
     
  3. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    Click on System and from there any of the drive..! Does that make sense??
     
  4. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Can you mount the partitions? You can read this if you don't understand what I mean. Also, what file system does that partition use?
     
  5. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    So you are trying to access your NTFS partitions in ubuntu? Are you using Breezy or Dapper?

    Can you copy and paste the contents of the fstab? Just type:

    Code:
    gedit /etc/fstab
     
  6. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    Thanks for the replies guys

    Why do I need to when its on the desktop??

    Yes

    I will do when I reach at home. Btw, what is this??
     
  7. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    The FSTAB contains information about the partitions on your computer and where they are mounted.
     
  8. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    fstab is the "File Structure Table" file, in plain text under the /etc (Editable Text Files) directory. It contains info on all mount points (partitions etc..) Here is a good guide on fstab.

    Here is a guide from the ubuntu documentation about mount points. Is that the method you were using?
     
  9. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    So true... I used this option

    Make partitions available from Ubuntu

    Windows and other partitions should be automatically available from any Ubuntu system. If they are not, you can enable them using the graphical disks tool.

    Open System->Administration->Disks

    Select the correct hard disk, and click the Partitions tab.

    Select the relevant partition, and click Enable.

    To unmount the partition, click Disable.
    =====================================
    It was enable already and there was an option for opening drive, which helped me in viewing and accessing my contents. I dont have any experience with the Linux at the moment but still I will try for the second method "Make partitions automatically available" which is in your link. Thanks!
     
  10. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    Suddenly one more question appeared in my mind....... The way I know about linux is that if we wants to move or copy something from one place to another then we need to use command...like cp or mv. I usually move audio files from my computer to my mobile. Which means that I have to use this command to copy any song I want.....?? Some songs have very big names and also If I wants to move 2-3 files at a time, how can I do that??
     
  11. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    You don't have to do it at the command line! Why not use the graphical file manager?
     
  12. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    or you could type the firt few character of the name and then replace the other charactors with an asterix (*)

    e.g. replace
    Code:
    cd /mydir
    cp mysong.mp3 /mnt/mobile
    with
    Code:
    cd /mydir
    cp myso*.mp3 /mnt/mobile
    but be aware that this command will copy all files named myso<any chareters>.mp3

    i think this will work, please correct me if i'm wrong guys
     
  13. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda2 /media/hda2 ntfs defaults 0 0
    /dev/hda3 /media/hda3 ntfs defaults 0 0
    /dev/hdb1 /media/hdb1 ntfs defaults 0 0
    /dev/hdb5 /media/hdb5 ntfs defaults 0 0
    /dev/hda4 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
     
  14. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    fstab looks good. Which partition is having issues? (/dev/hd___)

    If you can't mount from the desktop (by clicking on the drive icon) then try this command in a terminal as root:
    Code:
    mount -a
    That will mount everything in the fstab (skipping media that is missing like cdrom). If there are any problems, it will read out errors. You can post them here for analysis. If no errors, then you should be able to access the partition you need.

    You can try this: enter the run command, alt-F2 then type:
    This will access all mounted drives in konqueror.
     
  15. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    All the drives are mounted on the desktop..........I mean they are all appearing as hd1, hd2...hd5 but I cant access either of them. I was trying your previous link but I dont know for some reason that wasnt working either. Last time when I installed the Ubuntu, I had no problem while accessing anything. But I dont know, whats going on this time. Either I've installed it wrongly or something..

    Sounds interesting! which program is this and where...? Does it means that I can copy, paste, delete and move any file from one place to other??
     
  16. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Did you get any errors when doing "mount -a"? What happens when you click on the hard drive links on the desktop?

    Konqueror is a decent graphical file manager.
     
  17. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    I will do this when I will reach at home.....

    I recieve an error message, which says that I dont have permissions to check this folder....

    Can I install it by just typing command... "gedit install Konquerer" ??
     
  18. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    hd1....hd5
    No Errors

    Doesnt work...I am getting the following error -
    "Cannot display location 'media:/'
    Details: There is no default action associated with this location."

    I can only able to access these drives through system > admin > disks method....
    Sorry If I m bit annoying coz I m noob.. I know very little about ubuntu.


    Edit: Error which I m getting when I click on the drive....
    "You do not have the permissions necessary to view the contents of "hdb5"."
     
  19. sabashuali

    sabashuali Ani Ma'amin

    Likes Received:
    6
    Trophy Points:
    38
    Hey Karan

    If you look in the fstab you will see that ntfs is mounted with 'defaults' which means that you, as a humble user, do not have access to the partition(s).

    I found the following How-To very handy and I noticed no one mentioned it.
    Amongst other gems it shows you how to edit fstab to allow normal users to mount windows partitions and read/write to/from them:

    Ubuntu dapper -

    This is a bit different to the one I used originaly but contains exactly the same tips. The part you are after is down near the bottom under 'Windows'

    If you are really lazy -
    Ubuntu dapper -
     
  20. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    I m getting this error while running the sudo apt-get install libfuse2 fuse-utils command
     

Share This Page