Am I missing something simple, or can you only boot off virtual IDE 
drives?

I'm running kvm-69 (from the sid repos) on 64-bit Debian Lenny, using the 
kvm modules that are part of the kernel 2.6.25 package on Debian.

I can create virtual SCSI drives, boot off a virtual CD-ROM, and install 
Debian onto the vSCSI drives.  However, I cannot boot off the virtual 
SCSI drives following the install.

The VM is being run as:
/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

And the error message on the virtual console is:
Booting from Hard Disk...
Boot from Hard Disk failed: could not read the boot disk
FATAL: No bootable device

The virtual SCSI drives are configured as:
  sda1  100 MB  /boot (bootable flag set)
  sda2    5 GB  /
  sda5   50 GB  /usr
  sda6   50 GB  /var
  sdb1  100 GB  /home

GRUB is installed into the MBR of the first SCSI drive (sda).

I've tried reversing the two -drive options on the commandline, as well as 
reversing the index numbers on the commandline.

"info block" in the QEmu monitor shows the drives as being attached, and 
in the correct order.

What, if anything, am I missing?  Or is this just not possible?

-- 
Freddie Cash
[EMAIL PROTECTED]
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to