• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.2k
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
    last edited by george1421 May 25, 2020, 5:09 PM May 25, 2020, 10:25 PM

    Hi, I have followed @george1421’s excellent guide to setup booting a Ubuntu 20.03 image which is working, but for some reason it’s not booting to Live CD. When booting the VM it goes straight to the install on disk procedure. I did google around but most of the links relate to older versions with a different netboot (vmlinux instead of linux), I’ve added the boot=live argument as per below which doesn’t seem to do anything, anyone know the answer to this?

    kernel tftp://${fog-ip}/os/ubuntu/live20.04/linux
    initrd tftp://${fog-ip}/os/ubuntu/live20.04/initrd.gz
    imgargs linux boot=live root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/os/ubuntu/live20.04/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw
    boot || goto MENU

    Many thanks for any help,
    Will

    1 Reply Last reply Reply Quote 1
    • S
      Sebastian Roth Moderator
      last edited by May 26, 2020, 10:58 AM

      @foggystarz Haven’t tried this myself but I found references to using another kernel parameter instead of boot=live (1) try boot=casper (2) a try.

      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

      F 1 Reply Last reply May 26, 2020, 2:44 PM Reply Quote 0
      • F
        foggystarz @Sebastian Roth
        last edited by May 26, 2020, 2:44 PM

        Thanks @Sebastian-Roth but this also boots to desktop install, I think it may be something to do with netboot files from googling, does this perhaps specify a desktop boot only?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 26, 2020, 3:50 PM

          @foggystarz Just to make sure this is not something specific to Ubuntu 20.04 - would you setup the same for 18.04 and see if it works as you expect?

          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

          F 2 Replies Last reply May 26, 2020, 6:42 PM Reply Quote 0
          • F
            foggystarz @Sebastian Roth
            last edited by May 26, 2020, 6:42 PM

            @Sebastian-Roth I’ll do that now bud and report back when tested.

            1 Reply Last reply Reply Quote 1
            • F
              foggystarz @Sebastian Roth
              last edited by May 27, 2020, 7:37 PM

              @Sebastian-Roth Didn’t get round to this last night but just tried Ubuntu 18.04 and same problem, tried both suggested boot arguments boot=live and boot=casper, boots straight to Desktop mode, pictures below:

              alt text

              alt text

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by May 27, 2020, 9:11 PM

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

                boots straight to Desktop mode

                You meant install mode I suppose?!

                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

                F 1 Reply Last reply May 28, 2020, 10:57 AM Reply Quote 0
                • F
                  foggystarz @Sebastian Roth
                  last edited by May 28, 2020, 10:57 AM

                  @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 May 28, 2020, 8:06 PM

                    @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

                    G F 2 Replies Last reply May 28, 2020, 8:18 PM Reply Quote 0
                    • G
                      george1421 Moderator @Sebastian Roth
                      last edited by Sebastian Roth May 28, 2020, 3:17 PM May 28, 2020, 8:18 PM

                      @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 May 29, 2020, 12:43 AM Reply Quote 0
                      • F
                        foggystarz @Sebastian Roth
                        last edited by May 29, 2020, 12:31 AM

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • F
                          foggystarz @george1421
                          last edited by foggystarz May 28, 2020, 6:51 PM May 29, 2020, 12:43 AM

                          @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.

                          G 1 Reply Last reply May 29, 2020, 3:25 AM Reply Quote 0
                          • G
                            george1421 Moderator @foggystarz
                            last edited by May 29, 2020, 3:25 AM

                            @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 May 29, 2020, 4:31 AM

                              @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 May 29, 2020, 7:02 AM

                                @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

                                G F 2 Replies Last reply May 29, 2020, 10:50 AM Reply Quote 1
                                • G
                                  george1421 Moderator @Sebastian Roth
                                  last edited by May 29, 2020, 10:50 AM

                                  @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 May 30, 2020, 12:33 PM Reply Quote 0
                                  • F
                                    foggystarz @Sebastian Roth
                                    last edited by May 30, 2020, 12:30 PM

                                    @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 May 30, 2020, 12:33 PM

                                      @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?

                                      G 1 Reply Last reply May 30, 2020, 1:11 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @foggystarz
                                        last edited by May 30, 2020, 1:11 PM

                                        @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 May 30, 2020, 1:37 PM Reply Quote 0
                                        • F
                                          foggystarz @george1421
                                          last edited by May 30, 2020, 1:37 PM

                                          @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
                                          1 / 1
                                          • First post
                                            10/20
                                            Last post

                                          199

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project