On Thu, Aug 23, 2018 at 12:43:17PM +0200, Martijn van Duren wrote:
> Hello Ales,
> 
> I ran into the same problem and found that the Debian installer doesn't
> include the virtio drivers and thus can't use the cdrom or the disk.
> 
> I worked around this by bootstrapping the disk via the qemu port and
> booting the disk from vmm once it's finally done. Qemu is significantly
> slower than vmm, so do get another cup of $BEVERAGE.
> 
> I haven't taken the time to contact Debian about this, so it's
> probably not yet known to them.
> 
> Hope this helps for now.
> 
> martijn@

To add some color what martijn said, the standard debian isos do not
include the virtio drivers; however, the netinst iso does (for whatever
reason).  You can boot off that and perform a network install if you're
so inclined.

However, after typing that, I attempted to boot a netinst 9.5 iso and it
looks like those drivers are not there anymore (they have hyperv and xen
pv drivers present though).  You can use an older netinst ISO to do it
as it will still have them but I don't know how far back you'll need to
go since it's been a while since I tested debian.

At this point, if you want debian, it looks like you'll have to
bootstrap with qemu.  I would also encourage you to contact the debian
folks about this as well, specifically the inclusion of virtio drivers
since they are already including hyperv and xen.

+--+
Carlos

> On 08/23/18 12:18, Ales Tepina wrote:
> > Hello!
> > 
> > I have a lenovo T470 running current on which i would like to use vmd
> > to run debian for some work specific stuff.
> > I'm having trouble installing debian though because the installer
> > doesn't seem to find cdrom.
> > 
> > My vm.conf is pretty basic:
> >  switch "local" {
> >      interface bridge0
> >  }
> >  vm "work" {
> >      disable
> >      memory 2G
> >      cdrom "/home/vm/debian-9.5.0-amd64-xfce-CD-1.iso"
> >      disk "/home/vm/debian.img"
> >      interface { switch "local" }
> >  }
> > 
> > On the debian installer boot menu, i select Install and press TAB to
> > edit the menu entry. I remove the "quiet" at the end and append from
> > --- onwards so at the end it looks like this:
> >  (omitted part)/install.amd/vmlinuz desktop=xfce vga=788
> > initrd=/install.amd/initrd.gz --- clocksource=tsc console=ttyS0,115200
> > noapic
> > 
> > The text based installer starts and i'm able to choose language,
> > location and keyboard.
> > At the "Detect and mount CD-ROM section, i'm informed that "No common
> > CD-ROM drive was detected." and i'm given the option to load CD-ROM
> > drivers from removable media. When i select NO the installer gives me
> > the option to manually select a CD-ROM module or device. I  can choose
> > between none and cdrom. The cdrom option just asks me for a device
> > like /dev/ cdrom
> > 
> > I tried with debian netboot image - same problem.
> > 
> > I've read Mike Larkin's slides "OpenBSD vmm/vmd Update" and if some of
> > you are running linux in vmm (for testing purposes of course) i would
> > be gratefull to know how did you manage to get past this problem?
> > 
> > Best regards, Ales
> > 
> 

Reply via email to