mounted folders showing on desktop

Discussion in 'Software' started by GaryG, Dec 23, 2006.

  1. GaryG

    GaryG Private First Class

    I am runnning Fedora FC6; most everything is working, including the mounting of sata drives at boot time.
    BUT
    There are no icons on the desktop representing the mounted files

    If there is a cd in the cdrom drive when the system is booted, the cdrom drive shows up on the desktop;
    How do I make the same thing happen with the partitions on my sata drive?? (they do all mount sucesfully at boot time)

    Any help would be appreciated

    Gary
     
  2. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    HDD's normally are mounted as part of the file system; unless they are external drives then they are mounted separately. I'm assuming that your SATA drive is mounted as /dev/hde and greater.

    Check the file system and see how much free space you have.
     
  3. GaryG

    GaryG Private First Class

    the sata drive is an internal drive; the motherboard supports sata and the drive shows up during boot as ide-3. Linux knows the partitions on the drive as sda1,sda5,sda6,sda7; and there is plenty of free space on then. sda5 is a vfat partition, the other three are ntfs. I have ntfs support installed in fc6 (ntfs-g3 and the plain vanilla ntfs kernel mod).
    There are entries in fstab for the partitions and the do mount ok at linux startup time
    here is my fstab
     
  4. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    You have the following installed correct?

    From http://rpm.livna.org/fedora/6
    The one that matches your kerenel:
    kmod-ntfs-2.1.27-2.2.6.18_1.2849.fc6.i586.rpm
    kmod-ntfs-2.1.27-2.2.6.18_1.2849.fc6.i686.rpm
    kmod-ntfs-2.1.27-2.2.6.18_1.2868.fc6.i586.rpm
    kmod-ntfs-2.1.27-2.2.6.18_1.2868.fc6.i686.rpm

    ntfs-kmod-common-2.1.27-2.lvn6.noarch.rpm

    From http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386
    fuse-2.6.0-2.fc6.i386.rpm
    fuse-libs-2.6.0-2.fc6.i386.rpm
    ntfs-3g-0-0.5.20070920.fc6.i386.rpm

    Try this for /etc/fstab

    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0
    #
    /dev/sda1 /media/sata1 ntfs-3g rw,defaults,umask=0000 0 0
    /dev/sda5 /media/sata2 vfat rw,defaults,umask=0000 0 0
    /dev/sda6 /media/sata3 ntfs-3g rrw,defaults,umask=0000 0 0
    /dev/sda7 /media/sata4 ntfs-3g rw,defaults,umask=0000 0 0
     
  5. GaryG

    GaryG Private First Class

    Hello Shadow_Puter_Dude
    Yes, I have all of the items you listed installed. It looks like the only changes suggested were to substitute "defaults" for the other options I had listed. Tried it and that did not do the trick.

    Then I modified the fstab by adding an entry for a network drive on my windows box and it DID show up on the desktop. The only difference is that the network drive uses "cifs" as a file type.
     
  6. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    Hm, that's interesting.

    I didn't see anyting in the Fedora Tutorial that, even remotely, talked about adding a networked drive to the fstab.

    Everything woeking now I take it.
     
  7. GaryG

    GaryG Private First Class

    not everything. The only way I could get the sata partitions to show on the desktop was to define symbolic links to them; but thats just a crutch; I believe they should show up on the desktop when they are mounted, the same way the cd drive does when a cd is loaded.(mounted)

    Gary
     
  8. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    You may be right, I'm not sure what the solution is at this point.

    Obviously the drives aren't mounted as part of the file system, but as separate storage devices; and if they are being mounted as separate storage devices then an icon should appear on the desktop when they are mounted. The same way my external FAT32 USB 80Gb HDD mounts when I connect it.

    Since the VFAT partition isn't displaying when it mounts, as well as the NTFS partitions; leads me to believe that it's an issue with SATA and how they mount.

    I'm going to have to research this a little more.
     
  9. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    Actually haivng thought about it for a bit, creating a link may be the correct approach. My external devices all have links.
     
  10. GaryG

    GaryG Private First Class

    The only trouble with links is they are there all of the time -- not just when the drive is mounted.

    Hhhhhhhmmmmm - would it be that I'm mounting partitions, not the drive? Gotta try that and see

    CANNOT mount the device it's got partition on it
     
  11. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

    Open a Terminal, su to root issue the following commands:
    mkdir -p /mnt/sata1
    mkdir -p /mnt/sata2
    mkdir -p /mnt/sata3
    mkdir -p /mnt/sata4

    exit
    exit


    You may also need to add a modprobe command to etc/init.d/bootmisc.sh
    example: modprobe 3w-xxxx

    Do you know what the driver is for your SATA controller?
     
  12. GaryG

    GaryG Private First Class

    The mkdir commands, don/t do the trick.
    No, I dont; Did not have to install any; also the sata ports are on the motherboard.
    The following entry in the fstab causes a mount to take place and places an icon on the desktop, the icon goes away when the file is unmounted:
    These entries do not
    Did some google searches and found a 10-pound bag of stuff to read about mounting devices; there is a bunch of files involved, hal kudzu and a lot of other things I dont recall right now. A bunch of stuff to read - most of which I do not understand
     
  13. Shadow_Puter_Dude

    Shadow_Puter_Dude MG Authorized Malware Fighter

  14. GaryG

    GaryG Private First Class

    SPD, wish it were that simple.
    One of the first things I did was set selinux to 'permissive' Thankyou for taking the time to try and help!

    Gary
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds