Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have accessed my crashed Ubuntu version via live usb trial. Where am supposed to find my former Firefox bookmarks and history files in order to copy and transfer them into a new installation?

share|improve this question
add comment

2 Answers 2

The easiest thing to do would be copying the Firefox profile folder over

~/.mozilla/firefox/xxxxxxxx.default

http://kb.mozillazine.org/Profile_folder_-_Firefox#Linux

The bookmarks are actually stored in bookmarks.html if you just want that.

share|improve this answer
    
~/.mozilla/firefox/xxxxxxxx.default should I insert this into terminal? –  Andy Nov 17 '12 at 19:53
    
@Andy the xxxxxxxx is a random string generated, you need to take a look at yours and take it from there;-) –  Terry Wang Nov 17 '12 at 23:25
    
I found the hidden folder mozilla on the previous version but I cannot access its contents due to the password protection in the previuos version. could you recommend any method of opening such a folder from the trial ubuntu on live USB or from a newly installed system? –  Andy Nov 18 '12 at 9:38
    
@Andy Can you explain "password protection"? Do you mean the bookmarks or the profile folder (or filesystem it resides)? If you know the password you set, try to run firefox -p /mount_point/home/user/.mozilla/xxxxxxxx.default and see if you can input the password and export the bookmarks. –  Terry Wang Nov 18 '12 at 12:03
    
thank you a lot I managed to restore my broken boot and access the system :) –  Andy Nov 18 '12 at 15:19
add comment

If you have never used the firefox option Bookmarks->Show All Bookmarks-> Import and Backup -> Export Bookmarks to HTML, then you will never see a file, bookmarks.html. In such a case, you can probably copy over the history files stored in ~/.mozilla/firefox/xxxxxxxx.default/bookmarkbackups/ where xxxxxxxx.default is a FF assigned directory. And then, don't forget to export the bookmarks to wherever you want them. It will be stored at /bookmarks.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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