Reply To: Retrieving system files from a live usb

Forum › Forums › General › Software › Retrieving system files from a live usb › Reply To: Retrieving system files from a live usb

#19739
Anonymous

    I’m looking for a way to mount my live usb (MX) in order to retrieve firefox setting files from it.

    The answer depends on how you saved the settings: root persistence, home persistence, or live remaster.
    There are three files under the antiX/ directory that may contain then settings depending on how you stored them:

    rootfs (root persistence)
    homefs (home persistence)
    linuxfs (live-remaster)

    You can use the same mount command to mount any of them and then get your settings. For example, let’s assume the live-usb is mounted at /media/live-usb. You can mount the rootfs file like this:

    sudo mkdir /mnt/root
    sudo mount /media/live-usb/antiX/rootfs /mnt/rootfs

    When you are done, you can clean up with:

    sudo umount /mnt/root
    sudo rmdir /mnt/root

    HTH

    Yep that worked, and surprisingly there’s no need to unsquash anything

    Good to know.

    Actually I’ll have to export/import my bookmarks from my live MX, otherwise I’m going to overwrite the bookmarks I have already on that other OS, but it’s good to know anyhow.

    Thank u all for sharing ur tips

    [edit]
    Oh yeah I got it, this is the rootfs not the linuxfs, so no need to unsquash it … I should have thought twice