LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-09-2011, 07:14 AM   #1
motiv8d1
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Disk Partitions for dual boot with Windows 7 GPT/EFI


Hi
I have a Centos 5.5 system that had 2 primary partitions (2nd is setup as LVM with multiple LVM partitions) and then installed Windows 7 as Dual Boot.
However, Windows 7 has installed a 200MB system partition which is GPT/EFI as partition 3 and the Win7 OS as a Primary Partition.
I have a heap of space undefined after this fourth primary partition.
However, as 4 primary partitions have been used, I can no longer create an extended partition to utilise this.
As such I would like to know what is the best and safest way to proceed, and if possible step by steps instructions for the best option eg:
1. Delete the Windows 7 System Partition and create the extended partition (I expect this will prevent Windows from booting)
2. Use something like partition magic to change the Win 7 OS Partition 4 to an extended partition (Not sure if this will work)
3. Make changes to the overall system including both Linux and Windows so that it will use GPT only (I have had no experience with GPT so this is a bit scary)
4. Other?

Thanks

M
 
Old 01-09-2011, 03:18 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,772

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Option 1 and 2 would work with windows inside the extended partition. You just have to write the grub config stanza to fool win7 into believing it's on the first partition (remapping the partitions on the fly. you can find more about that in the grub manual).

Option 3 I don't know anything about.

Option 4 (other). Make a full backup of your Linux installation. Reformat that partiton for ntfs and install win7 there. Then delete the 4th primary partition (now with win7) and make an extended partition. Then install Linux inside that extended partition, then restore the backup.

Then reconfigure your LVM as needed to be able to use it from Linux in the extended partition.

I suggest doing it that was because GNU/Linux is imminently more adaptable and able to boot from partitions other than the first on the hard drive, than Micro$oft Windows could ever be. That's a personal bias arrived at by using both OSs, and settling on the easiest to use.

Last edited by bigrigdriver; 01-09-2011 at 03:22 PM.
 
Old 01-10-2011, 06:22 PM   #3
motiv8d1
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Solved - change Windows 7 OS from primary to logical partiion

Thanks mate
After finding that the Windows Recovery DVD will not find Windows on an extended or primary partition unless the "system partition" is there, I did the following to resolve for now for anyone else that has the same problem:

Booted to a Live DVD with partition imaging and partition management software
Backed up the system partition to file
Removed the system partion so only 3 primaries existed
Created extended partition
Created a logical partion and imaged across from the Windows OS primary partition to this
Removed the Windows OS Primary Partition
Re-created the windows 100MB system partition and restored the previous image to this
Restarted pc and booted to Windows 7 DVD
Entered the repair option
It made the necessary changes to the bcd on the recovery partition
System now boots windows 7 OS from the logical partition via the bcd on the 100MB windows primary partition

I am still yet to move the linux lvm from primary to extended but will do this when I have more time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to format an EFI partition on a GPT partitioned HD nfolken Linux - Laptop and Netbook 2 01-28-2010 08:59 AM
[SOLVED] How to dual boot Linux (CentOS 5.3) and Windows 7 on 2 partitions. purerage34 Linux - Newbie 7 01-14-2010 12:52 AM
Dual boot, two disk Fedora Windows only opens Windows Javkin Fedora 2 10-20-2006 03:47 AM
Windows and Linux Dual Boot, swap partitions preeth26 Linux - Newbie 5 02-24-2006 02:02 PM
4 primary partitions, windows dual boot trouble geekX Linux - General 5 02-25-2004 04:42 PM


All times are GMT -5. The time now is 01:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration