LVM dual-boot windows











up vote
0
down vote

favorite












Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and not terribly familiar with lvm just yet (much better at VM and MBR using an extended partition)



currently via gdisk



Disk /dev/sda: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E26BE449-8A6A-4417-AE21-0AFCAA481CAB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2349 sectors (1.1 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 8300
2 1026048 403458047 191.9 GiB 8E00
3 403458048 488396799 40.5 GiB 8E00


attempting to go to -> (have only 2Gb on MOBO and NON-UEFI aware Dell D620 BIOS A10



/dev/sda
sda1 --200M,-Boot,/EFI,FAT32 (hybrid MBR?)
sda2 --256M,-Boot,/boot,EXT2,Petra
sda3 --256M,-Boot,/boot,EXT2,Heisenberg
sda4 --256M,-Boot,/boot,EXT2,Arch
sda5 --256M,-Boot,/boot,EXT2,Win7
sda6 --191G,LVM,EXT4
VG-(main system)
LV -10G -Petra VG-main
LV -10G -Heisenberg VG-main
LV -10G -Arch VG-main
LV -40G -Win7 VG-main
LV -30G -usr VG-main
LV -91G -home VG-main
sda7, 40G,LVM,EXT4)
VG-(Oracle VM
LV -10G -VirtualBox Oracle
LV -30G -Virtual-home Oracle
sda8, 15G,LVM,Swap
LV -15G -n Swap VG-main


remarks on any other issues / better schemes I may not see or foresee would be appreciated










share|improve this question















migrated from stackoverflow.com Jan 24 '14 at 19:14


This question came from our site for professional and enthusiast programmers.















  • to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
    – linuxdev2013
    Jan 24 '14 at 17:35










  • Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
    – linuxdev2013
    Jan 24 '14 at 18:03















up vote
0
down vote

favorite












Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and not terribly familiar with lvm just yet (much better at VM and MBR using an extended partition)



currently via gdisk



Disk /dev/sda: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E26BE449-8A6A-4417-AE21-0AFCAA481CAB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2349 sectors (1.1 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 8300
2 1026048 403458047 191.9 GiB 8E00
3 403458048 488396799 40.5 GiB 8E00


attempting to go to -> (have only 2Gb on MOBO and NON-UEFI aware Dell D620 BIOS A10



/dev/sda
sda1 --200M,-Boot,/EFI,FAT32 (hybrid MBR?)
sda2 --256M,-Boot,/boot,EXT2,Petra
sda3 --256M,-Boot,/boot,EXT2,Heisenberg
sda4 --256M,-Boot,/boot,EXT2,Arch
sda5 --256M,-Boot,/boot,EXT2,Win7
sda6 --191G,LVM,EXT4
VG-(main system)
LV -10G -Petra VG-main
LV -10G -Heisenberg VG-main
LV -10G -Arch VG-main
LV -40G -Win7 VG-main
LV -30G -usr VG-main
LV -91G -home VG-main
sda7, 40G,LVM,EXT4)
VG-(Oracle VM
LV -10G -VirtualBox Oracle
LV -30G -Virtual-home Oracle
sda8, 15G,LVM,Swap
LV -15G -n Swap VG-main


remarks on any other issues / better schemes I may not see or foresee would be appreciated










share|improve this question















migrated from stackoverflow.com Jan 24 '14 at 19:14


This question came from our site for professional and enthusiast programmers.















  • to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
    – linuxdev2013
    Jan 24 '14 at 17:35










  • Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
    – linuxdev2013
    Jan 24 '14 at 18:03













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and not terribly familiar with lvm just yet (much better at VM and MBR using an extended partition)



currently via gdisk



Disk /dev/sda: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E26BE449-8A6A-4417-AE21-0AFCAA481CAB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2349 sectors (1.1 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 8300
2 1026048 403458047 191.9 GiB 8E00
3 403458048 488396799 40.5 GiB 8E00


attempting to go to -> (have only 2Gb on MOBO and NON-UEFI aware Dell D620 BIOS A10



/dev/sda
sda1 --200M,-Boot,/EFI,FAT32 (hybrid MBR?)
sda2 --256M,-Boot,/boot,EXT2,Petra
sda3 --256M,-Boot,/boot,EXT2,Heisenberg
sda4 --256M,-Boot,/boot,EXT2,Arch
sda5 --256M,-Boot,/boot,EXT2,Win7
sda6 --191G,LVM,EXT4
VG-(main system)
LV -10G -Petra VG-main
LV -10G -Heisenberg VG-main
LV -10G -Arch VG-main
LV -40G -Win7 VG-main
LV -30G -usr VG-main
LV -91G -home VG-main
sda7, 40G,LVM,EXT4)
VG-(Oracle VM
LV -10G -VirtualBox Oracle
LV -30G -Virtual-home Oracle
sda8, 15G,LVM,Swap
LV -15G -n Swap VG-main


remarks on any other issues / better schemes I may not see or foresee would be appreciated










share|improve this question















Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and not terribly familiar with lvm just yet (much better at VM and MBR using an extended partition)



currently via gdisk



Disk /dev/sda: 488397168 sectors, 232.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E26BE449-8A6A-4417-AE21-0AFCAA481CAB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 488397134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2349 sectors (1.1 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 8300
2 1026048 403458047 191.9 GiB 8E00
3 403458048 488396799 40.5 GiB 8E00


attempting to go to -> (have only 2Gb on MOBO and NON-UEFI aware Dell D620 BIOS A10



/dev/sda
sda1 --200M,-Boot,/EFI,FAT32 (hybrid MBR?)
sda2 --256M,-Boot,/boot,EXT2,Petra
sda3 --256M,-Boot,/boot,EXT2,Heisenberg
sda4 --256M,-Boot,/boot,EXT2,Arch
sda5 --256M,-Boot,/boot,EXT2,Win7
sda6 --191G,LVM,EXT4
VG-(main system)
LV -10G -Petra VG-main
LV -10G -Heisenberg VG-main
LV -10G -Arch VG-main
LV -40G -Win7 VG-main
LV -30G -usr VG-main
LV -91G -home VG-main
sda7, 40G,LVM,EXT4)
VG-(Oracle VM
LV -10G -VirtualBox Oracle
LV -30G -Virtual-home Oracle
sda8, 15G,LVM,Swap
LV -15G -n Swap VG-main


remarks on any other issues / better schemes I may not see or foresee would be appreciated







windows lvm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 12 hours ago









Laurence

1034




1034










asked Jan 24 '14 at 17:30









linuxdev2013

944819




944819




migrated from stackoverflow.com Jan 24 '14 at 19:14


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Jan 24 '14 at 19:14


This question came from our site for professional and enthusiast programmers.














  • to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
    – linuxdev2013
    Jan 24 '14 at 17:35










  • Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
    – linuxdev2013
    Jan 24 '14 at 18:03


















  • to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
    – linuxdev2013
    Jan 24 '14 at 17:35










  • Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
    – linuxdev2013
    Jan 24 '14 at 18:03
















to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
– linuxdev2013
Jan 24 '14 at 17:35




to clarify I'm quite confident the linux systems will see the GPT and fake EFI jsut fine but will this work for allowing windows to coexist and also can win be in the LVM or need to be outside the LVM "box"?
– linuxdev2013
Jan 24 '14 at 17:35












Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
– linuxdev2013
Jan 24 '14 at 18:03




Hybrid MBR is what I meant by "Fake EFI" didn't remember the termm..
– linuxdev2013
Jan 24 '14 at 18:03










1 Answer
1






active

oldest

votes

















up vote
-1
down vote



accepted










You can't install Windows on an LVM logical volume. See: this question.



I'm also not entirely sure why you're talking about UEFI. Windows 7 doesn't need UEFI to work, it's way simpler to set everything up without it, and furthermore you can't just "fake" a UEFI system.



Also, according to this, you cannot boot 32-bit Windows from a GPT partition at all, and 64-bit Windows requires an actual UEFI system to be able to boot from a GPT partition.



Here's what you should do:




  1. Back up any data you care about before messing with your partition table.

  2. Switch to a hybrid GPT/MBR parititon table - see the gdisk man page for details on how to do this.

  3. Create a normal MBR parition for Windows, install it, and then boot it normally with GRUB.






share|improve this answer























  • tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
    – linuxdev2013
    Jan 24 '14 at 17:54










  • Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
    – CmdrMoozy
    Jan 24 '14 at 18:01










  • so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
    – linuxdev2013
    Jan 24 '14 at 18:04










  • Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
    – CmdrMoozy
    Jan 24 '14 at 18:21










  • Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
    – linuxdev2013
    Jan 24 '14 at 18:23











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f706521%2flvm-dual-boot-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
-1
down vote



accepted










You can't install Windows on an LVM logical volume. See: this question.



I'm also not entirely sure why you're talking about UEFI. Windows 7 doesn't need UEFI to work, it's way simpler to set everything up without it, and furthermore you can't just "fake" a UEFI system.



Also, according to this, you cannot boot 32-bit Windows from a GPT partition at all, and 64-bit Windows requires an actual UEFI system to be able to boot from a GPT partition.



Here's what you should do:




  1. Back up any data you care about before messing with your partition table.

  2. Switch to a hybrid GPT/MBR parititon table - see the gdisk man page for details on how to do this.

  3. Create a normal MBR parition for Windows, install it, and then boot it normally with GRUB.






share|improve this answer























  • tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
    – linuxdev2013
    Jan 24 '14 at 17:54










  • Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
    – CmdrMoozy
    Jan 24 '14 at 18:01










  • so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
    – linuxdev2013
    Jan 24 '14 at 18:04










  • Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
    – CmdrMoozy
    Jan 24 '14 at 18:21










  • Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
    – linuxdev2013
    Jan 24 '14 at 18:23















up vote
-1
down vote



accepted










You can't install Windows on an LVM logical volume. See: this question.



I'm also not entirely sure why you're talking about UEFI. Windows 7 doesn't need UEFI to work, it's way simpler to set everything up without it, and furthermore you can't just "fake" a UEFI system.



Also, according to this, you cannot boot 32-bit Windows from a GPT partition at all, and 64-bit Windows requires an actual UEFI system to be able to boot from a GPT partition.



Here's what you should do:




  1. Back up any data you care about before messing with your partition table.

  2. Switch to a hybrid GPT/MBR parititon table - see the gdisk man page for details on how to do this.

  3. Create a normal MBR parition for Windows, install it, and then boot it normally with GRUB.






share|improve this answer























  • tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
    – linuxdev2013
    Jan 24 '14 at 17:54










  • Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
    – CmdrMoozy
    Jan 24 '14 at 18:01










  • so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
    – linuxdev2013
    Jan 24 '14 at 18:04










  • Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
    – CmdrMoozy
    Jan 24 '14 at 18:21










  • Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
    – linuxdev2013
    Jan 24 '14 at 18:23













up vote
-1
down vote



accepted







up vote
-1
down vote



accepted






You can't install Windows on an LVM logical volume. See: this question.



I'm also not entirely sure why you're talking about UEFI. Windows 7 doesn't need UEFI to work, it's way simpler to set everything up without it, and furthermore you can't just "fake" a UEFI system.



Also, according to this, you cannot boot 32-bit Windows from a GPT partition at all, and 64-bit Windows requires an actual UEFI system to be able to boot from a GPT partition.



Here's what you should do:




  1. Back up any data you care about before messing with your partition table.

  2. Switch to a hybrid GPT/MBR parititon table - see the gdisk man page for details on how to do this.

  3. Create a normal MBR parition for Windows, install it, and then boot it normally with GRUB.






share|improve this answer














You can't install Windows on an LVM logical volume. See: this question.



I'm also not entirely sure why you're talking about UEFI. Windows 7 doesn't need UEFI to work, it's way simpler to set everything up without it, and furthermore you can't just "fake" a UEFI system.



Also, according to this, you cannot boot 32-bit Windows from a GPT partition at all, and 64-bit Windows requires an actual UEFI system to be able to boot from a GPT partition.



Here's what you should do:




  1. Back up any data you care about before messing with your partition table.

  2. Switch to a hybrid GPT/MBR parititon table - see the gdisk man page for details on how to do this.

  3. Create a normal MBR parition for Windows, install it, and then boot it normally with GRUB.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 '17 at 10:17









Community

1




1










answered Jan 24 '14 at 17:40









CmdrMoozy

14415




14415












  • tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
    – linuxdev2013
    Jan 24 '14 at 17:54










  • Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
    – CmdrMoozy
    Jan 24 '14 at 18:01










  • so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
    – linuxdev2013
    Jan 24 '14 at 18:04










  • Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
    – CmdrMoozy
    Jan 24 '14 at 18:21










  • Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
    – linuxdev2013
    Jan 24 '14 at 18:23


















  • tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
    – linuxdev2013
    Jan 24 '14 at 17:54










  • Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
    – CmdrMoozy
    Jan 24 '14 at 18:01










  • so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
    – linuxdev2013
    Jan 24 '14 at 18:04










  • Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
    – CmdrMoozy
    Jan 24 '14 at 18:21










  • Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
    – linuxdev2013
    Jan 24 '14 at 18:23
















tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
– linuxdev2013
Jan 24 '14 at 17:54




tried the hybrid (albeit - may have screwed it up tho), so do i need the additional /boots at the beginning or can I do sda/ sda1 /boot sda2-3 for windows and windows msr and then use lvm for the balance and if so would hybrid just need to on the first partition for using with gpt?
– linuxdev2013
Jan 24 '14 at 17:54












Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
– CmdrMoozy
Jan 24 '14 at 18:01




Basically, Windows just needs to be on an MBR partition. It doesn't matter what else you do with LVM/GPT/etc., as long as that's true. It also doesn't matter if that MBR partition is sda1 or sda5 or etc.
– CmdrMoozy
Jan 24 '14 at 18:01












so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
– linuxdev2013
Jan 24 '14 at 18:04




so the mbr (from the hybrid) just HAS to be whatever Windows is in? teh rest is fine as proposed?
– linuxdev2013
Jan 24 '14 at 18:04












Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
– CmdrMoozy
Jan 24 '14 at 18:21




Yeah - you can have Linux setup however you like; what you've posted in your OP seems to make sense.
– CmdrMoozy
Jan 24 '14 at 18:21












Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
– linuxdev2013
Jan 24 '14 at 18:23




Much thanks to you CmdrMoozy for the quick and easy to understand replies.....hopefully I can return favor soon...
– linuxdev2013
Jan 24 '14 at 18:23


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f706521%2flvm-dual-boot-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido