Results 1 to 10 of 14

Thread: 12.10 install with LVM on dual boot system

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Beans
    36

    12.10 install with LVM on dual boot system

    I posted this in the Security Discussion forum but didn't get any responses so I'm posting here to see if anyone knows a workaround for this.

    I'm trying to install Ubuntu 12.10 to my hard drive. I already have windows 7 installed on the drive and I play to encrypt it with TrueCrypt once I get linux working.

    I've done this before with the 12.04 version using the alternate CD but I'm having problems setting up LVM on my drive. I create a 250MB ext4 /boot partition and then create a LVM. Then in the LVM I make a / ext4 partition. The problem is that I can't split up the LVM to make a /swap.

    I was using the "something else" option in the partitioning step so that I can setup a /boot partition and not have ubuntu overwrite my MBR since I will need TrueCrypt to do that when I install it.

    I feel like there is something obvious that I am missing but I can't figure it out.

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: 12.10 install with LVM on dual boot system

    How are you creating the logical volume for root? Assuming you give all LVM space to a single volume group, you create the root LV in that VG but with a smaller size than the total VG size. That way you can also create the swap LV in the same VG.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Dec 2006
    Beans
    36

    Re: 12.10 install with LVM on dual boot system

    Hey thanks for replying. Sorry about the slow response I've been very busy with work.

    I just thought I found a workaround

    Once I setup the encrypted logical volume I see it and it has one partion in it but I cannot resize that partition. I can assign it a mount point but if I do not create a swap then the installer complains about there being no swap. I just figured out that if I double click on the encrypted volume I can create a new partition table with swap, /home/ and /, but then the installer crashed while it was setting up my partition tables....

    I'm going to reboot and try again. I will edit the thread to say if it works this time. I think I may have also read something about the lack of LVM compatibility in 12.10 so we'll see.
    Attached Images Attached Images

  4. #4
    Join Date
    Feb 2013
    Beans
    8

    Re: 12.10 install with LVM on dual boot system

    I've done this before and had the same problems. I ended up installing Ununtu as the only OS - it will give you all of the proper partitioning tools then [f-disk] - segment an area for boot/recovery/sda and fresh windows 7. you'll have to back up your data obviously - but linux writes the hard drive in a way that windows can't boot properly unless it's installed second on certain laptops. try just updating your BIOS from the manufacturer first - that worked for me in one install aw well.

  5. #5
    Join Date
    Dec 2006
    Beans
    36

    Re: 12.10 install with LVM on dual boot system

    Actually, it looks like ubuntu 12.10 does not support custom LVM layouts which is a pretty big thing to be missing.

    http://www.tutonics.com/2012/11/ubun...de-part-1.html

    I'm just going to do a regular install and then set it up with LVM once I have it installed. Then I'll encrypt my windows partition with truecrypt.

  6. #6
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: 12.10 install with LVM on dual boot system

    What do you mean it doesn't support custom LVM? You can do what ever you want. Maybe it doesn't have an automated process that suits your needs, because different people have different needs so there can't be auto process for everyone, but manually you can do what you want with LVM.

    Since you also want to encrypt the disk, or only one OS, that could be an issue you have to work to solve.

    But LVM as LVM is very flexible and you can set it up how ever you want.

    For example, what do you want your custom LVM to look like?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

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
  •