[SOLVED] Changing to Sid

Forum Forums News Sid Upgraders [SOLVED] Changing to Sid

  • This topic has 17 replies, 6 voices, and was last updated May 16-4:27 pm by maybl8.
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #142260
    Member
    maybl8

      I have downloaded latest antix .
      Installed
      Changed sources to Sid.
      Upgraded
      After reboot it flashes grub> and then goes to laptop bios setup.
      I can boot to iso and go to chroot rescue scan
      Ran update-grub but it still wouldn’t boot.
      What should I try next.
      What other info is needed?

      • This topic was modified 1 month, 4 weeks ago by maybl8.
      #142263
      Member
      RJP

        Maybe you should tell more about your system?

        inxi -Fxzpod

        sudo parted -l

        #142289
        Member
        maybl8
          $ inxi -Fxzpod
          System:
            Kernel: 5.10.199-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
              v: 12.2.0 Desktop: IceWM v: 3.4.5 Distro: antiX-23.1_x64-full Arditi del
              Popolo 21 February 2024 base: Debian GNU/Linux 12 (bookworm)
          Machine:
            Type: Convertible System: HP product: HP Spectre x360 Convertible 15-df1xxx
              v: N/A serial: <superuser required>
            Mobo: HP model: 863F v: 54.24 serial: <superuser required> UEFI: AMI
              v: F.32 date: 12/08/2023
          Battery:
            ID-1: BAT0 charge: 54.0 Wh (100.0%) condition: 54.0/54.0 Wh (100.0%)
              volts: 12.8 min: 11.6 model: HP Primary status: full
          CPU:
            Info: quad core model: Intel Core i7-10510U bits: 64 type: MT MCP
              arch: Comet/Whiskey Lake note: check rev: C cache: L1: 256 KiB L2: 1024 KiB
              L3: 8 MiB
            Speed (MHz): avg: 2600 high: 3210 min/max: 400/4900 cores: 1: 3098 2: 1942
              3: 3210 4: 3118 5: 3022 6: 3203 7: 2230 8: 977 bogomips: 36799
            Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
          Graphics:
            Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Hewlett-Packard
              driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
            Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard
              driver: N/A arch: Pascal bus-ID: 3b:00.0
            Device-3: Chicony HP Wide Vision FHD Camera driver: uvcvideo type: USB
              bus-ID: 1-5:3
            Display: server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
              unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
            API: EGL v: 1.5 drivers: iris,swrast platforms:
              active: gbm,x11,surfaceless,device inactive: wayland
            API: OpenGL v: 4.6 vendor: intel mesa v: 22.3.6 glx-v: 1.4
              direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
          Audio:
            Device-1: Intel Comet Lake PCH-LP cAVS vendor: Hewlett-Packard
              driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
            API: ALSA v: k5.10.199-antix.1-amd64-smp status: kernel-api
            Server-1: PipeWire v: 1.0.3 status: active
          Network:
            Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
              bus-ID: 00:14.3
            IF: wlan0 state: up mac: <filter>
          Drives:
            Local Storage: total: 964.2 GiB used: 11.05 GiB (1.1%)
            ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB
              size: 931.51 GiB temp: 39.9 C
            ID-2: /dev/sda model: USB DISK 3.0 size: 28.91 GiB type: USB
            ID-3: /dev/sdb vendor: Silicon Motion model: N/A size: 3.77 GiB type: USB
            Message: No optical or floppy data found.
          Partition:
            ID-1: /media/EFI-LIVE size: 8.7 MiB used: 8.7 MiB (99.8%) fs: vfat
              dev: /dev/sdb2
            ID-2: /media/EFI-SYSTEM size: 252 MiB used: 274 KiB (0.1%) fs: vfat
              dev: /dev/sda1
            ID-3: /media/rootantiX23 size: 28.04 GiB used: 11.04 GiB (39.4%) fs: ext4
              dev: /dev/sda2
          Swap:
            ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%)
              dev: /dev/nvme0n1p11
          Unmounted:
            ID-1: /dev/nvme0n1p1 size: 529 MiB fs: <superuser required>
            ID-2: /dev/nvme0n1p10 size: 1024 MiB fs: ext4
            ID-3: /dev/nvme0n1p12 size: 3 MiB fs: ufs
            ID-4: /dev/nvme0n1p2 size: 499 MiB fs: vfat
            ID-5: /dev/nvme0n1p3 size: 16 MiB fs: <superuser required>
            ID-6: /dev/nvme0n1p4 size: 218.98 GiB fs: ntfs
            ID-7: /dev/nvme0n1p5 size: 961 MiB fs: ntfs
            ID-8: /dev/nvme0n1p6 size: 90 GiB fs: ext4
            ID-9: /dev/nvme0n1p7 size: 383.57 GiB fs: ext4
            ID-10: /dev/nvme0n1p8 size: 163 GiB fs: ext4
            ID-11: /dev/nvme0n1p9 size: 57 GiB fs: ext4
            ID-12: /dev/sdb1 size: 1.74 GiB fs: iso9660
          Sensors:
            System Temperatures: cpu: 44.0 C pch: 42.0 C mobo: N/A
            Fan Speeds (rpm): N/A
          Info:
            Processes: 177 Uptime: 8h 48m Memory: total: 16 GiB note: est.
            available: 15.27 GiB used: 1.6 GiB (10.5%) Init: SysVinit runlevel: 2
            Compilers: gcc: 12.2.0 Packages: 1751 Shell: Bash v: 5.2.15 inxi: 3.3.31
          
          
          $ sudo parted -l
          [sudo] password for demo: 
          Model:  USB DISK 3.0 (scsi)
          Disk /dev/sda: 31.0GB
          Sector size (logical/physical): 512B/512B
          Partition Table: msdos
          Disk Flags: 
          Number  Start   End     Size    Type     File system  Flags
           1      1049kB  269MB   268MB   primary  fat32        esp
           2      269MB   31.0GB  30.8GB  primary  ext4         boot
          Model:   (scsi)
          Disk /dev/sdb: 4052MB
          Sector size (logical/physical): 512B/512B
          Partition Table: msdos
          Disk Flags: 
          Number  Start  End     Size    Type     File system  Flags
           2      645kB  9810kB  9165kB  primary  fat16        esp
          Model: Samsung SSD 970 EVO Plus 1TB (nvme)
          Disk /dev/nvme0n1: 1000GB
          Sector size (logical/physical): 512B/512B
          Partition Table: gpt
          Disk Flags: 
          Number  Start   End     Size    File system     Name                          Flags
           1      1049kB  556MB   555MB                   Basic data partition          hidden, diag
           2      556MB   1079MB  523MB   fat32           EFI system partition          boot, esp
           3      1080MB  1097MB  16.8MB                  Microsoft reserved partition  msftres
           4      1097MB  236GB   235GB   ntfs            Basic data partition          msftdata
           5      236GB   237GB   1008MB  ntfs                                          hidden, diag
          12      237GB   237GB   3146kB  freebsd-ufs     freebsd
           7      237GB   649GB   412GB   ext4
           9      649GB   710GB   61.2GB  ext4
          10      710GB   711GB   1074MB  ext4
           8      711GB   886GB   175GB   ext4            root
           6      886GB   983GB   96.6GB  ext4            root
          11      983GB   1000GB  17.2GB  linux-swap(v1)
          

          I have made progress.
          I was able to chroot to the drive and ran grub-install
          I can now boot but when I choose antix I get the attached image.

          • This reply was modified 2 months ago by maybl8.
          • This reply was modified 2 months ago by maybl8.
          • This reply was modified 2 months ago by maybl8.
          #142304
          Member
          RJP

            I think that you have changed boot mode from UEFI to bios, and your installation is made in UEFI mode. Check which mode is in use. You can do that via computer BIOS-settings or via live USB using command.

            [ -d /sys/firmware/efi ] && echo "UEFI mode" || echo "Legacy mode"
            
            • This reply was modified 2 months ago by RJP.
            #142308
            Member
            maybl8

              It says
              UEFI mode

              #142320
              Moderator
              caprea

                Please post output of
                inxi -r
                and
                sudo apt update && sudo apt full-upgrade

                #142329
                Member
                abc-nix

                  Ever since upgrading to testing, every time grub gets upgraded I need to use “Boot Repair” from an antiX live system to reinstall (first option) and then fix grub (second option). It is the dirty solution that works for me. I have never explored what the real solution is/should be. If you find out, please share it here.

                  #142332
                  Member
                  RJP

                    Ever since upgrading to testing, every time grub gets upgraded I need to use “Boot Repair” from an antiX live system to reinstall (first option) and then fix grub (second option). It is the dirty solution that works for me. I have never explored what the real solution is/should be. If you find out, please share it here.

                    Install some another system for controlling grub and remove grub from testing system.

                    #142355
                    Member
                    maybl8
                      
                      $ inxi -r
                      Repos:
                        Active apt repos in: /etc/apt/sources.list.d/antix.list
                          1: deb http://ftp.osuosl.org/pub/mxlinux/antix/sid sid main nosystemd nonfree
                        Active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
                          1: deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
                        Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                          1: deb http://ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
                        Active apt repos in: /etc/apt/sources.list.d/debian.list
                          1: deb http://ftp.de.debian.org/debian/ unstable main contrib non-free non-free-firmware
                          2: deb http://www.deb-multimedia.org sid main non-free
                        No active apt repos in: /etc/apt/sources.list.d/librewolf.list
                        No active apt repos in: /etc/apt/sources.list.d/liquorix.list
                      demo1@antix1:~
                      

                      It won’t let me post the result of apt update && apt upgrade

                      • This reply was modified 2 months ago by maybl8.
                      #142364
                      Member
                      maybl8

                        See attached

                        Some more information.

                        However when I go to the UEFI firmware settings and run what is called MX23.1 entry it boots just fine.
                        I took a picture of the menu entry that didn’t work and compared it to the one in the UEFI setting and they looked identical.
                        Not sure what the UEFI entry works and entry from booting to the drive doesn’t or how to make it work
                        I also tried as suggested here to run boot repair from maintenance menu but that didn’t work either.

                        • This reply was modified 2 months ago by maybl8.
                        • This reply was modified 2 months ago by maybl8.
                        Attachments:
                        #142370
                        Forum Admin
                        rokytnji
                          Reading package lists...
                          Building dependency tree...
                          Reading state information...
                          Calculating upgrade...
                          Upgrading:
                            apt                 gnupg          gpg-wks-server   libsmartcols1
                            apt-transport-https gnupg-agent    gpgconf          libuuid1
                            apt-utils           gnupg-l10n     gpgsm            libyuv0
                            bsdextrautils       gnupg-utils    gpgv             mount
                            bsdutils            gnupg2         libapt-pkg6.0t64 rfkill
                            dirmngr             gpg            libblkid1        util-linux
                            eject               gpg-agent      libfdisk1        util-linux-extra
                            fdisk               gpg-wks-client libmount1
                          Installing dependencies:
                            exim4-base   exim4-daemon-light     libgnutls-dane0t64 libunbound8
                            exim4-config libfile-fcntllock-perl libnsl2
                          Suggested packages:
                            exim4-doc-html | exim4-doc-info eximon4 spf-tools-perl swaks dns-root-data
                          Recommended packages:
                            bsd-mailx | mailx
                          Not upgrading:
                            ffmpeg             libavcodec-extra libmpv2        mpv
                            gstreamer1.0-libav libgd3           libparted-i18n parted
                          Summary:
                            Upgrading: 31, Installing: 7, Removing: 0, Not Upgrading: 8
                            Download size: 18.4 MB / 18.4 MB
                            Space needed: 6,996 kB / 16.7 GB available
                          Continue? [Y/n] 

                          Looks OK to me. 16.7 gig available seems kinda small with all the drive space you posted IMO.
                          I only have 16gig mmc drive on my chromebook. / just sits there. /home sits on a 54 gig sd card slipped
                          into the slot on the side of chromebook. I have little choice compared to your hardware specs.
                          But like I said. Looks OK to me.

                          Sometimes I drive a crooked road to get my mind straight.
                          I don't suffer from insanity. I enjoy every minute off it.
                          Motorcycle racing is rocket science.

                          Linux Registered User # 475019
                          How to Search for AntiX solutions to your problems

                          #142377
                          Member
                          stevesr0

                            I have a system which wouldn’t boot to a grub menu when antiX was the first boot option in the bios. When I changed that to an MX item (don’t know why it was there, but it was), it boots to a grub menu and starts antiX fine. I am sorry, but I don’t remember more details, but if you can set the MX23.1 entry higher than antiX in the UEFI bios boot order, that might work.

                            Doesn’t explain what went wrong tho…

                            #142383
                            Member
                            maybl8

                              I think if I can figure out why when I select it it says:

                              error: symbol ‘grub_efi_load_image’ not found

                              it would solve my problem

                              I apologize I have been trying different things like
                              reinstalling grub , updating grub,
                              I have done something that now when I select antix from grub menu I get the error
                              invalid buffer alignment
                              but it still works from the UEFI settings menu.

                              Does this info help at all:

                              
                              $ sudo efibootmgr -v
                              [sudo] password for demo1: 
                              BootCurrent: 0008
                              Timeout: 0 seconds
                              BootOrder: 0008,0006,0002,0000,0001,9999,0005
                              Boot0000* Windows Boot Manager	HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
                                    dp: 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
                                  data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 61 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
                              Boot0001* Solid State Disk	PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-58-01-40-F1-74)/HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)0000424f
                                    dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 04 1d / 01 01 06 00 00 00 / 03 17 10 00 01 00 00 00 00 25 38 58 01 40 f1 74 / 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 7f ff 04 00
                                  data: 00 00 42 4f
                              Boot0002* grub	HD(2,GPT,5758188c-330c-4b9b-a98f-e999cf7ec14e,0x109000,0xf9800)/File(\EFI\grub\grubx64.efi)
                                    dp: 04 01 2a 00 02 00 00 00 00 90 10 00 00 00 00 00 00 98 0f 00 00 00 00 00 8c 18 58 57 0c 33 9b 4b a9 8f e9 99 cf 7e c1 4e 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 67 00 72 00 75 00 62 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
                              Boot0005  Linux Boot Manager	HD(1,GPT,91b0d638-2bc0-4784-9881-4d943c5cc898,0x1000,0x3e8000)/File(\EFI\systemd\systemd-bootx64.efi)
                                    dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 80 3e 00 00 00 00 00 38 d6 b0 91 c0 2b 84 47 98 81 4d 94 3c 5c c8 98 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 5c 00 73 00 79 00 73 00 74 00 65 00 6d 00 64 00 2d 00 62 00 6f 00 6f 00 74 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
                              Boot0006* MX23.1	HD(1,MBR,0x1d8d1ffd,0x800,0x80000)/File(\EFI\MX23.1\grubx64.efi)
                                    dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 00 08 00 00 00 00 00 fd 1f 8d 1d 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 58 00 32 00 33 00 2e 00 31 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
                              Boot0008* antix-23.1	HD(1,MBR,0x1d8d1ffd,0x800,0x80000)/File(\EFI\antix-23.1\grubx64.efi)
                                    dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 00 08 00 00 00 00 00 fd 1f 8d 1d 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 04 04 3c 00 5c 00 45 00 46 00 49 00 5c 00 61 00 6e 00 74 00 69 00 78 00 2d 00 32 00 33 00 2e 00 31 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
                              Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)0000424f
                                    dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1d / 03 05 06 00 10 00 / 7f ff 04 00
                                  data: 00 00 42 4f
                              demo1@antix1:~
                              $ 
                              
                              • This reply was modified 2 months ago by maybl8.
                              #142404
                              Member
                              RJP

                                Install rEFInd. It works aways with UEFI computers, ;)

                                https://www.rodsbooks.com/refind/getting.html

                                #142447
                                Member
                                maybl8

                                  I installed refind.
                                  What I think it is doing is using the UEFI firmware menu directly.
                                  However I am still getting errors.
                                  When I first select antiX it gives me this error:

                                  Starting grubx64.efi
                                  Using load options ”
                                  Invalid loader file!
                                  Error: Not found while loading grubx64.efi

                                  If I hit enter I end up on a blank white screen.
                                  IF I hit escape errors scroll up the screen and if I hit escape again I end up with a grub menu and when I select antix it boots to it.
                                  So something is still not correct.

                                  I am wondering with all of the things I’ve tried I have some corrupted EFI entries.
                                  Is there a way without reinstalling the entire system I could rebuild the boot entries over again?
                                  I think with using the boot repair options I might have made the problem worse.
                                  Thanks

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