Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am installing a fresh install of ubuntu 12.10, and says than I can install ubuntu using the entire disk and creating LVM "partitions", but my plan is to install Windows 7 using one of those LVM partitions for dual boot, is this possible?

what is the right strategy to do this?

share|improve this question
add comment

4 Answers

up vote 1 down vote accepted

If you want to run Windows natively it would have understand LVM, and that seems to not be the case(1, 2).

I suppose you could allocate a virtual machine disk on a LVM partition, and run Windows inside the virtual machine.

However, if you are only concerned about using LVM in Ubuntu you can

  • install Windows on raw disk partitions
  • Install grub on one partitition (to boot) and LVM on another partition and allocate all remaining volumes from inside the LVM.
share|improve this answer
    
at last, thanks! –  Joe Cabezas Apr 1 at 13:26
    
So are you going to install virtual or native? –  Eero Aaltonen Apr 1 at 14:21
    
I am not going to install anything, just wanted to learn, but I use windows just for games, that being said, native. –  Joe Cabezas Apr 1 at 18:12
add comment

install windows 7 first then ubuntu over the top. the ubuntu installer will take care of partitioning for you. i usually split the disk in two when installing windows so i have a separate 'data' partition but you don't have to do that. you can actually install ubuntu from within windows using the windows installer. if in doubt do it that way because it's easy peasy to uninstall if you don't like it.

share|improve this answer
2  
this have nothing to do with LVM, sorry –  Joe Cabezas Dec 20 '12 at 2:54
1  
It's not perfectly relevant to LVM, Joe, but I think the poster makes one crucial observation - it's far easier to install Windows 7 FIRST, then install Ubuntu. If you do it the other way around, you'll hit horrible issues with having to re-install Grub - and I say horrible, because you'll have to take your LVM partioning into account when you do so! –  Scaine Jan 14 '13 at 20:41
add comment

with Ubuntu's Ubiquity installer (LVM supported since version 12.10) this is not possible if you install Ubuntu on the same physical drive as Windows 7. However, I wonder myself if there is a way to do it nevertheless, maybe using other tools or do it via terminal?

share|improve this answer
    
Welcome to AskUbuntu! You may want to add a more precise solution for the original poster to follow. –  Oyibo Jan 14 '13 at 20:38
add comment

Here is a guide on how to setup LVM manually with full disk encryption. I tested this with 12.10 and it should work with Windows installed first.

Full disk encryption with Ubuntu (9.04 Jaunty or newer), LVM and LUKS

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.