Search Results for 'boot from iso'

Forum Forums Search Search Results for 'boot from iso'

Viewing 15 results - 1,471 through 1,485 (of 1,573 total)
  • Author
    Search Results
  • Moderator
    BobC

      So I looked at linux-Mint in isolinux, and if you look below integrity-check is a boot option

      label check
      menu label Integrity check
      kernel /casper/vmlinuz
      append boot=casper integrity-check initrd=/casper/initrd.lz quiet splash —

      I looked at lbuntu, also, and again it has integrity-check as a boot option when you say Check for Defects

      That leads me to believe its something configured or compiled into the kernel or not. Not sure how much it would add if so, or if worthwhile.

      • This reply was modified 5 years, 1 month ago by BobC.
      Moderator
      BobC

        When Linux Mint got hacked, I bet the “Integrity Check” got added, as a result.

        I would think there is also a SHA256 generator, but maybe that’s not easy to integrate into the boot iso, and I don’t know that answer, where we do know the MD5 check is already being used on other distros, so the way to make that work already exists.

        Maybe an even better objective would be to add the SHA256 check, if its doable, but I think it would have prevented my problems if I would have checked the MD5 from the booting system before trying to boot it the first time.

        Moderator
        BobC

          Given my rash of problems with bad “burns” or “read” causing errors when booting/installing, I’m asking if an “Integrity Check” or “Check for Defects” option could be added to the boot menu on the flashdrive, cd or dvd, that would run an md5sum of the media and compare it to the expected md5sum value to tell me if it burned correctly and if it is readable correctly by the system its being booted in.

          I found in all cases that my downloaded md5sum of the iso itself was correct, but that in some cases not even the system that had created it could read it correctly, and in other cases, other machines couldn’t read it correctly. Of course I spent a lot of time installing and then trying to figure out (and asking dumb questions) about weird errors, like IceWM tray missing, or Wpa_Gui won’t run, later, only to find the root cause was a bad burn or read of the image, some caused by insufficient power to the USB and others unknown.

          I noticed that Ubuntu and its children have a “Check for Defects” option, and Linux Mint has an “Integrity Check” option, which I assume is similar. I tried to investigate how to add the option, but have been unsuccessful so far, and to be honest, couldn’t figure out what determines how the AntiX boot menu comes up or what is in it, but I think it would save lots of headaches if it were available and used. I’m hoping it would be easy to add and compact enough to not worry about its size, but I guess someone that knows how it works would need to answer that.

          Thanks
          BobC

          • This topic was modified 5 years, 1 month ago by BobC.
          #8625
          Member
          zpimp

            i wanted to make a multiboot usb on linux, without any additional programs, just grub and gparted (for formatting)
            this is the only thing i still keep a windows hdd around, now im free 🙂

            grub, the bootloader on many linux distros has the ability to mount iso files and boot them
            so we need an empty flash drive with a single partition, for convenience use gparted to delete the partitions and make a single ext2 partitions
            now we’ll use the terminal

            use “lsblk” to identify the flash drive

            NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
            sda      8:0    0 149.1G  0 disk 
            ├─sda1   8:1    0  29.3G  0 part /
            └─sda3   8:3    0 119.8G  0 part /media/sda3
            sdb      8:16   1  14.8G  0 disk 
            └─sdb1   8:17   1  14.8G  0 part /media/sdb1-usb-Multiple_Card_Re

            my usb device is sdb – 14.8gb
            take note ‘sdb’ is the device, ‘sdb1’ is the partitions (very important)

            my partition is already mounted,
            but we’ll mount it on another mountpoint: /media/usb
            create the mountpoint “sudo mkdir usb”
            mount it “sudo mount /dev/sdb1 /media/usb”
            now we install the bootloader “sudo grub-install –force –removable –boot-directory=/media/usb/boot /dev/sdb”

            note we are using /dev/sdb – wich is the device

            make sure you replace sdb with your own device, it can be sdc,sde, whatever

            next we must put the grub.cfg file in ‘/media/usb/boot/grub’
            grub.cfg is attached

            now just copy your iso files to the root of your flash drive
            these are the latest versions downloaded tonight, if you get the iso files right now, they will work without modifications
            as time goes on, new versions will come out, some filenames will change, and grub.cfg must be modified accordingly

            most of the boot entries i got from the isos themselves, you can open them in mc and look for grub.cfg or something similar, and just added $isofile
            the manjaro boot entry i got from their forum

            hope this will be of use to someone, i wanted this for so long

            • This topic was modified 5 years, 1 month ago by zpimp.
            Attachments:
            #8591

            In reply to: Hello from Ottawa …

            Forum Admin
            Dave

              Going off of memory (without doing it again, as I never get it first try 😉 ) once you have made the partitions and extracted the iso to the partition you would
              Mount the partition (typically sdb[0-9]) assuming sdb2 (would need to find out with blkid or fdisk -l
              mkdir /mnt/sdb2 && mount /dev/sdb2 /mnt/sdb2
              Then see what directory the grub folder is in (/boot/grub/ I think)
              find /mnt/sdb2 |grep -i “grub”
              then install grub to the mbr of sdb
              grub-install –boot-directory=/boot/grub /dev/sdb (it might be /mnt/sdb2/boot/grub)
              then edit /mnt/sdb2/boot/grub/grub.cfg and add an entry to it like (please note sdb changes to sda as it will be the primary drive when you move it to the other computer)
              `menuentry “Live For Install” {
              set root='(hd0,msdos2)’
              linux /antiX/vmlinuz root=/dev/sda2 bdev=/dev/sda2 quiet
              initrd /antiX/initrd.gz
              }

              Edit: just noticed d.o. Has a video on frugal installs which should help

              • This reply was modified 5 years, 1 month ago by Dave.
              • This reply was modified 5 years, 1 month ago by anticapitalista. Reason: shrunk video

              Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

              #8563

              In reply to: Hello from Ottawa …

              Member
              RJLegault

                Have already been working in that direction following:

                Installation Tips (antix.mepis.org)

                gparted from target with 1G iso partition

                I also moved the vmlinux and initrd.gz files to the root of the partition.

                Turning to grub configurations — completely stumped.

                I have many times built dual boot with Grub, but never with the overlay of scripting Antix uses.

                I am not sure where to begin to add the required specification to boot from the partition.

                Any thoughts?

                Randy

                #8550

                In reply to: Hello from Ottawa …

                Forum Admin
                Dave

                  I have had the worst of luck lately trying to install off of cds / dvds. I think it is because they are so rarely used on the target machines. They seem to work fine on the one computer that the disk drive is used more regularly on. Instead (when I cannot boot usb) I remove the hdd and connect it to another computer via an usb converter. Partition it so there is the main install ext4 partition (majority of the drive) and a small ext4 partition (to be used as swap later). I then copy the iso and extract it to the small partition. After that I install grub to the mbr of the disk and point it to the small partition configured like a “live usb” or “frugal install”. After this and installing the drive back into the old computer I boot the computer and install to the main partition (without swap at the moment). After the reboot finishing the install I run gparted and format the small partition for swap and edit fstab to add the swap partition.

                  Hope this helps if you cannot get an install any other way.
                  P.S. If you plan to try other iso’s (or upgrade / reinsall) it is nice to leave the small partition for the ISO and make a separate swap partition. That way you can copy the iso to the small partition and modify grub to point to it. Saving you from most of the above procedure with removing the drive and adapting it with another computer, chrooting, and manually having to modify fstab for a swap partition.

                  Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                  #8548
                  Member
                  RJLegault

                    …Canada, not Kansas 🙂

                    Been using Linux since Kernal 1.5 and been through Redhat(pre-Canonical), Mandrake, Suse,Ubuntu Xbian, Mint and MX (best general-pupose desktop ever)before deciding to try Antix to breathe some life into my old laptop.

                    They each had pros and cons and it has been fun watching Linux become a dull-fledged desktop system.

                    The target machine is a 10 year old beast with the screen dangling from broken hinges that I still use with a similarly outdated external monitor

                    My main machine is an HP Elitebook on which I will continue to.enjoy MX Linux.

                    Thanks for se great diatro! I think the Systemd Borging of Linux is sad, and I plan to stay clear of it as long as possible – so thanks for not falling down that well.

                    Sadly my efforts to get Antix 17 up on the old beast have not been successful, so far. The bios won’t support USB boot and a burned ISO won’t boot on either of my machines

                    I tested both of them with Xubutu live with no issue, but the DVD drive hates Antix.

                    Will post diagnostics later.

                    It does boot from USB on my contempprary laptop and is brilliant for older hardware – so I am not giving up yet.

                    Thanks to the team and community

                    Randy

                    Member
                    X180A

                      IT WORKS !!!

                      They say that if you give a stupid but immortal monkey an indestructible typewriter with an unending supply of paper and allow him to type for eternity he will eventually compose the complete works of Shakespeare entirely by chance.

                      This monkey has been trying all sorts of things and I have discovered the way to make the system work as I had wanted. The problem was in the BIOS EUFI Security settings. The toad in the road was the BIOS Boot setting “Secure Boot: Enabled”. That line was grayed out and I could do nothing to change it.

                      Here is what I had to do:

                      • In BIOS I disabled both hard drives. I did that for both hard drive 0 and hard drive 1 even though I only have one hard drive installed.
                      • I plugged my portable SATA drive into a USB. I plugged my portable DVD drive into a second USB port (my laptop does not have an internal DVD).
                      • Next I booted from the DVD. My portable hard disk was the only disk visible to the system and I did a full install of antiX on that drive. I opted to put GRUB on EFI
                      • Trying to boot after install failed and an error message declared “Security Boot Fail”
                      • I rebooted again but pressed F2 to go into the BIOS. Under top menu BOOT I could see the setting “Secure Boot: Enabled” but I could not access it. It was grayed out.
                      • Still in BIOS, I re-enabled both of the internal hard drives (only one hard drive is installed). Then I rebooted and pressed F2 to immediately return to BIOS.
                      • Now under Boot Options I could see both the internal Windows disk and the external, portable antiX disk. The Windows disk was listed first so I changed it to second and made the antiX disk the first boot disk.
                      • Under “Select an UEFI file as trusted” I drilled down and entered one for the Windows disk (Hd0–;EFI–;Boot–;bootx64.efi) and typed Yes to confirm. I did the same for the antiX disk by drilling down to the GRUB EFI file.
                      • Under BIOS top menu SECURITY my Supervisor and User passwords were marked “CLEAR”. I entered a password for each of those. Apparently, unless you use passwords the BIOS will not allow you to change the “Secure Boot” option!
                      • Now, under top menu BOOT I could access the setting “Secure Boot:” and I changed it to “Disabled”

                      That was it. Now my system is doing exactly what I wanted it to do. If I do not have the portable SATA connected to a USB port then it boots directly to Windows. If I do have the portable SATA connected to a USB port it boots directly to antiX.

                      Some may ask why I would want such a setup. Well, first off I’m not quite ready to completely cut the Windows umbilical. This gives me both complete OSes. My SATA is a 1TB disk. There are some robust, dependable 1TB USB transfer drives to be had, Kingston for example, but they cost more than what I paid for the laptop when I bought it new, My 1TB SATA-III disk came out of a salvaged system, i.e. it was free. For all intents and purposes the portable antix disk is running just as fast as if it were installed internally because the limiting factor is not the USB3 connection. It’s the SATA-III max rate of 6 GB/s. This setup also gives me the option, should I finally free myself from Windows, of just replacing my laptop hard drive with the hard drive in the portable box. No additional install or modification would be needed.

                      I am still going to install an M.2 PCI 3.0 X4 SSD in the laptop as a second internal hard disk. I’ll install antiX on that and see how it works out. Perhaps I will get to triple boot system.

                      The help and suggestions are appreciated. Please bear with me, I’m still exploring the possibilities with a lot of learning along the way.

                      • This reply was modified 5 years, 1 month ago by X180A.
                      • This reply was modified 5 years, 1 month ago by X180A.
                      #8441

                      In reply to: Boot times

                      Member
                      X180A

                        I upgraded that Dell 1150 to kernel 4.15.9. Thanks for the suggestion, linuxdaddy.

                        Earlier, on the previous page, I listed the boot time for my Acer Aspire A315-21 laptop with antiX installed on a USB2 connected external 1TB SATA-II hard drive. I have just duplicated the install but this time I used a USB3 connected external 1TB SATA-III drive.

                        Recap:
                        $ inxi
                        CPU: Dual Core AMD A4-9120 RADEON R3 4 COMPUTE CORES 2C+2G (-MCP-)
                        speed/min/max: 1300/1300/2200 MHz Kernel: 4.9.87-antix.1-amd64-smp x86_64 Up: 2 min
                        Mem: 175.6/7504.4 MiB (2.3%) HDD: 1.20 TiB (SATA-II then SATA-III) Procs: 169 Shell: bash 4.4.12
                        inxi: 2.9.05

                        USB2 connected 1TB external SATA-II HD:
                        $ start-t icewm
                        38.42
                        38.60
                        38.60
                        42.49

                        USB3 connected 1TB external SATA-III HD:
                        $ start-t icewm
                        24.71
                        24.76
                        24.76
                        27.02

                        Things are running noticeably faster but I want to try speeding them up a bit more. I discovered the Acer laptop has an internal M.2 PCI bus. I have ordered an M.2 3.0 X4 SSD and I will post those boot times later for comparison.

                        Moderator
                        BobC

                          Skidoo, Thanks, that actually did help, but I still can’t suspend/resume. I had to reboot, and when I did the problem occurred again.

                          I noticed when I go to tty1 (ctrl-alt-f1) I see lots of segfault errors from icewm.

                          Different kernels do or don’t have the problem, but so far I can’t find any that can both suspend/resume and run icewm on 17.1. Next I will check the iso like I should have before installing.

                          #8331

                          In reply to: Live antiX-core

                          Member
                          andfree

                            Yes, I had thought it that, after so many bordered boxes in that post, somebody could overlook the final remark.

                            The reason I thought I had to comment the “import dbus” line was this.

                            I undid it, installed python-dbus and rebooted, but unfortunately again:

                            $ lxkeymap
                            /usr/lib/python2.7/dist-packages/lxkeymap/helpers.py:46: GtkWarning: Unknown property: GtkMenu.ubuntu-local
                              builder.add_from_file(ui_filename)
                            Sections: ['Global']
                            Layouts: ['us']
                            Variants: []
                            Options: ['grp_led:scroll', 'terminate:ctrl_alt_bksp', 'grp:alt_shift_toggle']
                            
                            ** (lxkeymap:3353): WARNING **: Failed to load '/usr/share/xml/iso-codes/iso_3166.xml': Failed to open file '/usr/share/xml/iso-codes/iso_3166.xml': No such file or directory
                            Traceback (most recent call last):
                              File "/usr/bin/lxkeymap", line 669, in <module>
                                window = LxkeymapWindow()
                              File "/usr/bin/lxkeymap", line 91, in __new__
                                new_object.finish_initializing(builder)
                              File "/usr/bin/lxkeymap", line 212, in finish_initializing
                                self.selection_layout.select_path(self.default_path)
                            AttributeError: 'LxkeymapWindow' object has no attribute 'default_path'
                            #8103
                            Forum Admin
                            rokytnji

                              Not sure how to respond to your base installer problem. Just posting to say howdy and Welcome from 90F degree day of spring today in West Texas.

                              Did you md5sum check the base install iso. Also. Before you run the installer . Post a

                              inxi -Fxzr

                              Here to supply more info on your gear and what is mounted and not mounted. When I hear the term show stopper. It makes my mind react like fingernails being dragged across a chalk board.

                              Have you checked out run with the dolphin videos in youtube, on using the f keys cheats on the initial live boot screen yet? I have not done a base install since AntiX 13. Hence why I am not sure really sure how to respond.

                              Sometimes I drive a crooked road to get my mind straight.
                              Not all who Wander are Lost.
                              I'm not outa place. I'm from outer space.

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

                              #8088

                              In reply to: Live antiX-core

                              Forum Admin
                              dolphin_oracle

                                dbus may be installed, but is it running? I suspect not.

                                if you are doing this on a liveUSB, make sure you boot without any disable= cheatcodes. in particular the “d” on the antiX-core iso disables dbus.

                                Attachments:
                                #8087
                                Member
                                andfree

                                  I used Live-usb Maker and created a live-usb of antiX-17.1_386-core.iso (32-bit). I booted into it with static persistence.

                                  I have watched dolphin_oracle’s “Setup up your Desktop Environment!” video.

                                  On this video, d_o runs as root this command:

                                  apt-get install xserver-xorg x11-xserver-utils xfonts-base x11-utils lightdm lightdm-gtk-greeter xfce4 xfce4-goodies

                                  Then he reboots into the Desktop Environment.

                                  I don’t want to install xfce4, but icewm. I don’t know which packages are needed. After updating, I tried this:

                                  apt-get install xserver-xorg x11-xserver-utils xfonts-base x11-utils slim xauth scrot icewm desktop-defaults-icewm-antix

                                  Slim gave this error:

                                  Setting up slim (1.3.6.9+nmu1) ...
                                  [....] Reloading system message bus config...
                                  Failed to open connection to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
                                  invoke-rc.d: initscript dbus, action "reload" failed

                                  No GUI after reboot. I tried:

                                  $ icewm
                                  icewm: Can't open display: <none>. X must be running and $DISPLAY set.
                                  $ startx
                                  -bash: startx: command not found

                                  I decided to try with xfce4, as d_o did. I installed lightdm (lightdm-gtk-greeter was also installed automatically) xfce4, xfce4-goodies. Lightdm gave the same error as slim:

                                  Failed to open connection to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
                                  invoke-rc.d: initscript dbus, action "reload" failed

                                  The newest version of dbus appears to be already installed. But there was not a dbus folder in /var/run. I created myself a /var/run/dbus/ folder and a /var/run/dbus/system_bus_socket file, but I suppose it doesn’t help.

                                Viewing 15 results - 1,471 through 1,485 (of 1,573 total)