mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2009-03-06, 14:07   #1
axn
 
axn's Avatar
 
Jun 2003

505210 Posts
Question Moving assignments from XP to Ubuntu (dual boot)

So I have installed Ubuntu on my Win XP laptop in dual boot. I want to migrate my assignments to the new setup so that I can continue them. What is the easiest/least painful way to achieve that?
axn is offline   Reply With Quote
Old 2009-03-06, 14:32   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by axn View Post
So I have installed Ubuntu on my Win XP laptop in dual boot. I want to migrate my assignments to the new setup so that I can continue them. What is the easiest/least painful way to achieve that?
If you put the mprime executable in the same folder as the Prime95 data, then you can use either mprime or Prime95 and it will pick up where the other left off.
Mini-Geek is offline   Reply With Quote
Old 2009-03-06, 19:29   #3
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

...and to have this common folder easily seen from both systems:
1. In ubuntu, have it in the /host/ folder
2. In WinXP, it is going to be something like E:\ or C:\ (wherever you installed ubuntu) ...
Batalov is offline   Reply With Quote
Old 2009-03-06, 21:16   #4
pegaso56
 
pegaso56's Avatar
 
Oct 2006
Rosario, Argentina

2516 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
If you put the mprime executable in the same folder as the Prime95 data, then you can use either mprime or Prime95 and it will pick up where the other left off.
Hi,well, yes, and you can put something like mprime in the inittab and you can run it as a process each time your computer is on
Regards, Carlos
pegaso56 is offline   Reply With Quote
Old 2009-03-07, 04:09   #5
axn
 
axn's Avatar
 
Jun 2003

22×3×421 Posts
Default

Quote:
Originally Posted by Batalov View Post
...and to have this common folder easily seen from both systems:
1. In ubuntu, have it in the /host/ folder
2. In WinXP, it is going to be something like E:\ or C:\ (wherever you installed ubuntu) ...
Hmmm... There is no /host folder in there. I let the installer do the partitioning (before that the entire hard drive was one giant big partition). So I can see Ubuntu folders from Windows.

Right now I've just moved all the files from the Windows folder to ~/p95 and running mprime from there. Seems to be working.
axn is offline   Reply With Quote
Old 2009-03-07, 04:52   #6
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

141518 Posts
Default

One major thing to keep in mind when running two operating systems on the mprime/Prime95 (or any other similar application) from the same folder is to make sure that they're both on a partition that has a filesystem-type that both OSes can read and write to. For example, just about all Linuxes can read/write FAT32 (and Ubuntu has been able to do the same for NTFS at least since version 7.10), but Windows cannot even read EXT3, ReiserFS, or any other of the common Linux filesystems without third-party utilities added on to it. Thus, it's usually wisest to store all dual-OS applications such as Prime95/mprime on the Windows partition, since both OSes can read and write to it.

The only thing that would potentially cause issues with this is if you have NTFS file protection turned on in Windows, in which case it *might* not be accessible by Linux (though don't quote me on that one). If you have such problems, then probably the easiest solution is to move your Prime95/mprime folder into a subdirectory of the All Users folder (or Public if you're on Vista).
mdettweiler is offline   Reply With Quote
Old 2009-03-08, 04:23   #7
xorbe
 
xorbe's Avatar
 
Feb 2009

73 Posts
Default

I have to add a FAT32 partition, and try this next weekend when I reinstall.

There is "fsdriver" for WinXP that will read/write ext2 (ext3 is ext2 with journal).

(Just as an aside, ext4 is ext3 "+ other stuff", so ext2 driver can't touch native ext4 generally, ie unless extents option is disabled...)

Last fiddled with by xorbe on 2009-03-08 at 04:25
xorbe is offline   Reply With Quote
Old 2009-05-21, 22:14   #8
imwithid
 
imwithid's Avatar
 
Apr 2009
Venice, Chased by Jaws

10101112 Posts
Default

Quote:
Originally Posted by pegaso56 View Post
Hi,well, yes, and you can put something like mprime in the inittab and you can run it as a process each time your computer is on
Regards, Carlos
I'm still very much an Ubuntu noob. What is "inittab" and how would this work. Currently, every time I log in, I have to mount the drive (in this case, my primary partition for Win XP x64), cd "folder" and then run ./mprime -m. It would be much easier if this could all be automated.

Greatly appreciated,
Dan
imwithid is offline   Reply With Quote
Old 2009-05-21, 23:15   #9
lfm
 
lfm's Avatar
 
Jul 2006
Calgary

52×17 Posts
Default

Quote:
Originally Posted by axn View Post
Right now I've just moved all the files from the Windows folder to ~/p95 and running mprime from there. Seems to be working.
Yes, that is probably the easiest so long as you don't move back and forth to Microsoft a lot.
lfm is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting Work over Dual Boot justinstevens42 Information & Answers 3 2018-02-07 12:51
Dual boot? bsquared Linux 3 2013-10-11 21:38
Windows 7 / Ubuntu dual boot system? Andi47 Linux 35 2012-05-28 11:05
Dual Boot - Same Assignments kladner Software 19 2011-07-15 02:12
prime95 on a dual boot system hmeyer Software 1 2003-01-14 22:30

All times are UTC. The time now is 07:46.


Sat Jul 17 07:46:20 UTC 2021 up 50 days, 5:33, 1 user, load averages: 1.16, 1.18, 1.28

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.