Ask Your Question
0

How can I extract my notebooks from an old hard drive?

asked 8 years ago

peter gravatar image

I recently had to switch from Ubuntu to Windows 7. Doing so, unfortunately I crashed my Linux installation. Is there any way I can extract SageMath notebooks from my home folder? I copied the ~/.sage directory but can't make sense of the folder structure. The goal would be to run my old notebooks in a SageAppliance.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 8 years ago

peter gravatar image

Found it: The html files hidden in multiple levels of subfolders are actually importable in sage. Still don't know about SageAppliance.

Preview: (hide)
link

Comments

That's true. But I don't understand why you got those errors while just copying - maybe need right permissions?

kcrisman gravatar imagekcrisman ( 8 years ago )
0

answered 8 years ago

Eugene gravatar image

Just copy ~/.sage directory to your new virtual machine and run Sage.

Preview: (hide)
link

Comments

To which folder in SageAppliance?

I also tried installing Lubuntu+SageMath to a VirtualBox instead of using the precompiled SageApplicance machine. But here too, just copying .sage to its home folder doesn't do the trick. I can start the SageMath server but the browser window returns '500: internal server error'. In the terminal I get 'OSError: [Errno 39] Directory not empty'. It seems Sage stores extra data somewhere else...

peter gravatar imagepeter ( 8 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 8 years ago

Seen: 382 times

Last updated: Oct 17 '16