You are not logged in.

#1 2015-02-12 02:58:34

iliketrees
Member
Registered: 2015-02-12
Posts: 2

Dm-crypt error: Cannot format device /dev/sda1 which is still in use

I have been following this guide: https://wiki.archlinux.org/index.php/Dm-crypt
So far I have securely erased and partitioned the disk. But when I get to the second part of the guide where I am supposed to actually encrypt the partition/s I get an error. I am running the following command:
# cryptsetup -c aes-xts-plain64 -y -s 512 luksFormat /dev/sda1
"Cannot format device /dev/sda1 which is still in use."

Offline

#2 2015-02-12 06:31:26

iliketrees
Member
Registered: 2015-02-12
Posts: 2

Re: Dm-crypt error: Cannot format device /dev/sda1 which is still in use

I don't know what was using it (or why) but I just restarted the computer and it seemed to work fine.

Offline

Board footer

Powered by FluxBB