Android-x86 'no hard-drive detected'

Okay so I was making quite a big assumption that what Unman shared was a guide, but more an example or notes and requires actually having to go through everything myself.

I’m fairly confident I’ve figured out the exact problem and where I need help specifically. A noob issue by not understanding a command and how to move files correctly.

So I ran through the patch_init commands manually. It made a temp directory, and if I understand unzipped the contents of stubdom in the temp directory to make the IDE edit.

So I proceeded all the way to line 12, and tried that command. Then in the temp directory I used nano on the init file and searched for if=IDE change. This change it did not find.

By you asking me to walk through this step by step, I figured out the problem. I think.

Because I never opened these files, I assumed that by placing “init_patch” file in the vm qubes1’s /home/user/patch/ folder, that following Unmans process and using his script that dom 0 would some how find where I placed init_patch.

Am I correct this is my error? That instead I need to place init_patch in dom0’s /home/user/patch or change the directory in the script?

And this is where I ran into trouble. I tried my best to make this directory in dom0, I tried to move the file which all says directory not found or file permissions issues even when I run sudo. Then I tried to do

sed -i "/IFS=\\$/ r qemu_dmargs/init_patch" init

And it says directory not found. Or when I could get the command to fire, I’d check init again and no changes.

I’m really having trouble with cd #, versus ~, /, etc. I don’t really know what I’m doing here.

So if I’m correct about this mistake, could you please tell me how to move the file in the right place or what edits I should make in running the "sed -i “/IFS=\$/ r” command to make this init edit finish, I think that would resolve the issue.

Ultimately I am learning a lot so I think although frustrating at moments, it’s a been a worthwhile challenge to get this working.