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

ISO Boot Ubuntu 18/19 LTS

Scheduled Pinned Locked Moved
General Problems
4
14
1.7k
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.
  • X
    xardoniak
    last edited by Sep 16, 2019, 5:37 AM

    Hi all,
    Just hoping to get a hand with setting up ISO booting for Ubunti 18/19 LTS.
    I’ve tried following George1421’s guide and am not having luck copying the vmlinuz or boot files to the ftfpboot directory, as they do not exist on my 18.04 ISO.
    Am I able to get a hand with setting this up? Apologies, I’m relatively new to Linux. I’m not fussed on whether I’m using Ubuntu 18 or 19.

    1 Reply Last reply Reply Quote 0
    • X
      xardoniak
      last edited by Sep 16, 2019, 6:37 AM

      Forum mentioned: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/5

      A small update, I have managed to get the initrd.gz file and have placed that into the tftp directory though I am still unable to find the vmlinuz file.
      In /images/os/ubuntu/18.04/install I have the file “mt86plus”

      I’m going to make the assumption that the vmlinuz kernel file has been replaced with this, and place mt86plus into the tftp directory and test.

      I will report back!

      X R 2 Replies Last reply Sep 16, 2019, 7:58 AM Reply Quote 0
      • X
        xardoniak @xardoniak
        last edited by Sep 16, 2019, 7:58 AM

        @xardoniak said in ISO Boot Ubuntu 18/19 LTS:

        In /images/os/ubuntu/18.04/install I have the file “mt86plus”

        I’m going to make the assumption that the vmlinuz kernel file has been replaced with this, and place mt86plus into the tftp directory and test.

        I will report back!

        Nope, no luck 😞
        PXE appears to load the mt86plus file ok (states “ok” on the screen) and very quickly loads the initrd.gz file but once it hits 100%, it exits back to the main PXE boot screen.

        Server details:
        fog@fogproject:~$ ifconfig
        ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
        inet 10.0.70.10 netmask 255.255.255.0 broadcast 10.0.70.255

        fog@fogproject:~$ dir /images/os/ubuntu/18.04/
        boot casper dists EFI initrd.gz install isolinux md5sum.txt mt86plus pics pool preseed README.diskdefines ubuntu

        fog@fogproject:~$ dir /tftpboot/os/ubuntu/18.04/
        initrd.gz mt86plus

        PXE Parameters
        kernel tftp://$10.0.70.10/os/ubuntu/18.04/mt86plus
        initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz
        imgargs mt86plus initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw
        boot || goto MENUkernel tftp://$10.0.70.10/os/ubuntu/18.04/mt86plus
        initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz
        imgargs mt86plus initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw
        boot || goto MENU

        G 1 Reply Last reply Sep 16, 2019, 2:36 PM Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 16, 2019, 2:11 PM

          @xardoniak What output do you get from the command ls -al /images/os/ubuntu/18.04/casper? Please post here.

          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

          X 1 Reply Last reply Sep 16, 2019, 10:01 PM Reply Quote 0
          • G
            george1421 Moderator @xardoniak
            last edited by Sep 16, 2019, 2:36 PM

            @xardoniak Did you read the text in red in my article, but you need to download the netboot versions of these kernels and inits. These are needed to boot ubuntu over the network. But TBH I have not tested ubuntu 18 or 19 with FOG.

            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!

            X 1 Reply Last reply Sep 16, 2019, 10:18 PM Reply Quote 0
            • X
              xardoniak @Sebastian Roth
              last edited by Sep 16, 2019, 10:01 PM

              @Sebastian-Roth Hi Sebastian, thanks for the reply!

              fog@fogproject:~$ ls -al /images/os/ubuntu/18.04/casper
              total 729368
              dr-xr-xr-x 3 fog fog 4096 Nov 29 2018 .
              drwxrwxr-x 12 fog fog 4096 Sep 16 08:16 …
              -r–r–r-- 1 fog fog 14448 Jul 25 2018 filesystem.manifest
              -r–r–r-- 1 fog fog 282 Jul 25 2018 filesystem.manifest-remove
              -r–r–r-- 1 fog fog 526577664 Nov 29 2018 filesystem.squashfs
              -r–r–r-- 1 fog fog 916 Nov 29 2018 filesystem.squashfs.gpg
              -r–r–r-- 1 fog fog 54814433 Jul 25 2018 initrd
              -r–r–r-- 1 fog fog 157184000 Jul 25 2018 installer.squashfs
              dr-xr-xr-x 2 fog fog 4096 Jul 25 2018 maas
              -r–r–r-- 1 fog fog 8257272 Jul 25 2018 vmlinuz
              fog@fogproject:~$ fog@fogproject:~$ ls -al /images/os/ubuntu/18.04/casper

              1 Reply Last reply Reply Quote 0
              • X
                xardoniak @george1421
                last edited by Sep 16, 2019, 10:18 PM

                @george1421 Hi George!
                Yeah, I did! I have just removed and replaced my initrd.gz with installer/amd64/initrd.gz from the netboot.tar.gz file here incase I did something wrong.

                Still the same - loads the mt86plus and closes back to the main pxe boot screen once the initrd.gz file has downloaded

                G 1 Reply Last reply Sep 16, 2019, 11:18 PM Reply Quote 0
                • G
                  george1421 Moderator @xardoniak
                  last edited by Sep 16, 2019, 11:18 PM

                  @xardoniak While I haven’t looked into the new ubuntu version the kernel still should be vmlinuz I would think that mt86plus is wrong.

                  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!

                  X 1 Reply Last reply Sep 17, 2019, 12:01 AM Reply Quote 0
                  • X
                    xardoniak @george1421
                    last edited by Sep 17, 2019, 12:01 AM

                    @george1421 I’ll copy the vmlinuz file from images/os/ubuntu/18.04/casper into tftpboot, update the parameters and report back!

                    Thanks for your time!

                    G 1 Reply Last reply Sep 17, 2019, 12:03 AM Reply Quote 0
                    • G
                      george1421 Moderator @xardoniak
                      last edited by george1421 Sep 16, 2019, 6:06 PM Sep 17, 2019, 12:03 AM

                      @xardoniak I just downloaded 18.0.4 lts and vmlinuz is in the /casper directory. But again you need to kernel and inits from the netboot download, not what is on the dvd. This is because the netboot kernel and inits have nfs enabled to remote mount the image share.

                      For 18.04 the netboot path is here: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/

                      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!

                      X 1 Reply Last reply Sep 17, 2019, 12:53 AM Reply Quote 0
                      • X
                        xardoniak @george1421
                        last edited by xardoniak Sep 16, 2019, 7:13 PM Sep 17, 2019, 12:53 AM

                        OK, so I have

                        • Downloaded vmlinuz file from here and placed it in /tftpboot/os/ubuntu/18.04/
                        • Downloaded the netboot.tar.gz file from here, extracted and copied /ubuntu-installer/amd64/initrd.gz to /tftpboot/os/ubuntu/18.04/
                        • Updated Peramaters
                        kernel tftp://$10.0.70.10/os/ubuntu/18.04/vmlinuz
                        initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz
                        imgargs vmlinuz initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw
                        boot || goto MENU
                        

                        I am now getting this error: https://pasteboard.co/IxKBqW4.png
                        Also see to the right, dir outputs for the tftboot and images directory.

                        I’m sure I’ve missed something, somewhere…

                        G 1 Reply Last reply Sep 17, 2019, 1:16 AM Reply Quote 0
                        • G
                          george1421 Moderator @xardoniak
                          last edited by george1421 Sep 16, 2019, 7:18 PM Sep 17, 2019, 1:16 AM

                          @xardoniak Ah, common mistake. If you leave the ${fog-ip} or what ever it was in the tutorial exactly as it was in the tutorial the fog server will dynamically replace that value with its current IP address. The other option is to just remove the dollar sign, because that is part of the variable name.

                          Edit: I just went and grabbed that section of the tutorial. ${fog-ip} is the complete variable name, you can just paste it in directly (but fix the path for the different version of ubuntu)

                          kernel tftp://${fog-ip}/os/ubuntu/16.04/vmlinuz
                          initrd tftp://${fog-ip}/os/ubuntu/16.04/initrd.gz
                          

                          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!

                          X 1 Reply Last reply Sep 17, 2019, 1:52 AM Reply Quote 0
                          • X
                            xardoniak @george1421
                            last edited by Sep 17, 2019, 1:52 AM

                            @george1421 I knew I was doing something stupid… I’ve got the Ubuntu set up screen! Thanks so much!

                            1 Reply Last reply Reply Quote 0
                            • R
                              rkaneknight @xardoniak
                              last edited by Sep 16, 2020, 6:08 PM

                              @xardoniak
                              I was using Ubuntu 18 Server install, but I was able to get it working like this.

                              I created a /images/os/ubuntu folder and copied the ubuntu ISO file contents in there.

                              I created a folder /tftpboot/os/ubuntu
                              There I put the initrd and vmlinuz files from the casper folder in the ubuntu iso.

                              Here are the parameters I used in FOG.
                              kernel tftp://192.168.160.12/os/ubuntu/vmlinuz
                              initrd tftp://192.168.160.12/os/ubuntu/initrd
                              imgargs vmlinuz initrd=initrd boot=casper root=/dev/nfs netboot=nfs nfsroot=192.168.160.12:/images/os/ubuntu/ ip=dhcp rw
                              boot || goto MENU

                              This allowed me to start the installer from that usb, but I haven’t got a working live OS running yet, though I hope to have that soon.

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

                              178

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project