Results 1 to 10 of 10

Thread: Partitioning, LVM

  1. #1
    Join Date
    Oct 2013
    Beans
    4

    Question Partitioning, LVM

    Hi there

    I am currently trying to create a new partition using GParted Live CD so I can install Win 7 as a dual boot system on my laptop.

    My understanding is that I need to resize (shrink) sda2 by 25gb and then create a new 25gb NTFS partition on which to install Windows.

    Problem is I cannot resize sda2 or sda5 (the slider won't move) to make any room. I'm new to Linux so I'm sure I'm missing something blindingly obvious, so any help would be appreciated!

    Thanks!


  2. #2
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition hell - HELP please!!

    using the live cd select the partition you want to resize (right click > unmount partition). Or check in the menu tab I think is tools> unmount partition

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

  3. #3
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Partition hell - HELP please!!

    Not only is it extended but also under LVM. What prompted you to use LVM? Was this an original Ubuntu install. It looks like the LVM partition is full, or maybe that's how LVM partitions always look. I only installed LVM once and once was enough.

    You could backup what OS you have there,and then start from scratch. Unless someone comes along that is LVM literate.

  4. #4
    Join Date
    Oct 2013
    Beans
    4

    Re: Partition hell - HELP please!!

    Quote Originally Posted by fdrake View Post
    using the live cd select the partition you want to resize (right click > unmount partition). Or check in the menu tab I think is tools> unmount partition
    There is no option to unmount sda1 or sda2 and Mount is greyed out for both.

  5. #5
    Join Date
    Oct 2013
    Beans
    4

    Re: Partition hell - HELP please!!

    Quote Originally Posted by VMC View Post
    Not only is it extended but also under LVM. What prompted you to use LVM? Was this an original Ubuntu install. It looks like the LVM partition is full, or maybe that's how LVM partitions always look. I only installed LVM once and once was enough.

    You could backup what OS you have there,and then start from scratch. Unless someone comes along that is LVM literate.
    Thanks for your reply..

    I am running Zorin. I may have installed Ubuntu originally and then uninstalled it. To be honest, I just followed the install instructions and have no clue what LVM is!

    I have no idea how to backup the OS and start from scratch!

    Are you saying the partition sda2 is full (that is what sda5 shows)?

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Partition hell - HELP please!!

    I do not know LVM, nor encryption, other than LVM is a logical partition system overlayed over the physical partitions. It advantage is that then you can easily modify sizes of partitions, but it is another layer and adds complications. You cannot use standard partition tools to change lvm but have to use lvm tools.

    When you choose full disk encryption you get lvm. That is not a typical standard install.

    Advantages/Disadvantages LVM Post #9
    http://ubuntuforums.org/showthread.php?t=1586328
    https://wiki.ubuntu.com/Lvm
    https://help.ubuntu.com/community/UbuntuDesktopLVM
    lvm How-To info older:
    http://ubuntuforums.org/showthread.php?t=141900
    http://tldp.org/HOWTO/LVM-HOWTO/index.html
    http://tldp.org/HOWTO/LVM-HOWTO/benefitsoflvmsmall.html
    sudo apt-get install lvm2
    sudo vgchange -ay

    Linux encryption will not work with Windows.
    If you really want encryption then you may want to look into truecrypt.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Oct 2013
    Beans
    4

    Re: Partition hell - HELP please!!

    Ok, so as I understand it I must have chosen to encrypt my hard drive during installation, hence the LVM partition.

    I guess I have 2 options:

    1) Search and understand how to resize the LVM partition
    2) Unencrypt the hdd

    Is this correct? If so, which would you recommend?

    Thanks


    Quote Originally Posted by oldfred View Post
    I do not know LVM, nor encryption, other than LVM is a logical partition system overlayed over the physical partitions. It advantage is that then you can easily modify sizes of partitions, but it is another layer and adds complications. You cannot use standard partition tools to change lvm but have to use lvm tools.

    When you choose full disk encryption you get lvm. That is not a typical standard install.

    Advantages/Disadvantages LVM Post #9
    http://ubuntuforums.org/showthread.php?t=1586328
    https://wiki.ubuntu.com/Lvm
    https://help.ubuntu.com/community/UbuntuDesktopLVM
    lvm How-To info older:
    http://ubuntuforums.org/showthread.php?t=141900
    http://tldp.org/HOWTO/LVM-HOWTO/index.html
    http://tldp.org/HOWTO/LVM-HOWTO/benefitsoflvmsmall.html
    sudo apt-get install lvm2
    sudo vgchange -ay

    Linux encryption will not work with Windows.
    If you really want encryption then you may want to look into truecrypt.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Partition hell - HELP please!!

    I do not know lvm well enough to help. The links I posted I think are a start if you want to learn lvm.

    You unencrypt your system when you boot and give pass phrase. You then should be able to backup /home to an unencrypted copy on a large flash drive or other drive.

    In fact with encryption you must have really good backup procedures as any of the standard partition recovery tools will not work. And we regularly get users with drive issues and want to recovery data. Once encrypted it is not possible to get to unless it at least loads enough to ask for pass phrase.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Partition hell - HELP please!!

    The experts may have a different opinion, but from what I've always heard, it is unwise to install Windows after installing Linux. I believe the quickest, and least troublesome route is to install Win7 first, allowing it to install on the entire drive, and then shrink the Windows partition size from within Windows using the Disk Management tool. Afterwards, you can just install Ubuntu beside Windows, and let the Ubuntu installer handle all the partitioning for you. This what I have done in the past, and it has served me well.
    Last edited by Petro Dawg; October 26th, 2013 at 05:21 AM.
    Who's Awesome? You're Awesome.

  10. #10
    Join Date
    May 2006
    Location
    Boston
    Beans
    1,918
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Partition hell - HELP please!!

    +1
    instruction for resizing encrypted partition : https://help.ubuntu.com/community/Re...ptedPartitions

    blog
    Donations BTC : 12FwoB7uAM5FnweykpR1AEEDVFaTLTYFkS
    DOUBLEPLUSGOOD!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •