Results 1 to 5 of 5

Thread: Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

  1. #1
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

    Please use this thread for discussion regarding

    http://ubuntuforums.org/showthread.php?t=1782296

    Support threads should be posted in normal forums.

    Thank you.

  2. #2
    Join Date
    May 2012
    Beans
    33

    Re: Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

    IMPORTANT: a install with this method did fail in the end, the kernel couldnt boot. /dev/mapper/vgpool wasnt available.
    ther ALTERNATE install cd does come with lvm support and is needed!


    i really like the article but you might want to add this:

    if you already have a lvm setup before you need to run:
    vgscan
    vgchange -a y sysvg

    to make the old entries available to the kernel like pointed out by pcas.
    Last edited by KisteBecks; September 29th, 2012 at 09:59 AM.

  3. #3
    Join Date
    Mar 2006
    Location
    Somewhere Ohio
    Beans
    411
    Distro
    Gutsy Gibbon Testing

    Re: Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

    Fixed section on the post install instructions had echo foo >> /etc/modules to echo foo >> /etc/modules

  4. #4
    Join Date
    Jun 2013
    Beans
    1

    Re: Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

    I ran into an error on the very last command of the guide:

    Install LVM2 onto your chroot file system:
    Code:
    root@ubuntu:/# apt-get -y install lvm2
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package lvm2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'lvm2' has no installation candidate
    I found that I had to update the lists of packages with apt-get before that last command would work:
    Code:
    root@ubuntu:/# apt-get update

  5. #5
    Join Date
    Oct 2013
    Beans
    1

    Re: Discussion - https://help.ubuntu.com/community/UbuntuDesktopLVM

    I know it's an optional section, but it's worth noting that before incanting
    Code:
    sudo chroot /mnt
    the following stanzas would be VERY helpful:
    Code:
    cp -L /etc/resolv.conf /mnt/etc/
    mount -t proc none /mnt/proc
    mount --rbind /sys /mnt/sys
    mount --rbind /dev /mnt/dev
    (Adapted from the Gentoo Handbook - I used to use Gentoo, was a very good learning experience, but I no longer have the time to maintain it... )

    The first stanza makes it so your chroot can access the network, the rest make sure everything else is functional so that no operations will choke.

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
  •