As i didn't knew what exactly bootstraping meant, i installed quemu and installed debian there (that took a looong time :)) I fixed grub defaults to add clocksource=tsc console=ttyS0,115200 noapic instead of default "quiet", updated grub. Then i converted the qemu disk image to raw using qemu-img and used that as the disk in vmd. Success!!!
Thanks for your help !!! Will contact debian about including virtio drivers. Regards, Ales On Thu, Aug 23, 2018 at 8:24 PM Todd T. Fries <t...@fries.net> wrote: > > More 'color' ;-) > > proxmox iso's do, and they also include zfs on root as an option, > but they require gui bits to install from what I can tell. > > https://www.proxmox.com/en/downloads > > Penned by Carlos Cardenas on 20180823 8:45.44, we have: > | 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 > | > > > | > > > -- > Todd Fries .. t...@fries.net > > ____________________________________________ > | \ 1.636.410.0632 (voice) > | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) > | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) > | PO Box 16169, Oklahoma City, OK 73113-2169 \ sip:freedae...@ekiga.net > | "..in support of free software solutions." \ sip:4052279...@ekiga.net > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ > > 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A > http://todd.fries.net/pgp.txt