i just installed Ubuntu 16.04 but during the installation i choose "use LVM with the new Ubuntu installation" on the installation type wizard. After the installation i plugged live Ubuntu again and choose "Try Ubuntu" and used G Parted for partition but when i do that the disk ("lvm2 pv") have a "key" symbol in it and said to un-mount before resize.but i couldn't do that.how can i unmount that drive and how can i partition my drive
can someone help me with this issue.

#1
Posted 13 July 2017 - 05:23 AM

#2
Posted 14 July 2017 - 08:44 PM

Hello salimHydro,
My name is UnloosedCake, and I'm here to help you with this issue!
If you're running the OS off of a certain partition, you cannot unmount/resize that partition while the OS is turned on. You'd have to hook up the hard drive to another computer and resize it there, but that could cause boot issues.
Have you tried going through the installation process a second time, and just completely wiping and re-partitioning the drive? As long as you don't have any important data there, that'd be the easiest way to make sure Ubuntu works with the partition.
-------------------------
If these steps don't work, I have a few questions to hopefully get the right solution:
- How many partitions are on the physical hard drive?
- How is the OS installed? Is it running off of the hard drive itself? CD? Thumb drive?
- Are you running a 'live' version of the OS or is it fully installed? (Do your settings revert to factory ones each time you restart the computer?)
- Can you post a screenshot of the message you're receiving when the issue occurs?
#3
Posted 20 July 2017 - 11:50 PM

try few things here:
you obviously have a swap partition along with your lvm2 partition right
do the swapoff command
sudo swapoff -a
if this didn't work use the logical volume management tool for the the partition from the Live CD
the link will help you :https://www.howtogee...vms-with-a-gui/
Similar Topics
Also tagged with one or more of these keywords: ubuntu, partition
![]() |
Software →
Applications →
Virtual Machine not running installStarted by Wafna , 12 Dec 2022 ![]() |
|
![]()
|
|
![]() |
Hardware →
Hardware, Components and Peripherals →
Format New External Hard Drive to exFAT with RAW resultsStarted by lela , 06 Sep 2021 ![]() |
|
![]()
|
|
![]() |
Operating Systems →
Linux →
Dota2 crashing in Ubuntu 18.04Started by VinodAntony10 , 23 Apr 2020 ![]() |
|
![]()
|
|
![]() |
![]() Keyboard & trackpad not working after installing & uninstallinStarted by JanakiL , 23 Nov 2019 ![]() |
|
![]()
|
|
![]() |
![]() If format C: and install Linux, then later will recovery partition helStarted by nouman1741 , 04 Feb 2017 ![]() |
|
![]()
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
As Featured On:






