Ubuntu Studio ISOs are reaching hard ISO 9660 limit

Bug #1966523 reported by Erich Eickmeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
Fix Released
Undecided
Unassigned

Bug Description

Per IRC discussion with vorlon on 2022-03-25.

Ubuntu Studio's squashfs file size is reaching and exceeding the 4096MB file size limited by ISO 9660. However, it has been discovered that xorriso is capable of creating an image with file sized greater than this, per the manpage:

'''
Level 3 allows ISO names with up to 32 characters and file size of up to 400 GiB - 200 KiB. (This size limitation is set by the xorriso implementation and not by ISO 9660 which would allow nearly 8 TiB.)
'''

Ubuntu 22.04 is certainly running a new enough kernel to do-away with the file size limitations previously imposed. For Ubuntu Studio, we have decided that burning a physical DVD is no longer within the scope as USB sticks are plentiful and relatively inexpensive when the correct file size for our images, which aren't exceeding 5GB. Therefore, an entry of "-iso-level 3" added to the xorisso command when building the images could help rectify this now-outdated file size limit.

Related branches

Changed in ubuntu-cdimage:
status: New → Confirmed
status: Confirmed → New
description: updated
description: updated
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

Unfortunately the proposed patch doesn't work because we invoke xorriso -as mkisofs, which is incompatible with -file_size_limit. So this is only possible if the rest of the options are mapped to xorriso instead of mkisofs (assuming they ARE all mappable).

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Instead we should use "-iso-level 3". From the manpage:

'''
Level 3 allows ISO names with up to 32 characters and file size of up to 400 GiB - 200 KiB. (This size limitation is set by the xorriso implementation and not by ISO 9660 which would allow nearly 8 TiB.)
'''

New revision for merging.

description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

The image now builds successfully with -iso-level 3.

Changed in ubuntu-cdimage:
status: New → Fix Released
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.