• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. nsherin
    3. Posts
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by nsherin

    • RE: Booting Ubuntu 18.04 Live CD

      Thanks again for your reply. Still no joy.

      I’ve recopied the contents of the 18.04.1 LTS iso to /images/os/ubuntu/18.04/mate. after cleaning out that directory.

      My menu config is as follows:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/vmlinuz
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd imgargs vmlinuz initrd=initrd root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      There is no initrd.lz so had to change it to initrd

      Booting up my test PXE client VM gives me a kernel panic:

      0_1535842388321_pxetest-2018-09-01-23-52-10.png ![alt text](image url)

      I added the following to /etc/exports:

      /images/os/ubuntu/18.04/mate *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)

      And rebooted the server. Same result!

      I don’t want to use a DHCP assigned IP on my PXE server as I need it to resolve local DNS queries from my internal DNS server on the network. Is there a workaround/

      Many thanks,
      Neil

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu 18.04 Live CD

      @TaTa

      Thanks for your reply - I’ve been away for a few days, so have only just got back to working with this.

      I’ve now put the following code in the menu:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/vmlinuz
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd.lz
      imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      But when booting, I get booted into maintenance mode. Pressing CTRL+D allows me to get a prompt. I can then run startx to bring up the GUI. However, starting the installer doesn’t work. Opening a terminal and typing ifconfig gives me an IP address but the machine won’t do any DNS lookups or ping to say google.com

      Here’s the error I get on boot up:

      0_1535149856022_pxetest-2018-08-24-23-25-53.png

      I also tried using ‘linux’ from the netboot installer and initrd.lz with this combination:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/linux
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd.lz
      imgargs linux initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      Same result

      Any help would be much appreciated.

      Many thanks,
      Neil

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu 18.04 Live CD

      Thanks again for your reply. I get a bit further now, but end up being booted into emergency mode.

      I’ve copied over initrd.gz from the netboot.tar.gz file and placed it into /images/os/ubuntu/18.04/mate/casper/linux

      I’ve changed my menu entry to read:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/linux
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd.lz
      imgargs linux root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      If I use the ‘linux’ file from the netboot.tar.gz file, I get:

      0_1534593597801_pxetest-2018-08-18-12-57-43.png

      If I rename the vmlinuz file that is part of the Live CD ISO to linux in /images/os/ubuntu/18.04/mate/casper/, I get:

      0_1534593681068_pxetest-2018-08-18-13-01-04.png

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu 18.04 Live CD

      Thanks for your reply.

      Still no luck I’m afraid - I downloaded netboot.tar.gz from http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/

      I then extracted the tar file and from /ubuntu-installer/amd64, copied the file ‘linux’ to /images/os/ubuntu/18.04/mate/casper

      I then edited my Fog menu entry as follows:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/linux
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd.lz imgargs linux root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      The error is still the same one.

      Any ideas would be great.

      Many thanks,
      Neil

      posted in Linux Problems
      N
      nsherin
    • Booting Ubuntu 18.04 Live CD

      Hi,

      I’ve got my Fog/IPXE server up and running and can boot the Ubuntu Mini ISO without issues.

      Just tried to set up booting an Ubuntu 18.04 Live CD.

      I’ve copied it to /images/os/ubuntu/18.04/mate and created the following Fog menu entry:

      kernel nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/vmlinuz
      initrd nfs://192.168.0.14/images/os/ubuntu/18.04/mate/casper/initrd.lz imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.14:/images/os/ubuntu/18.04/mate/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash toram ip=dhcp rw
      boot || goto MENU

      When my test VM tries to boot, I get an error Unable to mount root fs on unknown-block(0,0) - I’ve attached a screenshot.

      0_1534550980169_pxetext-2018-08-18-01-04-42.png

      My /etc/exports file shows this:

      /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
      /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)

      Any help would be much appreciated!

      Many thanks,
      Neik

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421

      Thanks for that - I’ve got it booting - my menu entry now looks like:

      Menu Item: fog.ubuntu-server
      Description: Ubuntu Server 16.04
      kernel tftp://192.168.0.22/os/ubuntu/16.04/server/vmlinuz
      initrd tftp://192.168.0.22/os/ubuntu/16.04/server/initrd.gz
      imgargs vmlinuz initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=192.168.0.22:/images/os/ubuntu/16.04/server/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb
      boot || goto MENU

      Many thanks again for your help!

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421

      Almost - I’m just trying Ubuntu Server now and have added another menu option:

      Menu Item: fog.ubuntu-server
      Description: Ubuntu Server 16.04
      Parameters:
      kernel nfs://192.168.0.22/images/os/ubuntu/16.04/server/install/vmlinuz
      initrd nfs://192.168.0.22/images/os/ubuntu/16.04/server/install/initrd.gz
      imgargs vmlinuz root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.0.22:/images/os/ubuntu/16.04/server/ locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb quiet splash ip=dhcp rw
      boot || goto MENU

      I have copied the Ubuntu Server CD contents into /images/os/ubuntu/16.04/server/

      It boots to the Ubuntu installer and then asks me to insert a CD-ROM.

      Any ideas would be great. Thanks!

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      Oh and for a UK keyboard, the syntax is:

      locale=en_GB.UTF-8 keyboard-configuration/layoutcode=gb

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      Thanks! That worked! I replaced t-pxe with the server’s IP 192.168.0.22 and I now have a booted live CD!

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421

      Thanks for that - I’ve moved the files from the DVD into /images/os/ubuntu/16.04/mate and modified the parameters to read:

      kernel nfs://t-pxe/images/os/ubuntu/16.04/mate/casper/vmlinuz.efi
      initrd nfs://t-pxe/images/os/ubuntu/16.04/mate/casper/initrd.lz
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=t-pxe:/images/os/ubuntu/16.04/mate/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw
      boot || goto MENU

      It’s still complaining about the lack of a file system on the network.

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421 said in Booting Ubuntu Live CD:

      I’ve got a bit further - I’ve added

      boot || goto MENU

      I now get a message ‘Unable to find a live file system on the network’:

      0_1523992151904_Ubuntu 64-bit-2018-04-17-20-08-52.png

      Also, do you know the parameters I’d need in locale= and keyboard-configuration/layoutcode for a UK keyboard?

      Many thanks.

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421

      Thanks for your help. I’m running version 1.5.2

      My /etc/exports file:

      /images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
      /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421 said in Booting Ubuntu Live CD:

      http://t-pxe/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00

      Thanks for the speedy reply. The output is:

      #!ipxe
      set fog-ip 192.168.0.22
      set fog-webroot fog
      set boot-url http://${fog-ip}/${fog-webroot}
      cpuid --ext 29 && set arch x86_64 || set arch i386
      goto get_console
      :console_set
      colour --rgb 0x00567a 1 ||
      colour --rgb 0x00567a 2 ||
      colour --rgb 0x00567a 4 ||
      cpair --foreground 7 --background 2 2 ||
      goto MENU
      :alt_console
      cpair --background 0 1 ||
      cpair --background 1 2 ||
      goto MENU
      :get_console
      console --picture http://192.168.0.22/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
      :MENU
      menu
      colour --rgb 0xff0000 0 ||
      cpair --foreground 1 1 ||
      cpair --foreground 0 3 ||
      cpair --foreground 4 4 ||
      item --gap Host is NOT registered!
      item --gap – -------------------------------------
      item fog.local Boot from hard disk
      item fog.memtest Run Memtest86+
      item fog.quickdel Quick Host Deletion
      item fog.sysinfo Client System Information (Compatibility)
      item fog.ubuntu-net Ubuntu 16.04 Net Installer
      item fog.acronis Acronis TrueImage 2016
      item fog.ubuntu-mate Ubuntu MATE 16.04
      choose --default fog.local --timeout 3000 target && goto ${target}
      :fog.local
      sanboot --no-describe --drive 0x80 || goto MENU
      :fog.memtest
      chain memtest
      param sysuuid ${uuid}
      kernel memdisk initrd=memtest.0 iso raw
      initrd memtest.0
      boot || goto MENU
      :fog.quickdel
      login
      params
      param mac0 ${net0/mac}
      param arch ${arch}
      param username ${username}
      param password ${password}
      param delhost 1
      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
      param sysuuid ${uuid}
      :fog.sysinfo
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.0.22/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.0.22:/images/ storageip=192.168.0.22 loglevel=4 mode=sysinfo
      imgfetch init_32.xz
      boot || goto MENU
      :fog.ubuntu-net
      initrd http://t-pxe/fog/iso/ubuntu/ubuntu-amd64-net.iso
      chain http://t-pxe/fog/iso/ubuntu/memdisk iso raw
      param sysuuid ${uuid}
      :fog.acronis
      initrd http://t-pxe/fog/iso/acronis/acronis2016.iso
      chain http://t-pxe/fog/iso/acronis/memdisk iso raw
      param sysuuid ${uuid}
      :fog.ubuntu-mate
      kernel tftp://t-pxe/os/ubuntu/16.04/mate/vmlinuz.efi
      initrd tftp://t-pxe/os/ubuntu/16.04/mate/initrd.lz
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=t-pxe:/var/www/fog/dist/ubuntu/16.04/mate/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw
      param sysuuid ${uuid}
      :bootme
      chain -ar http://192.168.0.22/fog/service/ipxe/boot.php##params ||
      goto MENU
      autoboot

      Many thanks again for your help.

      posted in Linux Problems
      N
      nsherin
    • RE: Booting Ubuntu Live CD

      @george1421

      Thanks - but that’s the guide I followed - which hasn’t worked. I’m not using http here.

      TFTP seems to be working - otherwise surely I wouldn’t be getting ok for both vmlinuz.efi and initrd.lz in the screen grab in my original post.

      In my boot options, I’m using NFS and I can connect to that NFS export/share just fine from another workstation. I am using the same parameters - modified for my setup as in the example in the URL.

      posted in Linux Problems
      N
      nsherin
    • Booting Ubuntu Live CD

      Hi,

      I’ve set up FOG using this guide here: https://github.com/marcbizal/FOG-Install-Guide

      I’ve set up DNSMASQ in ProxyDHCP mode.

      Booting a couple of ISOs - Acronis TrueImage 2016 and the Ubuntu Net installer CD work fine.

      However, I’m trying to get the Ubuntu Live CD to boot. I’ve done the following:

      in /tftpboot, created a path of /os/ubuntu/16.04/mate. So in /tftpboot/os/ubuntu/16.04/mate, I’ve then copied initrd.lz and vmlinuz.efi.

      In /var/www/fog, I’ve created a dist folder for holding distributions. So for Ubuntu MATE, I’ve st up the following: /var/www/fog/dist/ubuntu/16.04/mate

      I’ve copied the contents of the ISO to here.

      I’ve also set up the NFS export to /var/www/fog/dist - this is accessible from another Linux machine.

      I have also tested TFTP by retrieving vmlinuz.efi from /tftpboot/os/ubuntu/16.04/mate from another Linux machine.

      I’ve set up a menu entry with the following details:

      Menu Item: fog.ubuntu-mate
      Description: Ubuntu 16.04 MATE
      Parameters:
      kernel tftp://t-pxe/os/ubuntu/16.04/mate/vmlinuz.efi
      initrd tftp://t-pxe/os/ubuntu/16.04/mate/initrd.lz
      imgargs vmlinuz.efi root=/dev/nfs boot=casper netboot=nfs nfsroot=t-pxe:/var/www/fog/dist/ubuntu/16.04/mate/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw

      However, when my test VM boots via PXE and I choose the Ubuntu 16.04 MATE, I get the following:

      0_1523979029047_Ubuntu 64-bit-2018-04-17-16-28-24.png

      Any help would be much appreciated!

      Many thanks,
      Neil

      posted in Linux Problems
      N
      nsherin
    • 1 / 1