I just bought a new computer with an HDD + SSD. I must've accidentally encrypted the HDD it during installation, although I am sure I did undo it, but here it is, encrypted and even if I put the password it will display the error:
An error occurred while accessing '930.3 GiB Encrypted Drive', the system responded: An unspecified error has occurred: No such interface 'org.freedesktop.UDisks2.Filesystem' on object at path /org/freedesktop/UDisks2/block_devices/dm_2d3
So I want to remove it. It has nothing in it, since it is a brand new computer, and it was when I found out about lvremove
and lvscan
, but lvscan
shows me the following:
root@gabriel:/home/gabriel# lvscan
ACTIVE '/dev/kubuntu-vg/root' [117.04 GiB] inherit
ACTIVE '/dev/kubuntu-vg/swap_1' [976.00 MiB] inherit
inactive '/dev/kubuntu-vg/root' [<929.34 GiB] inherit
inactive '/dev/kubuntu-vg/swap_1' [976.00 MiB] inherit
df
root@gabriel:/home/gabriel# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3999308 0 3999308 0% /dev
tmpfs 806208 1664 804544 1% /run
/dev/mapper/kubuntu--vg-root 120276728 8690824 105433100 8% /
tmpfs 4031032 65164 3965868 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4031032 0 4031032 0% /sys/fs/cgroup
/dev/sdb2 721392 150632 518296 23% /boot
/dev/sda1 523248 6228 517020 2% /boot/efi
tmpfs 806204 0 806204 0% /run/user/119
tmpfs 806204 12 806192 1% /run/user/1000
gparted
I tried lvremove
/dev/sda(1):
root@gabriel:/home/gabriel# lvremove /dev/sda(1)
Volume group "sda(1)" not found
Cannot process volume group sda(1)
the (1) means I tried with "sda" and "sda1". I also attempted with 3, but same message.
I am supposing the volume group would be the /dev/kubuntu-vg/root|swap_1
, but they are duplicated. How do I remove the logical volume of my HDD?
cfdisk
for repartitioning, yet? I assume the HDD can be wiped without concern. – FelixJN Oct 27 '18 at 13:18vgreduce --removemissing kunbunu_vg
– Archemar Oct 27 '18 at 13:44cfdisk
, somehow the SDD went weird and was not seen on boot, but I am sure to have selected the HDD. Tried a clean install and had an error when installing grub, so I simply wiped everything with GParted. – Oct 27 '18 at 14:14