LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2011, 04:43 PM   #1
jeff_schaffzin
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Rep: Reputation: Disabled
Problems with creating LVM in dual boot (CentOS/Win7) system


Hi everyone,

I am currently setting dual boot on a laptop (Thinkpad T60p if it matters - will be buying a T520 soon though ). I installed Win7 without a hitch and then I started to install CentOS 5.5 (32-bit).

On systems that I only install CentOS, I am able to create an LVM that takes the majority of the hard disk without a problem. However, when I try to do that in a system with dual boot, I can't maximize the size of the LVM, or at least it doesn't seem like I can do that without creating additional logical volumes which doesn't seem to make sense.

For example:
I have a 500GB disk - I partitioned it so that I have about 260GB for Windows and the rest for CentOS. I go through the CentOS installer and create the LVM.

Even though the partition manager knows I have enough space to do this, it seems like I can only create one that's a small fraction of the remaining free space.

Anyone have any ideas on how I can solve this?

Please note: I know that I can buy a hard disk and avoid this problem, but I am sure there has to be a solution somewhere.

Thanks!
 
Old 07-28-2011, 04:46 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Hi there,

How many partitions do you have in your Windows installation. As you know on a single disk you can have only 4 primary partitions and that is the reason I would like to know about windows partitions in place and their type.

I faced similar kind of issue during CentOS install on my netbook and finally I have to make changes in my windows partitions to get things going. During the time of install how many partitions does it show up.

Could you please let us know how you are trying to setup partitions in CentOS?
 
Old 07-28-2011, 05:07 PM   #3
jeff_schaffzin
LQ Newbie
 
Registered: Jul 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
RE: Problems with creating LVM in dual boot (CentOS/Win7) system

Hi there,

Thanks for the fast reply!

My answers to your question are below:

Quote:
Originally Posted by T3RM1NVT0R View Post
Hi there,

How many partitions do you have in your Windows installation. As you know on a single disk you can have only 4 primary partitions and that is the reason I would like to know about windows partitions in place and their type.
I have two NTFS partitions in Windows - 160GB (/dev/sda2 C: drive and 100GB D: drive (/dev/sda3).

Quote:
Originally Posted by T3RM1NVT0R View Post
I faced similar kind of issue during CentOS install on my netbook and finally I have to make changes in my windows partitions to get things going. During the time of install how many partitions does it show up.

Could you please let us know how you are trying to setup partitions in CentOS?
When I first installed CentOS, I took the remaining unformatted space (200GB or so) and then used the Anaconda installer to create the boot partition (100MB), took the remaining space and created /dev/sda4, trying to create the other partitions inside that LVM. I am able to create a few with the "right" size (totaling to about 50GB), but when I try to create a large one with the remaining space (150GB), I can't do it.

I hope this answers your question. If not, let me know.

Thanks!
 
Old 07-28-2011, 05:37 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Alright. That made things pretty clear.

You said that you have two Windows partitions. I am assuming there is no OS recovery or any such partition of the system like it usually comes with laptop.

I would suggest you to create a primary partition for /boot and give it 100 or 200 MB and then create extended partition from rest of the space. Under extended partition you can create LVM partitions for /root /home etc.

I hope this helps.
 
Old 07-28-2011, 05:48 PM   #5
Alpo
Member
 
Registered: Jul 2011
Location: US and A.
Distribution: RHEL 6.1 & Ubuntu 10.04
Posts: 50

Rep: Reputation: Disabled
Jeff -

Dude, check out Acronis: http://www.acronis.com/

With that program, you can change primary drives to logical drives. You should only need one primary for Win7 so, using Acronis, change the other drives to logical. When you install Linux, create a /boot partition and make your LVM however large/small you want.

Acronis costs 50 bucks, but I know there's another free program out there somewhere that does a comparable job. My advice: Use Acronis and partition your face off.

Last edited by Alpo; 07-28-2011 at 05:49 PM. Reason: misclick
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS Win7 Dual boot on NVRaid (fakeraid) dextermetzger Linux - Hardware 3 06-27-2011 10:17 PM
not able to boot into Win7, dual boot with Fedora, getting error BOOTMGR missing.. mrprassad Linux - Newbie 3 05-09-2011 11:29 AM
Dual boot, now upgrading WinXP to Win7. GRUB problems? kebabbert Solaris / OpenSolaris 2 03-13-2011 12:42 PM
Problems creating a dual boot WinXP (Win7) & Fedora Core9 on HP XW6400 andygravity Linux - Newbie 3 09-13-2009 06:08 PM
Lenny Dual Boot w/ Win7 - GRUB problems! Leon W. Malinofsky Debian 3 02-25-2009 10:35 PM


All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration