Le 31/08/2018 à 13:33, [email protected] a écrit : > On Thursday, August 30, 2018 at 4:43:42 PM UTC-4, GDRUB wrote: >> Thank you for those explanations. >> >> However, Windows 10 fails with error code : 0xc0000225 "a required >> device isn't connected or can't be accessed". >> >> win10.raw = 96.6 GB >> >> How to fix this error ? >> >> >> Le 30/08/2018 à 11:58, Ivan Mitev a écrit : >>> On 08/30/2018 11:10 AM, [email protected] wrote: >>>> Hi, >>>> >>>> I'm trying to run the following command: >>>> >>>> $ qemu-img convert -O raw *.vmdk win10.raw >>>> $ qvm-run --pass-io untrusted 'cat "/media/user/externalhd/win10.raw"' > >>>> /home/user/win10-root.img >>>> $ qvm-create --hvm win10 --label red --mem=4096 --root-move-from >>>> /home/user/win10-root.img >>>> >>>> qvm-create: error: unrecognized arguments: --hvm --mem=4096 >>>> >>>> Source : https://www.qubes-os.org/doc/hvm/ >>> You're using 3.2 commands, see the "R4.0: ..." paragraph below in the doc. >>> >>> The following command should do the trick: >>> >>> qvm-create win10 \ >>> --class StandaloneVM \ >>> --property virt_mode=hvm \ >>> --property kernel='' \ >>> --label=red \ >>> --property memory=4096 \ >>> --property maxmen=4096 \ >>> --root-move-from /home/user/win10-root.img >>> >>> >>> >>>> How to create a new PVH instead of HVM in Dom0 with the root image from >>>> R4.0 ? >>>> >>>> Thank you so much for your help. >>>> >>>> Best regards. >>>> > I think the issue of > 10GB images being truncated via ---root-copy-from > during create still exists. See this Issue is still open in the tracker: > > https://github.com/QubesOS/qubes-issues/issues/3422 > > You'll likely need to qvm-create w/o the root-copy-from, then qvm-grow-root, > then copy the image to the right volume listed in /dev/mapper. > > See this thread (and choose commands wisely!): > > https://groups.google.com/forum/#!topic/qubes-users/vBk-jjvoeT0 > > Brendan > Hi Brendan,
It seems to be the solution to this problem. I'll test this with caution. Thank you so much for your help. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/944cfb62-b580-df18-207d-8180e09e32fe%40gmail.com. For more options, visit https://groups.google.com/d/optout.
