• 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.
    • george1421G
      george1421 Moderator @xardoniak
      last edited by

      @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 Reply Quote 0
      • X
        xardoniak @Sebastian Roth
        last edited by

        @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

          @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

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

            @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 Reply Quote 0
            • X
              xardoniak @george1421
              last edited by

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

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

                @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 Reply Quote 0
                • X
                  xardoniak @george1421
                  last edited by xardoniak

                  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…

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

                    @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 Reply Quote 0
                    • X
                      xardoniak @george1421
                      last edited by

                      @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

                        @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

                        231

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project