From mboxrd@z Thu Jan 1 00:00:00 1970 From: Freddie Cash Subject: Re: Issues booting off virtual SCSI drives in kvm-69 Date: Fri, 30 May 2008 15:15:10 -0700 Message-ID: <200805301515.10390.fjwcash@gmail.com> References: <200805301410.13649.fjwcash@gmail.com> <90eb1dc70805301450v2458d5a3m5a24374c4a63df56@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from smtp.sd73.bc.ca ([142.24.13.140]:40814 "EHLO smtp.sd73.bc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752923AbYE3WPN (ORCPT ); Fri, 30 May 2008 18:15:13 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id E83631A000B3B for ; Fri, 30 May 2008 15:15:12 -0700 (PDT) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fcv4C-j2ZoXN for ; Fri, 30 May 2008 15:15:11 -0700 (PDT) Received: from coal (unknown [192.168.0.10]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 22B451A000B39 for ; Fri, 30 May 2008 15:15:11 -0700 (PDT) In-Reply-To: <90eb1dc70805301450v2458d5a3m5a24374c4a63df56@mail.gmail.com> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On May 30, 2008 02:50 pm you wrote: > On Fri, May 30, 2008 at 4:10 PM, Freddie Cash wrote: > > Am I missing something simple, or can you only boot off virtual IDE > > drives? > > add 'boot=on' to the drive specification: > > /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice > tablet -smp 1 -m 2048 -vnc :05 -pidfile /var/run/kvm/webmail.pid -net > nic,macaddr=00:16:3e:00:00:05,model=rtl8139 -net tap,ifname=tap05 > -boot c -drive > index=1,media=disk,if=scsi,file=/dev/mapper/vol0-webmail--storage > -drive index=0,media=disk,if=scsi,file=/dev/mapper/vol0-webmail,boot=on > > that got me for a long time too. A few minutes after sending this, I found, buried deep down in my google results, this non-documented option. :) Spent a good hour reading through mailing list archives, forums posts, and various websites before finding this. Anyone willing to update the man pages for qemu and/or kvm-qemu to document this option? :D -- Freddie Cash fjwcash@gmail.com