Why are my disk partitions still marked as busy during installation?

0
0
Asked By MellowCedar47 On

I'm manually installing Arch on a BIOS-based system and keep getting errors that /dev/sda1, /dev/sda2, and /dev/sda3 are in use, so I can't format them with mkfs. The partitions aren't mounted, I've confirmed I'm working on the correct drive rather than the USB installer, and I've already run swapoff -a. Even wipefs reports "device or resource busy." What could still be holding the partitions open?

1 Answer

Answered By QuietHarbor8 On

Check whether another fdisk or partitioning program is still running. In this case, suspended fdisk sessions were holding the disk open, which made the partitions appear busy even though they weren’t mounted. Exit or terminate those sessions, then retry the formatting or wipefs commands.

MellowCedar47 -

That was it—some other suspended fdisk sessions were blocking the disk. Closing them fixed the problem.

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.