• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ubuntu Live Boot Booting to Disk Install Not Live CD

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    20
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      foggystarz @Sebastian Roth
      last edited by

      @Sebastian-Roth said in Ubuntu Live Boot Booting to Disk Install Not Live CD:

      @foggystarz said in Ubuntu Live Boot Booting to Disk Install Not Live CD:

      boots straight to Desktop mode

      You meant install mode I suppose?!

      Yep install mode

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @george1421 Have you been able to boot into live mode with Ubuntu yet? I don’t find the time to play with it these days.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        george1421G F 2 Replies Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @Sebastian Roth
          last edited by Sebastian Roth

          @Sebastian-Roth @foggystarz I guess we need to clarify what is live mode. Is this the installer mode, because it should do that right away, or is this netbooting ubuntu to give the same appearance as if the the system was running from local disk storage?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          F 1 Reply Last reply Reply Quote 0
          • F
            foggystarz @Sebastian Roth
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • F
              foggystarz @george1421
              last edited by foggystarz

              @george1421 live mode being the live CD options the ubuntu installer gives you when for instance you burn to CD or mount on a USB and boot it. so basically running it in RAM. Through fog currently that menu where you can ‘try ubuntu’ is not available, I guess some boot param makes it skip straight to ‘install to disk’ mode.

              As far as I understand it, netboot is running an OS over the network but the storage isn’t local but the OS is still technically installed somewhere else so not related to to this unless I’ve got that wrong?

              You say it should boot to installer mode right away, if this is expected how do we pass an argument to enable the menu where you can ‘try ubuntu’?

              I don’t know a lot about this stuff so I’m just using this as a practical end-user and I’ve followed the guides to get this up and running, unfortunately, troubleshooting this albeit small issue is well out of my area of understanding, I don’t know how any of this works under the top layer so I can’t help much but I think other people will run in to the same thing as I have as I’ve not done anything bespoke (I wouldn’t know how to :)). I can however load more VM’s/run some tests/arguments if any more ideas, let me know.

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @foggystarz
                last edited by

                @foggystarz said in Ubuntu Live Boot Booting to Disk Install Not Live CD:

                You say it should boot to installer mode right away, if this is expected how do we pass an argument to enable the menu where you can ‘try ubuntu’?

                Ok since I don’t know (like) ubuntu, if you had the CDROM in front of you, how would you get into the try-ubuntu mode? Is it a grub boot menu selection (option) before the OS boots?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @george1421 said in Ubuntu Live Boot Booting to Disk Install Not Live CD:

                  if you had the CDROM in front of you, how would you get into the try-ubuntu mode? Is it a grub boot menu selection (option) before the OS boots?

                  Yes, it’s a boot menu selection. See picture of it here: https://ubuntucommunity.s3.dualstack.us-east-2.amazonaws.com/original/2X/5/5be2cc3620044ff4f6b1f88279accee82efff83d.png

                  This is what you see when booting the Desktop ISO on a VM or burned to a CD/DVD or USB key.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @foggystarz I’ve just had a quick look at the bootloader in the Ubuntu 20.04 Desktop ISO file and found the following in isolinux/txt.cfg file:

                    label live
                      menu label ^Try Ubuntu without installing
                      kernel /casper/vmlinuz
                      append  file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash ---
                    ...
                    

                    The preseed file does not yield much helpful stuff I reckon. So I am wondering what kernel (files linux / vmlinuz) and initrd (files initrd.gz / initrd) you used?!

                    The other thing I just noticed is that you don’t use the initrd= kernel parameter. I am not sure what exactly it does but I remember that we had to add this parameter to our FOG boot loading at some stage (kernel version new than X or since UEFI came up??) to make it work properly.

                    And third, you might want to remove the kernel parameters quiet splash to see more information on screen any maybe spot something that might lead us to understand what’s on.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    george1421G F 2 Replies Last reply Reply Quote 1
                    • george1421G
                      george1421 Moderator @Sebastian Roth
                      last edited by

                      @Sebastian-Roth said in Ubuntu Live Boot Booting to Disk Install Not Live CD:

                      label live
                      menu label ^Try Ubuntu without installing
                      kernel /casper/vmlinuz
                      append file=/cdrom/preseed/ubuntu.seed initrd=/casper/initrd quiet splash —
                      …

                      You may have hit on the problem/solution. Per the tutorial the kernel and initrd comes from a download and not the ISO image. The try-ubuntu option may only be accessible using those files. I probably would start with the casper/initrd file.

                      wget http://archive.ubuntu.com/ubuntu/dists/eoan/main/installer-amd64/current/images/netboot/netboot.tar.gz
                      tar -zxf netboot.tar.gz
                      cp ./ubuntu-installer/amd64/linux /tftpboot/os/ubuntu/Server19.10
                      cp ./ubuntu-installer/amd64/initrd.gz /tftpboot/os/ubuntu/Server19.10
                      

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        foggystarz @Sebastian Roth
                        last edited by

                        @Sebastian-Roth Yes when I was googling around attempting to figure out the issue I came across the vmlinuz boot a lot but assumed it was part of older distros as couldn’t find any newish posts. I think you’re on to something here too.

                        1 Reply Last reply Reply Quote 0
                        • F
                          foggystarz @george1421
                          last edited by

                          @george1421 So in theory all I need to do is copy those files from a ubuntu install to the tftp folder on the fog host?

                          george1421G 1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @foggystarz
                            last edited by

                            @foggystarz TBH I don’t know. If it was me I’d copy them to the fog server in a different directory than the one you have working and try just the cdrom initrd file (keep the network kernel one from the working [linux] ) and try to boot. See where you end up.

                            See the linux has the NFS services turned on where the vmlinuz one probably doesn’t. What you need (maybe) is the logic in the virtual hard drive [initrd] to start up the live runtime and not the installer.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              foggystarz @george1421
                              last edited by

                              @george1421 I think I follow, I’ll give it a bash and let you know, thank you :).

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              155

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project