4

I have a dual-boot PC, one has windows and one has Linux. They both have minecraft, and I've like them to share the same savegame/server data.

Is this possible, and if so how do I set it up?

0

2 Answers 2

9

You can use pendrive to hold savedata, you can use Dropbox, or make a symlink to the windows partition on Linux.

For example:

ln -s /mnt/windows/Users/Pureferret/.minecraft/saves ~/.minecraft/saves

5
  • The symlink sounds like what I want. Can I do likewise but in reverse (windows<-linux)? I don't want to face backup issues when connecting to a pendrive or Dropbox. Commented Jan 21, 2012 at 12:39
  • 1
    Not really, because you can easily access Windows from Linux, because of the drivers built-in kernel. For accessing Linux from Windows, you need special software, and can't really do it easily, and no hope for symlinks either. You just need to make sure your Windows partition is always mounted in same place, like /mnt/windows, because Ubuntu and other distributions like to make folders named as drive's GUID, like /media/U34JAN2-SMK2SJ stuff.
    – lauriys
    Commented Jan 21, 2012 at 12:40
  • @Maxorq: Starting with Vista, Windows support symbolic links exactly like Linux - you still need a driver to mount the file system, but other than that, you can indeed do it in reverse. Commented Jan 21, 2012 at 18:28
  • @MichaelMadsen Windows 2k also had something like symlinks, of course, I didn't say that there are no symbolic links in Windows, but the problem is with drivers. Linux have drivers out-of-box, and for Windows you need to find them by yourself :(
    – lauriys
    Commented Jan 21, 2012 at 21:26
  • this is what I use and it's effective, but: I had two or three times corrupted games files, not sure if it's because of NTFS, or hibernation or anything else.
    – BiAiB
    Commented Jan 24, 2012 at 16:02
1

I know a method with the new launcher which works both ways.

  1. Boot into LINUX and start minecraft.
  2. Edit the profiles to point to the windows hard drive (Ex: from ~/.minecraft/saves to C:/Users/Username/Appdata/Roaming/.minecraft/saves) 3.Save the profile
  3. ...
  4. Profit.

Just a little note: If you use the grub bootloader and you leave windows hibernating, then boot linux you cannot play your saves. I don't know why you would do that, but i just happened to forget windows was on and boot Ubuntu this morning. I had trouble making the windows path from earlier because Ubuntu refused to see the windows partition.

1
  • Will not work: C: means nothing to Linux
    – Envite
    Commented Apr 9, 2014 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.