I cant’ set persistence

Forum Forums New users New Users and General Questions I cant’ set persistence

  • This topic has 26 replies, 5 voices, and was last updated Jun 28-12:18 pm by olsztyn.
Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #38045
    Member
    inkspace

      anitX 19.2, pendrive, fat32 install use unetbootin.
      From menu I setup homefs, configure 1automatic

      add tampermonkey extension to firefox, download some files

      shutdown, start, not works, I havent tampermonkey and download files 🙁

      #38046
      Member
      PPC
        Helpful
        Up
        0
        ::

        Hi! You seem to missing the part of the process, you have to tell antiX to use the persistence files you created: from antiX’s boot menu you have to press F5 and select the kind of persistence you want antiX to run with and then, if you want to make that selection “stick” (always be used every time you boot antiX live) press F8 and select to save changes.

        Please take a look at the FAQ’s: https://download.tuxfamily.org/antix/docs-antiX-19/FAQ/persistence.html and also https://download.tuxfamily.org/antix/docs-antiX-19/Boot_Menu/antiX-gfxboot.html#save

        P.

        #38049
        Member
        inkspace
          Helpful
          Up
          0
          ::

          It is old FAQ?
          F5 not works

          #38050
          Member
          PPC
            Helpful
            Up
            0
            ::

            Hum, you probably are booting a relatively recent computer that uses UEFI to manage boot. In that case the F keys menu is not used. You’ll probably see, in the antiX boot menu something like “advanced settings”? try clicking there are look for something in the menu that refers to Persistence (and then saving changes).

            EDIT:
            Check out this instructions:
            https://antixlinux.com/forum-archive/solved-want-to-boot-antix-15-v_x64-full-iso-in-uef-t5709.html

            P.

            • This reply was modified 2 years, 10 months ago by PPC.
            #38052
            Member
            inkspace
              Helpful
              Up
              0
              ::

              It’s hp 8470p
              boot menu antix:
              antix….. full
              antix…. customize boot
              advanced options for …. full:
              —anitx …. failsafe
              —antix …. full create bootchart
              —anitx … full (1024×768)
              —poweroff
              —reboot
              —help
              memory test
              bootrescure menus

              • This reply was modified 2 years, 10 months ago by inkspace.
              #38054
              Member
              Xecure
                Helpful
                Up
                0
                ::

                UNetbootin (Universal Netboot Installer) is a cross-platform utility that can create live USB systems and can load a variety of system utilities or install various Linux distributions and other operating systems without a CD.

                Using something that is not antiX/MX live USB maker will probably not work.
                Anyway, when you boot from USB, do you see A(Legacy boot) or B(UEFI boot). See below:

                A. LEGACY

                B. UEFI

                For case A is very easy.

                For Case B: If you are in UEFI boot, you should have gone through a cascading text menu options. In one of them (the sixth entry) you should have selected persist_home

                Next time you boot, do you see a “(Custom)” option? Don’t select that one and select the (text menus) option and start all over.
                The other alternative is editing your /live/boot-dev/boot/grub/grub.cfg and changing the CUSTOM entry and add the persist_home parameter.

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #38058
                Member
                inkspace
                  Helpful
                  Up
                  0
                  ::

                  Xecure I see in case B nothing (because in this option image snow – I’m guessing that the cursor is flashing and waiting for something, but I can’t do anything because I don’t know what to choose)

                  https://i.imgur.com/HDxdJOj.jpg

                  #38066
                  Member
                  Xecure
                    Helpful
                    Up
                    0
                    ::

                    When using UNetbootin to choose what linux to load, can you choose it to load in grub/syslinux mode?

                    antiX Live system enthusiast.
                    General Live Boot Parameters for antiX.

                    #38071
                    Member
                    inkspace
                      Helpful
                      Up
                      0
                      ::

                      I don’t see grub/syslinux option.
                      In command line too
                      https://github.com/unetbootin/unetbootin/wiki/commands

                      Or maybe something like that?
                      Install or download what I need (tampermonky, some bash scripts, mp3) and install it on a second flash drive as a normal installation?

                      • This reply was modified 2 years, 10 months ago by inkspace.
                      #38075
                      Member
                      Xecure
                        Helpful
                        Up
                        0
                        ::

                        From: https://github.com/unetbootin/unetbootin/wiki/howitworks

                        USB Drive install mode

                        For the Live USB creation mode, UNetbootin generates an appropriate syslinux config file in /syslinux.cfg, and makes your USB drive bootable using syslinux. On Linux, if extlinux is installed and the target USB drive is ext2 or ext3, extlinux is used instead; the config file is installed in /extlinux.conf. The partition to which it has been installed is also marked as active.

                        This is probably interfearing with antiX boot.

                        We may be able to do something without having to install to another USB.
                        Could you check what you see in /live/boot-dev/boot/grub/grub.cfg in antiX live? If you can, paste it here with the code tags option, so it is better readable. Or add it as an attachment.

                        antiX Live system enthusiast.
                        General Live Boot Parameters for antiX.

                        #38077
                        Member
                        inkspace
                          Helpful
                          Up
                          0
                          ::
                          #------------------------------------------------------------------
                          # file: /boot/grub/grub.cfg for the Live version of antiX
                          #
                          # This file can get updated automatically on a LiveUSB via the save
                          # feature in the text menus.  It is possible to break these updates
                          # by editing this file.
                          #------------------------------------------------------------------
                          
                          # search --no-floppy --set=root --fs-uuid %UUID%
                          set timeout=60
                          set gfxmode=1024x768
                          #set gfxpayload="3200x1800;2560x1440;2160x1440;1920x1080;1600x1200;1600x1050;1600x900;1440x900;1366x768;1280x1024;1280x800;1280x720;1024x768;auto"
                          set gfxpayload="2048x2048;2048x1280;2048x1080;1920x1080;1600x900;1600x1200;1600x1050;1500x1000;1440x960;1440x900;1368x912;1366x768;1280x800;1280x720;1280x1024;1200x800;1024x768;auto"
                          set default=1
                          
                          # load defaults
                          #
                          if [ -s $prefix/config/defaults.cfg ]; then
                          source $prefix/config/defaults.cfg
                          fi
                          
                          menuentry " antiX-19.2 x64-full (27 March 2020)" {
                          linux /antiX/vmlinuz quiet splasht disable=lxF
                          initrd /antiX/initrd.gz
                          }
                          
                          #--custom  menuentry " Custom" {
                          #--custom  linux /antiX/vmlinuz quiet
                          #--custom  initrd /antiX/initrd.gz
                          #--custom  }
                          
                          menuentry " antiX-19.2 x64-full Customize Boot (text menus)" {
                          linux /antiX/vmlinuz quiet splasht disable=lxF menus
                          initrd /antiX/initrd.gz
                          }
                          
                          submenu ">>> Advanced Options for antiX-19.2 x64-full <<<" {
                          
                          menu_color_normal=white/black
                          menu_color_highlight=yellow/light-gray
                          
                          menuentry " antiX-19.2 x64-full Failsafe" {
                          linux /antiX/vmlinuz quiet splasht disable=lxF failsafe
                          initrd /antiX/initrd.gz
                          }
                          
                          menuentry "antiX-19.2 x64-full Create Bootchart" {
                          linux /antiX/vmlinuz quiet splasht disable=lxF bootchart initcall_debug printk.time=y
                          initrd /antiX/initrd.gz
                          }
                          
                          menuentry " antiX-19.2 x64-full (1024x768)" {
                          linux /antiX/vmlinuz quiet splasht disable=lxF
                          initrd /antiX/initrd.gz
                          }
                          
                          menuentry " Power Off" --hotkey=P {
                          halt
                          }
                          
                          menuentry " Reboot"  --hotkey=R {
                          reboot
                          }
                          
                          if [ -f /boot/grub/theme/help.txt ]; then
                          menuentry " Help" --hotkey=H {
                          cat /boot/grub/theme/help.txt
                          echo -n "Press <Enter> to continue "
                          read xxx_help
                          }
                          fi
                          }
                          
                          # load boot menus
                          #
                          if [  -f  $prefix/config/bootmenu.cfg ]; then
                          source $prefix/config/bootmenu.cfg
                          fi
                          #38079
                          Member
                          Xecure
                            Helpful
                            Up
                            0
                            ::

                            First try: The “easy” way.
                            When booting again from USB, select the second option (the one that says “antiX-19.2 x64-full Customize Boot (text menus)”), but DONT hit enter. Hit the “e” key.
                            then you will see something similar to:

                            We will be editing the third line, that right now should say something like:
                            linux /antiX/vmlinuz quiet splasht disable=lxF menus

                            Navigate using the arrow keys of the keyboard. Delete the splasht option. The previous line should now look like this:
                            linux /antiX/vmlinuz quiet disable=lxF menus

                            Now hit F10 key in your keyboard and see if you can now see the different text options and select them.
                            If this way works, then forget aboyt the very complicated method below. If it doesn’t, reboot and try as follows.

                            Method 2. Manual selection (The hard way)
                            In the boot menu, when selecting first boot option (the one that says “antiX-19.2 x64-full (27 March 2020)”), before hitting enter, hit the e key.
                            then you will see something similar to:

                            We will be editing the third line, that right now should say something like:
                            linux /antiX/vmlinuz quiet splasht disable=lxF

                            We will add to the end of that line the correct boot options manually. (Also delete the splasht option just in case)
                            First we will decide the options. I will guide you with an example, then if you need some changes you can ask and we will change them until we are satisfied.

                            1. Language. If you are going to set it up in english, you can skip this option. If you want another language, like french, then you will add this parameter:
                            lang=fr

                            2. Keyboard layout. Better change it inside the system. As an example, for greek keyboard:
                            kbd=gr

                            2.Timezone. You can set it up here or later choose it in the system. I would not set anything here and prefere to change it in the system. As an example, seting it up for London(UK) would be:
                            tz=Europe/London

                            3. Mounting option. If you want the antiX system to automount all drives when they are connected to the computer, enable automount. If not, choose noautomount
                            automount

                            4. Persistence mode. You will decide what persistence mode you want. For only saving home changes, the option is persist_home. If you want to also save root changes, you will need persist_all. All options are explained in the FAQ. For now, we will choose only to save home
                            persist_home

                            5. Saving some files across reboots (like files in /etc/, wifi setup, some configuration files, etc.)
                            savestate

                            6. Saving all selected options so that they are included as the custom boot parameters. This is the most important option. If I am not mistaken, this boot parameter is
                            gfxsave

                            EXTRA: I would also delete some parameters and hope this could fix some of the options when they pop up.

                            Now that you knwo what options you want, it is time to add them at the end of the third line mentioned above. For this example, it would look like:
                            linux /antiX/vmlinuz quiet disable=lxF lang=fr kbd=gr tz=Europe/London automount persist_home savestate gfxsave
                            A crazy amount of options.
                            Once done, hit the F10 key of your keyboard to boot with your desired parameters.

                            Let me know how it goes.

                            antiX Live system enthusiast.
                            General Live Boot Parameters for antiX.

                            #38093
                            Member
                            inkspace
                              Helpful
                              Up
                              0
                              ::

                              method 1 (result image snow)
                              method 2 boot antix.
                              What now?

                              #38097
                              Member
                              Xecure
                                Helpful
                                Up
                                0
                                ::

                                Now home persistence should work, but you are right that this is not enough.
                                I thought gfxsave worked, but it doesnt.

                                No problem. All you hard work in method 2 can be used properly.

                                Boot into live system with the first option, as you have done before.

                                Edit as root the file /live/boot-dev/boot/grub/grub.cfg with your prefered text editor.
                                example:
                                sudo geany /live/boot-dev/boot/grub/grub.cfg

                                Now edit the lines that say:

                                #--custom  menuentry " Custom" {
                                #--custom  linux /antiX/vmlinuz quiet
                                #--custom  initrd /antiX/initrd.gz
                                #--custom  }

                                to a custom menu entry with the tittle you want and the boot parameters you chose during the method 2. Example:

                                menuentry " Custom antiX with home persistence" {
                                linux /antiX/vmlinuz quiet disable=lxF lang=fr kbd=gr tz=Europe/London automount persist_home savestate
                                initrd /antiX/initrd.gz
                                }

                                Save and reboot. Now you will always be able to enter home persistence.

                                Test it out and let us know how it goes.

                                • This reply was modified 2 years, 10 months ago by Xecure. Reason: formating

                                antiX Live system enthusiast.
                                General Live Boot Parameters for antiX.

                                #38100
                                Member
                                inkspace
                                  Helpful
                                  Up
                                  0
                                  ::

                                  yes! works!
                                  for example create directory (save)

                                  I set kbd and lang en
                                  I saw during that some error concern “en” (probably)

                                Viewing 15 posts - 1 through 15 (of 27 total)
                                • You must be logged in to reply to this topic.