Page 1 of 1

[Solved] Shortcuts to other partitions

Posted: Thu Jan 24, 2013 5:00 am
by ninomrki
First of all, I would like to apologize for starting another topic about this. I did see topics about it somewhere on the forum, but I can't find them any more.

The problem is simple: if I make a shortcut to a file or a folder on another partition, next time I turn my PC on, the shortcut doesn't work. I need someone to give me a simple step by step guide on how to make that work.

Keep in mind that I am married, i have a kid, I work a lot and I don't sleep much, so thinking makes my head hurt :cry: . I need a simple guide without too much explaining or options. I'll do it how ever you did it and name what ever I need the same way you named it. As long as it works, I'm happy.

Thank you!

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 5:12 am
by nomko
ninomrki wrote:First of all, I would like to apologize for starting another topic about this. I did see topics about it somewhere on the forum, but I can't find them any more.
The problem is simple: if I make a shortcut to a file or a folder on another partition, next time I turn my PC on, the shortcut doesn't work. I need someone to give me a simple step by step guide on how to make that work.
Ok, first some questions: those files/folders/partitions, are they on an internal disc or external (USB) disc? Where do you place those shortcuts? On your desktop? And how did you create them?

ninomrki wrote:Keep in mind that I am married,
Not our problem! :mrgreen: :mrgreen:
ninomrki wrote: i have a kid,
it wasn't me!!! :mrgreen: :mrgreen:
ninomrki wrote: I work a lot
Who doesn't? Everybody has got to make a living... :mrgreen: :mrgreen:
ninomrki wrote: and I don't sleep much, so thinking makes my head hurt
Here you go:
Image

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 5:27 am
by passerby
The link is most likely not working because the partition has been mounted somewhere different from last time.
If the partition is internal (on your HDD) rather than on a USB or external HDD, read on.

First, get the name of your partition. You can use either the path (eg. /dev/sdb1) or the UUID. Either one will work.
Open a terminal (Accessories > Terminal) and type in:

Code: Select all

sudo fdisk -l
When prompted, enter your root password.
This will list your available partitions. Find the one you want and note its location (eg. /dev/sdb1) and system (eg. Linux)

Now, still in the terminal, type:

Code: Select all

sudo mkdir /media/sdb1
where sdb1 matches the value found earlier.
If the directory already exists, we'll probably need to choose another one.
Assuming it doesn't exist, run:

Code: Select all

sudo mount /dev/sdb1 -t ext4 /media/sdb1
where sdb1 matches the earlier value. If it's a Windows partition, change ext4 to ntfs. If it's linux, ext4 is likely.
If it won't mount because the device is already mounted, eject it and try again.
It if works, type in:

Code: Select all

sudo gedit /etc/fstab
You may instead need to type in sudo pluma /etc/fstab if you're using MATE.
This will open up a text document that lists your automatically mounted partitions.
Add a new line to it like so:

Code: Select all

/dev/sdb1     /media/sdb1    ext4         defaults                   0    0   
but substitute in your own values. /dev/sdb1 should be the location you retrieved earlier, /media/sdb1 would be the mount point, ext4 would be the filesystem type.
The device will automatically mount to the new location, so upon reboot any links to that partition should still work.

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 5:45 am
by ninomrki
passerby wrote:First, get the name of your partition. You can use either the path (eg. /dev/sdb1) or the UUID. Either one will work.
Open a terminal (Accessories > Terminal) and type in:

Code: Select all

sudo fdisk -l
I get this:
fdisk: invalid option -- '1'
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -1 <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Also, what is UUID?

I am using MATE

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 5:55 am
by passerby
-l = dash, lowercase L. Not -1.
UUID is the ID number assigned to a specific device. It's a way to recognize a device by an assigned ID instead of its location (eg. which USB port).
The instructions still apply with MATE, but wherever you see gedit, type in pluma instead.

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:08 am
by ninomrki
passerby wrote:

Code: Select all

sudo mount /dev/sdb1 -t ext4 /media/sdb1
where sdb1 matches the earlier value. If it's a Windows partition, change ext4 to ntfs. If it's linux, ext4 is likely.
If it won't mount because the device is already mounted, eject it and try again.
How do I eject it?

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:21 am
by passerby
Open your file manager (caja) and find the device on the left pane. Click on the eject symbol, or right click and select "unmount".
There are other ways if this doesn't work for you, but this is the simplest.

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:27 am
by ninomrki
Now when I use "sudo mount" command it says "fuse: failed to access mount point: no such file or directory" and when I use "sudo mkdir" command it says "mkdir: cannot create directory: file exists". Was I supposed to start from the beginning?

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:32 am
by nomko
ninomrki wrote:Now when I use "sudo mount" command it says "fuse: failed to access mount point: no such file or directory" and when I use "sudo mkdir" command it says "mkdir: cannot create directory: file exists". Was I supposed to start from the beginning?
What if you do

Code: Select all

sudo mount -a

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:34 am
by passerby
You were, yes, but it mightn't make a difference here.
Please post the contents of your /etc/fstab file and the results of sudo fdisk -l (in code blocks, preferably)

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:44 am
by ninomrki
I went and started from the beginning. It worked this time, but now when I type "sudo gedit /etc/fstab" or "sudo pluma /etc/fstab" it says "command not found"

nomko wrote:
ninomrki wrote:Now when I use "sudo mount" command it says "fuse: failed to access mount point: no such file or directory" and when I use "sudo mkdir" command it says "mkdir: cannot create directory: file exists". Was I supposed to start from the beginning?
What if you do

Code: Select all

sudo mount -a
I forgot to answer this :oops:

It just got me to the next line

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:53 am
by passerby
Odd. I didn't pick you as the type to remove default packages :P
If that's what happened, open the terminal and type in:

Code: Select all

sudo apt-get install mate-text-editor
If it installs, you can now use the previous pluma command.
If it's already installed, my best bet is a typo in the command you entered before.

If it neither installs nor seems to be present, please copy and paste the terminal output exactly as it is. (just from "user@system:~$ sudo pluma fstab" onwards)

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 6:58 am
by ninomrki
passerby wrote:Odd. I didn't pick you as the type to remove default packages :P
I didn't remove any packages.

passerby wrote:If that's what happened, open the terminal and type in:

Code: Select all

sudo apt-get install mate-text-editor
If it installs, you can now use the previous pluma command.
If it's already installed, my best bet is a typo in the command you entered before.

If it neither installs nor seems to be present, please copy and paste the terminal output exactly as it is. (just from "user@system:~$ sudo pluma fstab" onwards)
Do I have to start from the beginning again or just continue?

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 7:02 am
by passerby
Just continue, no need to restart.
Though if you didn't remove any packages, pluma should be installed.

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 7:05 am
by ninomrki
OK, the notepad opened, but i got this in the terminal written

Code: Select all

MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)
MateConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for MateCORBA, or you have stale NFS locks due to a system crash. See http://wiki.mate-desktop.org/docs:mate-conf for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mate.MateConf was not provided by any .service files)

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 7:11 am
by passerby
Someone else may be able to shed light on that error.
If you were able to open /etc/fstab, continue where you left off in the original instructions.

Re: Shortcuts to other partitions

Posted: Thu Jan 24, 2013 7:19 am
by ninomrki
It worked. Thanks guys for your help and your patience with me. I appreciate it a lot :D