ubuntu jammy 22.04 iso: unable to find a live file system on the network

Bug #1969970 reported by Rui Lopes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm trying to pxe boot ubuntu jammy 22.04 iso from https://releases.ubuntu.com/22.04/ubuntu-22.04-live-server-amd64.iso, but it fails to boot with the error:

  unable to find a live file system on the network

This problem can be worked around by setting the ignore_uuid kernel command line argument. But, I think we should not need to specify that, and maybe there's a problem with the UUID of the iso.

I'm not sure if the helps, but blkid is returning:

root@pxe:~# blkid
/dev/loop0: BLOCK_SIZE="2048" UUID="2022-02-17-11-56-08-00" LABEL="Ubuntu-Server 22.04 LTS amd64" TYPE="iso9660" PTUUID="949bae1b-adc7-4b27-be24-901c7c269b89" PTTYPE="gpt"

And it seems the iso contains a different UUID:

root@pxe:~# cat /cdrom/.disk/casper-uuid-generic
b897861a-11af-4ce6-88c1-b6ac2af8457b

Tags: iso-testing
Revision history for this message
Steve Langasek (vorlon) wrote :

This is going to be a casper and/or livecd-rootfs issue, so reassigning.

What I don't understand is that neither the blkid output nor the contents of /cdrom/.disk/casper-uuid-generic appear to match what I have here:
$ blkid ~/devel/iso/ubuntu-22.04-live-server-amd64.iso
/home/vorlon/devel/iso/ubuntu-22.04-live-server-amd64.iso: BLOCK_SIZE="2048" UUID="2022-04-21-06-14-25-00" LABEL="Ubuntu-Server 22.04 LTS amd64" TYPE="iso9660" PTUUID="c84e0225-4be7-447a-9fa1-ebf040bdc01f" PTTYPE="gpt"
$ cat /mnt/.disk/casper-uuid-generic
ba2335f2-81b6-46b2-a037-549fe52a8261
$

I don't know how blkid is figuring a UUID for an iso9660 filesystem, but here it is the timestamp of the image on the server, which is preserved by wget. It's surprising that yours has a timestamp months in the past...

affects: ubuntu-cdimage → casper (Ubuntu)
Revision history for this message
Dan Bungert (dbungert) wrote :

Would you confirm that the sha256 sum of the iso matches https://releases.ubuntu.com/22.04/SHA256SUMS ?

I'm getting different results for the above commands.
The UUID there makes it look like you have a 2-month out of date iso.
Thanks!

# lsblk /dev/loop17 -J -O | jq '.blockdevices[0] | .label, .uuid'
"Ubuntu-Server 22.04 LTS amd64"
"2022-04-21-06-14-25-00"

# cat .disk/casper-uuid-generic
ba2335f2-81b6-46b2-a037-549fe52a8261

Revision history for this message
Dan Bungert (dbungert) wrote :

I did a test run of this using the instructions from https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510 and things look good to me. Would you also try that and let us know?

I'm marking this "incomplete" since I can't reproduce the issue and that's the bug state used when more info is needed.

Changed in casper (Ubuntu):
status: New → Incomplete
Revision history for this message
Rui Lopes (rgl) wrote :

Oh indeed, somehow I ended up using an older iso. I deleted everything and started from scratch, and now this works as expected!

Sorry for wasting your time :-(

Changed in casper (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Rob J (quantumparticleresearch) wrote :

Hi, I just ran into exactly this problem with the 22.04.3 ISO freshly downloaded today. I copied the same NFS-based PXE-boot configuration as I used for 20.04:

        MENU LABEL Ubuntu 22.04 x64 LTS Server
        KERNEL installroot/Ubuntu/22.04/server/casper/vmlinuz
        APPEND boot=casper netboot=nfs nfsroot=192.168.1.12:/srv/pxe/installroot/Ubuntu/22.04/server initrd=installroot/Ubuntu/22.04/server/casper/initrd toram ip=dhcp root=/dev/nfs
        TEXT HELP
        Boot Ubuntu 22.04 x64 LTS Server
        ENDTEXT
        MENU LABEL Ubuntu 20.04 x64 LTS Desktop
        KERNEL installroot/Ubuntu/20.04/desktop/casper/vmlinuz
        APPEND boot=casper netboot=nfs nfsroot=192.168.1.12:/srv/pxe/installroot/Ubuntu/20.04/desktop initrd=installroot/Ubuntu/20.04/desktop/casper/initrd toram ip=dhcp
        TEXT HELP
        Boot Ubuntu 20.04 x64 LTS Desktop
        ENDTEXT

I added 'root=/dev/nfs' and it didn't help. However, adding 'ignore_uuid' did allow it to progress and start booting. Does sound like there's an issue with Casper here.

Cheers,
Rob J

Revision history for this message
Maxime Accadia (maxacc) wrote :

We faced this issue too, it was caused by having the initrd and vmlinuz from a previous Ubuntu ISO

```
KERNEL vmlinuz # <= should be from casper/vmlinuz in Ubuntu ISO
INITRD initrd # <= should be from casper/initrd in Ubuntu ISO
APPEND root=/dev/ram0 ramdisk_size=1500000 ip=dhcp cloud-config-url=http://192.168.0.2/autoinstall.yaml url=http://192.168.0.2/ubuntu-22.04.3-live-server-amd64.iso autoinstall
```

See for example https://github.com/canonical/autoinstall-desktop#pxe-configuration

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1969970

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.