When a Xen HVM guest is started with multiple disks in addition to a
cdrom, e.g.

        disk = [ 'phy:/dev/VG0/boot,xvda,w',
                 'phy:/dev/VG0/swap,xvdb,w',
                 'phy:/dev/VG0/root,xvdc,w',
                 'phy:/dev/cdrom,xvdd:cdrom,r',
               ]

how does one correctly specify booting from the cdrom?

Reading

        XEN: How to CD-boot fully-virtualized DomU's after initial
        installation
        http://www.novell.com/support/kb/doc.php?id=3156432
                "The drive numeration for fully virtual booting follows
                the traditional DOS drive enumeration;
                 that is, hard disk start at "C" and continue up,
                 followed by CD-ROM devices."

suggests

        boot='f'


But, as these params are (?) passed to qemu, checking qemu's man page,

     -boot
     
[order=drives][,once=drives][,menu=on|off][,splash=sp_name][,splash-time=sp_time]
           Specify boot order drives as a string of drive letters. Valid
           drive letters depend on the target
           achitecture. The x86 PC uses: a, b (floppy 1 and 2), c (first
           hard disk), d (first CD-ROM), n-p
           (Etherboot from network adapter 1-4), hard disk boot is the
           default. To apply a particular boot
           order only on the first startup, specify it via once.

suggests,

        boot='d'

Which is correct?
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to