Hello, on my linux partition I have Kubuntu 22.04.4 installed but it is corrupted because the buggy upgrader failed to install some stuff, went into recovery mode (to end the install) but then my PC froze and now I can’t boot into the partition. So I am writing this from my windows 11 partition. I have a linux disk reader and I’m able to find all the .default folders that firefox uses but the places.sqlite file in all of them doesn’t contain any bookmarks. Here’s an image of the folders: https://gyazo.com/d55affaa73b3134c82615fcb10f4b760
I looked in the “bookmarkbackups” folder and that’s empty too. I looked in ~/snap/firefox/common/.mozilla/firefox but there are no .default folders in there, just two folders with a short number that are empty and one folder named “current” that is empty. I need to find some bookmarks that are important to me. Does anyone know where I can find my bookmarks?
Look for “places.sqlite”
Mine shows:
/home/<user>/.mozilla/firefox/aee21ks9.default-release/places.sqlite
I mentioned in my post that they are empty. Does yours show bookmarks?
Are you sure there is nothing in the fsf6lo4u.default
folder ?
Hello ogra, here is a screenshot of the inside of that folder: https://gyazo.com/af06b56708d4e93dd06f35fd0f385310.png
Ctrl+Shift+O will open the bookmarks library. You can export them to an HTML file to move them to another Firefox. Use “Import and Backup”
Did you not read my post? My linux partition is corrupted.
In that case, they are stored in a database file named places.sqlite. You can’t open this directly. See screenshot.
omy96, that’s the wrong folder. backup one and choose the other named similar to “aee21ks9.default-release”
Dennis, I know it can’t be opened directly. I opened it with the DB browser for .sqlite files. There are no bookmarks in it.
VMC, I’ve checked all of them named similarly. None of them have bookmarks in them.
Does anyone know where else they could be stored?
If you have firefox snap: /Home/snap/firefox/common/.mozilla/firefox/…/bookmarkbackups
If you use firefox also on windows or other systems create a mozilla account and you have the bookmarks saved and available from other systems: https://www.mozilla.org/en-US/account/
To prevent such loss in the future you can use the snap builtin backup feature …
snap save firefox
will take a local backup, to see all snap backups you can use snap saved
and to restore just use snap restore <ID>
(with the ID that was listed in the “saved” output) … there are a few more commands to manage snapshots explained in snap help
…
(I know some people that set up cron jobs to regularly back up their application data that way)
Possibly, this Windows utility is not the perfect tool to use.
Generally Windows tools for Windows and Linux tools for Linux (Ubuntu)
Nevertheless, try this approach to see if your original .mozilla folder is healthy.
Create bootable USB with Ubuntu (24.04)
Boot into “Try Ubuntu” live session
Open Files (nautilus) > Show Hidden Files enabled
Open Firefox > Bookmarks > Manage Bookmarks > Import and Backup > Restore > Choose file
Navigate to Installed user directory .mozilla folder > firefox > xyz.default.release >bookmarkbackups > latest file (probably top entry) > Select > This will replace current bookmarks etc > Close library
Your bookmarks should now be available in this live session
Bookmarks > Manage bookmarks > Import and Backup > Save bookmarks-2025-01-18.json
Edit: For Firefox snap package, a different path is required during a live session.
user/snap/firefox/common/.mozilla/firefox/xyz.default/bookmarkbackups
Thank you, corradoventu. I found the bookmarks I was looking for. Since firefox switched to snap, the directory for the bookmarks is different. Thanks.