[Bug 1575652] Re: PXE install prefixes /cdrom to squashfs location, fails to find it

Jay jay.londhe at gmail.com
Fri Sep 23 19:56:55 UTC 2016


Hello All,

I tested pxe boot today with "Ubuntu 16.04.1 LTS".
Still I get same error.

root at pxeserver:/srv/tftp# ll
total 1104
drwxrwxr-x 4 root root    4096 Sep 23 10:36 ./
drwxr-xr-x 3 root root    4096 Sep 22 16:52 ../
drwxr-xr-x 2 root root    4096 Sep 23 11:40 grub/
-rw-r--r-- 1 root root 1107320 Sep 23 10:31 grubnetx64.efi.signed
lrwxrwxrwx 1 root root      47 Aug  2 04:21 ldlinux.c32 -> ubuntu-installer/amd64/boot-screens/ldlinux.c32
lrwxrwxrwx 1 root root      33 Aug  2 04:21 pxelinux.0 -> ubuntu-installer/amd64/pxelinux.0
lrwxrwxrwx 1 root root      35 Aug  2 04:21 pxelinux.cfg -> ubuntu-installer/amd64/pxelinux.cfg/
drwxrwxr-x 3 root root    4096 Aug  2 04:21 ubuntu-installer/
-rw-rw-r-- 1 root root      58 Aug  2 04:21 version.info
root at pxeserver:/srv/tftp# more grub/grub.cfg
menuentry "Install Ubuntu" {
set gfxpayload=keep
linux /ubuntu-installer/amd64/linux gfxpayload=800x600x16,800x600 -- quiet
initrd /ubuntu-installer/amd64/initrd.gz
}


After partitioning error is shown as mentioned below
http://www.michaelm.info/blog/?p=1378


base-installer: error: Could not find any live images. WARNING **: Configuring 'live-installer' failed with error code 1. WARNING **: Menu item ...

Kindly suggest how to fix this error.

Regards,
Jay

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to live-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1575652

Title:
  PXE install prefixes /cdrom to squashfs location, fails to find it

Status in live-installer package in Ubuntu:
  Fix Released
Status in live-installer source package in Xenial:
  Fix Released
Status in live-installer source package in Yakkety:
  Fix Released

Bug description:
  [Impact]
  This impacts any network installs specifying live-installer/net-image (ie. using live-installer to install using a squashfs instead of debootstrap)

  [Test case]
  1) Boot on netinstall image to grub menu; it 'e' for edit;
  2) Add 'live-installer/net-image=http://cdimage.ubuntu.com/ubuntu-server/xenial/daily/current/xenial-server-amd64.squashfs' to the linux line.
  3) Hit F10 to boot with the changes.

  Installation should complete successfully.

  [Regression Potential]
  Minimal; this is meant to fix a bug that was introduced that currently breaks all uses of net-image that don't use a path relative to /cdrom, which used to be possible; and only enforces the proper handling of URIs as absolute paths instead of prepending them with '/cdrom'. URI-like syntax in typical filesystem paths is not something that is supported.

  ---

  Attempting to use PXE to install 16.04 results in an error dialog that
  states "The failing step is: Install the system".  Checking syslog
  shows that it has prefixed the URL to the filesystem.squashfs with
  "/cdrom" and failed to find the file.

  base-installer: info: Downloading
  /cdromhttp://192.168.1.251/ubuntu-1604.amd64/install/filesystem.squashfs
  to /tmp/live-installer/filesystem.squashfs

  Setting the path to the filesystem.squashfs by either the "append"
  option in the PXE default file, or as a preseed option in the
  kickstart file both have the same result.

  My PXE menu option:

  LABEL Ubuntu 16.04 Desktop
  MENU LABEL Xenial 16.04 Desktop
  KERNEL 1604/ubuntu-installer/amd64/linux
  append vga=normal ks=http://192.168.1.251/ks-1604-64-desktop.cfg initrd=1604/ubuntu-installer/amd64/initrd.gz live-installer/net-image=http://192.168.1.251/ubuntu-1604.amd64/install/filesystem.squashfs biosdevname=0

  I found a changelog for live-installer 51ubuntu1 dated 4/18/16 that
  states it strips /cdrom/ prefix from all places, but this does not
  appear to be happening.  The log line points to base-installer rather
  than live-installer as the cause.

  This is from the 16.04 server release ISO, running base-
  installer_1.158ubuntu2_amd64 and live-installer_51ubuntu2_amd64

  I would expect that locating the live-installer filesystem.squashfs
  would not prefix the specified URL with /cdrom.  Previous versions of
  Ubuntu did not do this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-installer/+bug/1575652/+subscriptions



More information about the foundations-bugs mailing list