Why are my disk partitions marked as busy during an Arch installation?

0
0
Asked By MellowCedar47 On

I'm manually installing Arch Linux on a BIOS-based system and can't format the partitions on /dev/sda. Tools report that /dev/sda1, /dev/sda2, and /dev/sda3 are in use, even though none of them appear to be mounted. I verified that I'm working on the correct drive rather than the installation USB, ran lsblk several times, disabled swap with swapoff -a, and also tried wipefs, which returned "device or resource busy." What could be keeping the partitions locked?

1 Answer

Answered By QuietMaple8 On

First, check the drive layout with `fdisk -l /dev/sda` and look for anything that might still be active. In this case, the partitions were being held by other suspended fdisk sessions. Closing those leftover sessions released the device, after which the partitions could be changed and formatted normally.

MellowCedar47 -

That was the issue—some other fdisk sessions had been suspended and were still holding the device. I closed them and everything worked.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.