Bug 798979

Summary: Ubuntu install CDs from oneiric onwards are not recognized: "multi-boot operating systems are not supported"
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-29 18:33:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2012-03-01 12:38:20 UTC
Description of problem:

From oneiric onwards, the install CDs provided by Ubuntu show up
as multiple operating systems.  This is because the CD
contains the same filesystem on the whole device (eg. /dev/vda)
and on a partition (/dev/vda1):

><fs> dmesg | grep vda1
[    1.309559]  vda: vda1
><fs> file /dev/vda
# ISO 9660 CD-ROM filesystem data 'Ubuntu-Server 12.04 LTS amd64   ' (bootable)
><fs> file /dev/vda1 
# ISO 9660 CD-ROM filesystem data 'Ubuntu-Server 12.04 LTS amd64   '
><fs> list-filesystems 
/dev/vda1: iso9660
><fs> mount-ro /dev/vda /
><fs> umount /
><fs> mount-ro /dev/vda1 /
><fs> umount /
><fs> vfs-type /dev/vda
iso9660
><fs> vfs-type /dev/vda1
iso9660

Version-Release number of selected component (if applicable):

1.17.8
kernel 3.3.0-0.rc2.git4.1.fc17.x86_64

How reproducible:

100%

Steps to Reproduce:
1. virt-inspector -a ubuntu.iso | grep '<operatingsystem>' | wc -l
  
Actual results:

It displays '1' for Ubuntu < oneiric, and '2' for Ubuntu >= oneiric.

Expected results:

It should display '1'.

Additional info:

Comment 1 Richard W.M. Jones 2012-11-23 16:47:35 UTC
Should be using libosinfo data to identify install CDs.