LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-19-2011, 05:45 AM   #1
justacoupleofquestions
LQ Newbie
 
Registered: Oct 2011
Posts: 11

Rep: Reputation: Disabled
A couple of questions before making partitions


Hello

I have been trying to understand primary, logical and extended partitions and how to use them when installing arch linux in dual boot with win7.

Scenario:
Laptop. 1 disc. 2 partitions. C: for win7 and Q: for recovery.

These has to be intact when installing Arch Linux.

What i want to know is what kind of partitions i need to make for linux when i install it with win7 dual boot.

Thanks

/d
 
Old 10-19-2011, 05:57 AM   #2
GlenMH
LQ Newbie
 
Registered: May 2010
Location: Tokyo, Japan
Distribution: Ubuntu Oneiric, Natty
Posts: 3

Rep: Reputation: 1
As I understand it, you are going to need another primary partition for the linux installation. You may also need a swap partition too.

AIUI W7 boot loader is quite picky so you might want to find some instructions on how you configure that to play nicely in the dual boot scenario.
 
1 members found this post helpful.
Old 10-19-2011, 10:39 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Partition naming conventions for Linux are not the same as windows. They won't show up as letters as in windows but drives will be referenced as sda, sdb, etc. and the partitions will have numbers after them: sda1, sda2, etc. You need to take care that you install to a partition that doesn't have data on it.
 
1 members found this post helpful.
Old 10-19-2011, 11:22 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by justacoupleofquestions View Post
trying to understand primary, logical and extended partitions and how to use them when installing arch linux
Linux doesn't care whether its partitions are primary or logical.

A disk can have up to four primary partitions or up to three primary partitions plus one extended partition.

An extended partition is a container that can hold several logical partitions.

Quote:
in dual boot with win7.

Scenario:
Laptop. 1 disc. 2 partitions. C: for win7 and Q: for recovery.

These has to be intact when installing Arch Linux.
You need some unpartitioned space to install Linux. So if your win7 partition and recovery partition fill the drive, you will need to first shrink the C: partition before installing Linux.

Shrinking the C: partition is best done within Windows 7. But do not create partitions for Linux within Windows. Instead leave the space unpartitioned.

I'm not sure about arch Linux: Most Linux installers are designed with an obvious choice to use the unpartitioned space on a drive and the installer will partition that space for you as appropriate for that install.

In other cases, it may be easier to boot a Linux liveCD and use the GUI partitioning tool to create the desired Linux partitions before running the installer.

You probably want just a / partition and a swap partition. With just two Windows partitions plus just two Linux partitions, it would be possible to have all four primary. But I suggest making one extended partition from all the space freed by shrinking C: (and/or space that was already unpartitioned before shrinking C:) then make both (all) Linux partitions logical. If you need to use a liveCD to move and shrink partitions later to add more partitions, having logical partitions for Linux gives you more flexibility. Having four primary partitions gives you zero flexibility.

Last edited by johnsfine; 10-19-2011 at 11:31 AM.
 
1 members found this post helpful.
Old 10-19-2011, 12:26 PM   #5
justacoupleofquestions
LQ Newbie
 
Registered: Oct 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
@GlenMH
Thanks for the heads up with AIUI W7.

@yancek
Thanks for the input

@johnsfine
This is exactly what i needed to know. Im using gparted on a USB stick to shrink C:. There is an automated option for partitions in Arch Linux installer but only if i want to remove existing partitions, it just removes everything. I have however gotten to know the installer and how to make partitions for linux with unpartitioned space.

Thank you all.

Next thing i need is win7 dual boot and i have found plenty of material there.

/d
 
Old 10-19-2011, 12:49 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by justacoupleofquestions View Post
Im using gparted on a USB stick to shrink C:.
I would not do it that way. I've seen that work, but I've also seen it hang.

Windows 7 has an option somewhere (I forget where) to shrink its own partition. I think that is faster and safer than using gparted for that step.
 
Old 10-19-2011, 12:59 PM   #7
justacoupleofquestions
LQ Newbie
 
Registered: Oct 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by johnsfine View Post
I would not do it that way. I've seen that work, but I've also seen it hang.

Windows 7 has an option somewhere (I forget where) to shrink its own partition. I think that is faster and safer than using gparted for that step.
There is an excellent diskmanager in windows for this yes.

Problem:
Only the admin in the office is allowed to access those functions. I am however allowed to install linux on it without wasting the admins precious time. =)

If i cant find a failsafe solution online i will ask the admins.
 
  


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
A couple of questions... Pixxt Slackware 5 03-27-2011 04:47 PM
Couple of questions dannyp32 Linux - Newbie 10 04-20-2009 06:29 PM
Thinking about making the switch to Linux, a couple of questions?? musiclover7 Linux - General 5 07-21-2006 10:36 AM
A couple of questions..HELP!! fhameed Linux - Software 6 03-12-2004 03:33 AM
A couple of questions. jhansman Linux - Newbie 3 08-26-2003 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 PM.

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
Open Source Consulting | Domain Registration