Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How to do partition after installing Ubuntu16.04


  • Please log in to reply
12 replies to this topic

#1 theprogrammer

theprogrammer

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 13 July 2017 - 07:21 AM

i just installed Ubuntu 16.04 but during the installation i choose "use LVM with the new Ubuntu installation". 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.
can someone help me with this issue.



BC AdBot (Login to Remove)

 


#2 JohnC_21

JohnC_21

  • Members
  • 24,311 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:09 PM

Posted 14 July 2017 - 08:28 AM

I am going to provide you with some links to get you started.

 

https://www.howtogeek.com/howto/36568/what-is-logical-volume-management-and-how-do-you-enable-it-in-ubuntu/

 

https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/

 

https://www.howtogeek.com/211937/how-to-use-lvm-on-ubuntu-for-easy-partition-resizing-and-snapshots/

 

Note: I have not used the following partition tool but it is said to work on a LVM-LUKS disk. It's available on the live distro of Fedora 26. After booting to the Fedora desktop open a terminal and input blivet-gui

 

https://fedoramagazine.org/manage-your-partitions-like-in-anaconda-with-blivet-gui/

 

Backup your important data first before doing any partition management.


Edited by JohnC_21, 14 July 2017 - 08:42 AM.


#3 theprogrammer

theprogrammer
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 17 July 2017 - 12:00 AM

Im using Ubuntu.and i have gone through all those links even before posting here.but nothing worked so far anyway thanks for the effort.



#4 JohnC_21

JohnC_21

  • Members
  • 24,311 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:09 PM

Posted 17 July 2017 - 08:28 AM

The last link I provided did not work either, using a live Fedora disk and blivet? 



#5 sivaprakashPB

sivaprakashPB

  • Members
  • 42 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:39 AM

Posted 17 July 2017 - 11:51 PM

The last link I provided did not work either, using a live Fedora disk and blivet? 

 

is that only for fedora or is it compatible for ubuntu 16.04 too

 

i tried Gparted Live Cd and Logical Volume Management App

sorry to intrude i have the same issue too


Edited by sivaprakashPB, 18 July 2017 - 12:33 AM.


#6 JohnC_21

JohnC_21

  • Members
  • 24,311 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:09 PM

Posted 18 July 2017 - 06:47 AM

I don't believe it is available on Ubuntu, only Redhat and Fedora. You can boot the live Fedora 26 DVD and use blivet-gui on your HDD. As I previously posted, I have no experience with it.

 

https://download.fedoraproject.org/pub/fedora/linux/releases/26/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-26-1.5.iso

 

See this Ubuntu thread

 

https://askubuntu.com/questions/196125/how-can-i-resize-an-lvm-partition-i-e-physical-volume


Edited by JohnC_21, 18 July 2017 - 06:48 AM.


#7 theprogrammer

theprogrammer
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 19 July 2017 - 11:16 PM

i gone through that Ubuntu thread before .its not working,

while using LVM app it says "device is not mounted but in use need to unmount it first ".couldn't unmount it.

let me try fedora live CD



#8 Al1000

Al1000

  • Global Moderator
  • 7,883 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:10:09 PM

Posted 20 July 2017 - 06:42 AM

I've never used LVM, but a similar situation would exist with an extended partition that contains an active swap partition. In that case, switching swap off temporarily would do the trick. It may be worth a try to see if that's what needs done in your situation too.

To switch swap off, run this command in a terminal:
sudo swapoff -a
Now refresh devices in GParted, and see if the padlock is gone.

Edited by Al1000, 20 July 2017 - 06:42 AM.


#9 ProfTheory

ProfTheory

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:05:09 PM

Posted 17 September 2017 - 09:11 PM

blivet-gui needs to be added to the live desktop but does come with the "Security spin". I have used it and it isn't quite ready for prime time as it does crash at times - but not always. It's best to go a step at a time and you may need to reboot to keep the kernel in sync with any changes.
I'm also looking to dual boot Ubuntu 16.04 with Fedora 26 using separate LVMs. For custom installs I give Fedora higher marks in this area. But Fedora doesn't give you any options as to where grub gets installed.

 


Note: I have not used the following partition tool but it is said to work on a LVM-LUKS disk. It's available on the live distro of Fedora 26. After booting to the Fedora desktop open a terminal and input blivet-gui

 

https://fedoramagazine.org/manage-your-partitions-like-in-anaconda-with-blivet-gui/

 

Backup your important data first before doing any partition management.


Edited by ProfTheory, 17 September 2017 - 09:13 PM.


#10 ProfTheory

ProfTheory

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:05:09 PM

Posted 19 September 2017 - 04:21 AM

Update: Actually blivet-gui is already installed in the Live Desktop as JohnC_21 mentioned. 



#11 theprogrammer

theprogrammer
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 21 September 2017 - 01:29 AM

The problem is solved. i Used the LVM gui tool .(looks like a kinda blue pipe).and there i added partition and after restarting it worked............



#12 JohnC_21

JohnC_21

  • Members
  • 24,311 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:09 PM

Posted 21 September 2017 - 07:30 AM

The problem is solved. i Used the LVM gui tool .(looks like a kinda blue pipe).and there i added partition and after restarting it worked............

Thanks for the update. I am providing a link that may help other people with the tool.

 

https://www.howtogeek.com/127246/linux-sysadmin-how-to-manage-lvms-with-a-gui/



#13 theprogrammer

theprogrammer
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 25 September 2017 - 01:34 AM

Yeah John This was the tool i used .






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users