Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionError #2396

Open
DevLenn opened this issue Mar 8, 2024 · 7 comments
Open

PermissionError #2396

DevLenn opened this issue Mar 8, 2024 · 7 comments

Comments

@DevLenn
Copy link

DevLenn commented Mar 8, 2024

Hi,

i don't understand why i'm getting the following error by executing archinstall with root permission in order to install arch.
It's not my first time installing arch and i would consider my self as a somewhat-experienced arch user, it's just i've never experieced the following error:

image

Btw: it's running in a vmware VM

@Tacit-git
Copy link

vbox, error too

@Torxed
Copy link
Member

Torxed commented Mar 9, 2024

Could it be that it's in use? Mounted or otherwise?

@DevLenn
Copy link
Author

DevLenn commented Mar 9, 2024

@Torxed nope, created two different virtual drives on two different vm's, and tried Installing on both of them. Same Error.
Tried updating pacman keys and packages as well...

@Torxed
Copy link
Member

Torxed commented Mar 10, 2024

Could you try:
# python -c "with open('/dev/yourDevice', 'wb') as p:; p.write(bytearray(1024))"

And if that fails, which it should, try:
# dd if=/dev/zero of=/dev/yourDevice bs=1 count=1024

And if that fails, which it should not, try:
# parted /dev/yourDevice mklabel gpt

And lastly, can you post your virtual disk setup? If you have custom SCSI controllers etc I'll need those too, and root hubs if you have custom PCI hubs/ports. And the disk conf itself, such as virtio driver etc.

@DevLenn
Copy link
Author

DevLenn commented Mar 10, 2024

first command didn't fail, it just returned nothing.
My disk is a .vmdk created automatically by vmware (File --> create new virtual machine --> typical (recommendet) --> i will install the operating system later --> Linux 5x kernel 64 bit --> ..., just the normal procedure of creating a vm), --> SCSI 128gb
I dont know which file the disk conf is in vmware workstation
Dont have any custom stuff

last time i installed arch should be around august/september of last year. everything worked normally back then, on bare metall same as on VMs

@Torxed
Copy link
Member

Torxed commented Mar 10, 2024

Weird, the first command is just a copy paste from our source code oÔ.
I can give it a try with vmware workstation or something.

@DevLenn
Copy link
Author

DevLenn commented Mar 13, 2024

yeah idk, very weird, never had a probem with archinstall before...
does it work for you in vmware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants