Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
iorulezz, Shouldn't the sda drive be found under/mnt? As I understand it, the swith to using /dev/media took place under Mandriva 2008, the version that I am using. ************************************************** ************************** ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Nov 2006
    Posts
    35

    iorulezz,
    Shouldn't the sda drive be found under/mnt?

    As I understand it, the swith to using /dev/media took place under Mandriva 2008, the version that I am using.
    ************************************************** **************************
    This is the advice that I gor from Sergio (Mandriva Expert):

    Open a terminal as root and insert the command:
    tail -f /var/log/syslog

    Then put the USB HardDrive and the terminal will give you some infos about
    the new device such as device name
    Then try mounting manually the new device with:

    mount /dev/GIVEN_DEVICE_NAME /media
    ************************************************** ********************
    I am no expert on Linux commands and have only just solved my external drive mounting problem Remeber his advice was for Mandriva 2008 which uses the /media folder. My media folder contains the /cdrom, /floppy and /hd folders. In my case /hd IS the external drive.
    It all seems rather messy to me.

    Sorry that I can't help anymore,

    Tony

  2. #12
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by Tony Littlejohn
    iorulezz,
    Shouldn't the sda drive be found under/mnt?

    As I understand it, the swith to using /dev/media took place under Mandriva 2008, the version that I am using.
    ************************************************** **************************
    This is the advice that I gor from Sergio (Mandriva Expert):

    Open a terminal as root and insert the command:
    tail -f /var/log/syslog

    Then put the USB HardDrive and the terminal will give you some infos about
    the new device such as device name
    Then try mounting manually the new device with:

    mount /dev/GIVEN_DEVICE_NAME /media
    ************************************************** ********************
    I am no expert on Linux commands and have only just solved my external drive mounting problem Remeber his advice was for Mandriva 2008 which uses the /media folder. My media folder contains the /cdrom, /floppy and /hd folders. In my case /hd IS the external drive.
    It all seems rather messy to me.

    Sorry that I can't help anymore,

    Tony
    /media is default mount location in most of distros but one can mount any partition/disk anywhere. System follows instructions listed in /etc/fstab file to mount partitions and you can specify any location in /etc/fstab.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #13
    Just Joined!
    Join Date
    Nov 2006
    Posts
    35
    I wasn't aware of that devils-casper. However, It doesn't seem to solve iorulezz's problem. As i said in an earlier post, it was only after installing Gnome that I managed to get access to the external drive. It seemed weird at the time and still does so. Once I knew where the drive could be accessed, I switched back to KDE.

    All of which is probably of no help to iorulezz.

    Tony

  4. #14
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Check post #10. I think that will sort out iorulezz's problem.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #15
    Just Joined! iorulezz's Avatar
    Join Date
    Dec 2007
    Location
    UK, 70s
    Posts
    4
    Devils Casper post did not solve my problem.

    I know from the beginning that my drive is found at /dev/sda1.
    I can mount from the console. But I want it to auto mount when I connect it to my pc.

    The odd thing is that when i used Gnome it did automount. Now under KDE i still have that problem. It used to auto mount my drive but some day I did something which I cant remember and from that day it stopped working.

    Thanks for your advices but my problem is still here and I am getting pretty confused .

    Any other ideas? REMEMBER everything's working with my drive, but it doesn't auto mount when it is plugged in!

    EDIT:

    After some research no result. Maybe the problem is that HAL daemon isn't working properly with KDE. Maybe not...
    I also found out that when the system boot it tries to mount the cdrom and the sda1. Of course when its not connected it says FAILED. Still it doesnt auto mount when connected when I'm in the KDE.

    /etc/fstab:
    Code:
    /dev/hda7 / ext3 defaults 1 1
    /dev/hda9 /home ext3 defaults 1 2
    /dev/sda1 /media/removable vfat umask=0,defaults 0 0
    /dev/hdb /mnt/cdrom auto umask=0,users,iocharset=utf8,ro,exec 0 0
    none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0
    /dev/hda1 /mnt/win_c vfat umask=0,iocharset=utf8 0 0
    /dev/hda5 /mnt/win_d vfat umask=0,iocharset=utf8 0 0
    /dev/hda6 /mnt/win_e vfat umask=0,iocharset=utf8 0 0
    none /proc proc defaults 0 0
    /dev/hda8 swap swap defaults 0 0

  6. #16
    Just Joined!
    Join Date
    Nov 2006
    Posts
    35
    iorulezz,
    If I were you, I think that I'd reinstall. When I did so using Gnome WITH THE DRIVE PLUGGED IN AND ON, it was detected and appeared as /media/hd.

    After finding it under Gnome, I reinstalled with the KDE desktop - my preferred one. After that, with a few tweaks to the fstab file all seems to be well. Perhaps the same could be for you.

    You could spend weeks trying to locate a minor change, a reinstall would take less time.Print off a copy of your current /etc/fstab and /etc/mtab files so you can compare them with the versions after a reinstall.

    Tony

  7. #17
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of sudo fdisk -l and df -h commands here.
    Code:
    sudo fdisk -l
    df -h
    Did you install SeLinux recently? Post the contents of its config file too.
    Code:
    cat /etc/selinux/config
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #18
    Just Joined! iorulezz's Avatar
    Join Date
    Dec 2007
    Location
    UK, 70s
    Posts
    4
    No i haven't installed SELINUX at all.

    fdisk -l gives: (with sda1 connected but not mounted)

    Code:
    Disk /dev/hda: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1         127     1020096    c  W95 FAT32 (LBA)
    /dev/hda2             128        9964    79015702+   f  W95 Ext'd (LBA)
    /dev/hda5             128         382     2048256    b  W95 FAT32
    /dev/hda6             383        7011    53247411    b  W95 FAT32
    /dev/hda7            7012        8030     8185086   83  Linux
    /dev/hda8            8031        8510     3855568+  82  Linux swap / Solaris
    /dev/hda9            8511        9964    11679223+  83  Linux
    
    Disk /dev/hdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1               1       10312    82831108+  83  Linux
    
    Disk /dev/sda: 80.0 GB, 80026230784 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        9730    78156209    b  W95 FAT32
    and df -h gives (with the drive mounted):

    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda7             7,7G  5,7G  1,7G  78% /
    /dev/hda9              11G   11G  498M  96% /home
    /dev/hda1             995M  501M  494M  51% /mnt/win_c
    /dev/hda5             2,0G  1,5G  525M  74% /mnt/win_d
    /dev/hda6              51G   50G  1,6G  97% /mnt/win_e
    /dev/sda1              75G   13G   62G  18% /media/removable

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •