Debian 7 "wheezy" install, no disk was detected


Recommended Posts

Hi, I'm trying to get Debian 7 to work on Unraid. Currently I am stuck on trying to detect a disk.

 

Here is the XML

    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/name/vdisk1.img'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/debian-7.11.0-amd64-netinst.iso'/>
      <backingStore/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <boot order='2'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

In the VM (I've tried virtio_blk, virtio_scsci options that are available)

1025177102_ScreenShot2019-04-03at11_19.631AM.thumb.png.a7066b82efb54bb2afa80d1bb498ab33.png

 

lspci in VM:

 

1451177268_ScreenShot2019-04-03at11_48.619AM.png.0ec41b323695d0c5a9f614765c563ff0.png

 

Any help would be appreciated, thanks !

Edited by bamtan
Link to comment
15 minutes ago, bastl said:

Did you tried to change the disk type to sata? I had some issues with some debian based distros using virtio or scsi as bus type. 

That did the trick, thanks so much!

 

I also had to change the network model type to e1000-82545em to get the network working 

 

Hopefully this helps someone out in the future 🙂

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.