Results 1 to 6 of 6

Thread: How to put shortcuts of other drive folders?

  1. #1
    Join Date
    Feb 2009
    Location
    Ongole,Andhra Pradesh,Ind
    Beans
    78
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question How to put shortcuts of other drive folders?

    Hi, I want to know how to put a shortcut link of a folder, which is in other drive to Home drive/Desktop. For example, I have 4 partitions one has a Windows,other has Kubuntu, other two was used for Storing my personal data.
    Generally, My music folder is in F: drive, if I made a shortcut of this folder to dektop/ Home folder, after a restart of Ubuntu the shortcut link is not working.!!!
    DELL Latitude D530,2GB RAM, 120+320 GB HDD,INTEL Core2 Duo 2.0 GHz
    Ubuntu Lucid Lynx + Windows7, 2Mbps Broadband connection.
    http://www.stuffadda.com

  2. #2
    Join Date
    Aug 2008
    Beans
    108
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: How to put shortcuts of other drive folders?

    That is because your other partitions are not mounted automatically after a reboot. You need to edit /etc/fstab so that your partitions are always mounted when your computer starts, that way they'll always be there. See this wiki page: https://help.ubuntu.com/community/Fstab, or this thread: http://ubuntuforums.org/showthread.php?t=283131

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to put shortcuts of other drive folders?

    Some info on mounting a data partition:

    http://blog.linuxtoday.com/blog/2009...ess-linux.html

    I set mine up like poster Morgan Hall, then my data partition does not automatically show in nautilus, but just as links.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Feb 2009
    Location
    Ongole,Andhra Pradesh,Ind
    Beans
    78
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: How to put shortcuts of other drive folders?

    Quote Originally Posted by WindPower View Post
    That is because your other partitions are not mounted automatically after a reboot. You need to edit /etc/fstab so that your partitions are always mounted when your computer starts, that way they'll always be there. See this wiki page: https://help.ubuntu.com/community/Fstab, or this thread: http://ubuntuforums.org/showthread.php?t=283131
    I seen the link u gave, but I am a Newbie, I cant understand that.
    PLZ give the commands in order so that I will run In Terminal, so that I run them In order.
    Anyone Plz solve this!
    Thanks!!!
    DELL Latitude D530,2GB RAM, 120+320 GB HDD,INTEL Core2 Duo 2.0 GHz
    Ubuntu Lucid Lynx + Windows7, 2Mbps Broadband connection.
    http://www.stuffadda.com

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to put shortcuts of other drive folders?

    I saved my history but did not do everything in order. My data partition has all the folders from /home so I delete the empty folders in /home and from home run the ln command. Of course you will have to change fred to your login name.

    I mounted data here so I do not see a mount in nautilus. (only thru the links)
    21 sudo mkdir /usr/local/fred
    22 sudo mkdir /usr/local/fred/data
    edited fstab and added the mount next command remounts fstab and displays any errors if any
    23 sudo mount -a
    64 sudo chown fred:fred /usr/local/fred/data
    72 sudo chown fred:fred /usr/local/fred
    47 sudo chmod 766 /usr/local/fred/data

    From home I linked the folders in data.
    92 ln -s /usr/local/fred/data/Music
    93 ln -s /usr/local/fred/data/Documents
    94 ln -s /usr/local/fred/data/Pictures
    etc for every folder

    My entry in fstab:
    # Entry for /dev/sdc6 :
    UUID=a55e6335-616f-4b10-9923-e963559f2b05 /usr/local/fred/data ext3 auto,users,rw,relatime 0 2
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Dec 2009
    Beans
    5,976

    Re: How to put shortcuts of other drive folders?

    Step 1: Get a list of your partitions

    Open Terminal
    Type sudo blkid -c /dev/null

    You will get an output that looks like this:
    /dev/sda1: UUID="DA9056C19056A3B3" LABEL="WinD" TYPE="ntfs"
    /dev/sda6: LABEL="COMMON" UUID="C4DB-C1B0" TYPE="vfat"
    /dev/sdb2: LABEL="Data" UUID="e92eaf02-ff61-4db0-9397-35f1aadb98e8" TYPE="ext3"
    Step 2: Create a home ( mount point ) for your partition to live in:

    Open Terminal
    Type sudo mkdir /media/FDrive

    NOTE: The mount point can be anywhere. If it's in your /home or /media folders it will show up under "Places". If it's directly off "/" or /mnt it will not.

    Step 3: Create an entry in fstab that will automatically mount that partition at startup. Use the following examples as templates depending on how the partition was formatted:
    /dev/sda1 /media/FDrive ntfs defaults,nls=utf8,umask=007,gid=46 0 0
    /dev/sda6 /media/FDrive vfat utf8,umask=007,gid=46 0 2
    /dev/sdb2 /media/FDrive ext3 relatime 0 2
    The first two will mount an ntfs or FAT32 partition with owner = root and with permissions for all local users ( gid=46) to read and write.

    The last one will mount a linux formatted partition with owner = root and with read / write permissions to root only so that will have to be adjusted after mounting. For example:

    Open Terminal
    Type sudo chown -R karumudi /media/FDrive
    This will change ownership from root to you.

    There are a great number of different options you can use with these fstab entries depending on your particular needs. Some are only applicable to specific filesystems, but for the most part this is a good starting point. In fact the templates you see in step 3 are what happens when you allow Ubuntu to set up these non-system partitions when choosing the manual partitioning option during an install.
    When you are done with editing fstab, save it and in a Terminal type: sudo mount -a
    This will mount the new entries in fstab and tell you if there are any errors.

    Now create the shortcut, however one does that in KDE, and see if you can access the Music directory.

Bookmarks

Posting Permissions

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