You are not logged in.

#1 2023-11-25 03:12:16

Enbionic
Member
Registered: 2023-09-10
Posts: 6

VM archinstall fail???

Hello! I'm relatively new to arch and using computers in general. I'm trying to install Arch as a vm in KVM QEMU and I ran into a problem as soon as it began installing. Does anyone know what I'm looking at and why it might be happening? I'm also trying to learn how to retrieve the log file it references at the end and tells you to use the curl command. Any help would be appreciated, thanks!!

Unmounting all existing partitions: /dev/loop0
Wiping partitions and metadata: /dev/loop0
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/archinstall/__init__.py", line 329, in run_as_a_module
    main()
  File "/usr/lib/python3.11/site-packages/archinstall/__init__.py", line 324, in main
    importlib.import_module(mod_name)
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 254, in <module>
    fs_handler.perform_filesystem_operations()
  File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/filesystem.py", line 54, in perform_filesystem_operations
    device_handler.partition(mod, partition_table=partition_table)
  File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler.py", line 522, in partition
    self.wipe_dev(modification.device)
  File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler.py", line 661, in wipe_dev
    self._wipe(block_device.device_info.path)
  File "/usr/lib/python3.11/site-packages/archinstall/lib/disk/device_handler.py", line 648, in _wipe
    with open(dev_path, 'wb') as p:
PermissionError: [Errno 1] Operation not permitted

Edit: I tried switching from uefi to bios to no avail. I'm not sure what all the different options for Open Source Virtual Firmware are but I don't think that has been the issue.

Last edited by Enbionic (2023-11-25 04:50:41)


My Wins Are Your Wins Your Losses Are My Losses

Offline

#2 2023-11-25 07:03:28

astralc
Member
Registered: 2022-09-17
Posts: 127

Re: VM archinstall fail???

why are you trying to install on the existing iso root partition (if I read the first two line correctly)? /dev/loop0

Offline

#3 2023-11-25 13:01:11

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: VM archinstall fail???

Please use code tags when posting terminal output.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode

If you're new to Arch you should follow the Installation Guide.

Last edited by WorMzy (2023-11-25 13:02:08)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2023-11-27 02:09:25

Enbionic
Member
Registered: 2023-09-10
Posts: 6

Re: VM archinstall fail???

Yes you're correct astralc it was trying to install over itself. A silly mistake on my part. Thank you for the tip about tags WorMzy, I wasn't aware of pastebin.

I'll be going through the manual installation soon thanks.


My Wins Are Your Wins Your Losses Are My Losses

Offline

Board footer

Powered by FluxBB