LinuxQuestions.org
Review your favorite Linux distribution.
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 05-27-2009, 08:22 AM   #1
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 94

Rep: Reputation: 21
partitioning problem


I originally had 4 primary partitions on my laptop they were windows vista(primary),ubuntu 8.10(primary),swap partition,dell recovery(primary)
,F(logical)
I shrinked my F drive to install ubuntu 9.04 and I was successful but now my disk manager shows 5 primary partitions i.e. ubuntu 9.04 also as a primary partition ..I cannot understand how I can have 5 primary partitions when I installed ubuntu 9.04 as a logical partition .
 
Old 05-27-2009, 08:34 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
From your description, you only had 3 primary partitions. If you installed Ubuntu as primary, that would be your 4th and final allowable primary.
 
Old 05-27-2009, 05:25 PM   #3
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 94

Original Poster
Rep: Reputation: 21
but isn't swap also a primary partition.
plz help
 
Old 05-27-2009, 05:28 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,561
Blog Entries: 1

Rep: Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023
What's the output of cfdisk?
 
Old 05-27-2009, 06:02 PM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
#sudo parted

>p


post output
 
Old 05-28-2009, 01:16 PM   #6
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 94

Original Poster
Rep: Reputation: 21
thanks for the description it says

Number Start End Size Type File system Flags
1 32.3kB 197MB 197MB primary fat16
2 198MB 16.3GB 16.1GB primary ntfs
3 16.3GB 80.3GB 64.0GB primary ntfs boot
4 80.3GB 320GB 240GB extended lba
7 80.3GB 98.2GB 18.0GB logical ext3
8 98.2GB 101GB 2994MB logical linux-swap
5 101GB 206GB 105GB logical ntfs
6 206GB 295GB 88.5GB logical ntfs
9 295GB 320GB 25.5GB logical ext3

but why does the windows vista disk manager shows the other way?
Plz help
 
Old 05-28-2009, 01:26 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by r_s View Post
thanks for the description it says

Number Start End Size Type File system Flags
1 32.3kB 197MB 197MB primary fat16
2 198MB 16.3GB 16.1GB primary ntfs
3 16.3GB 80.3GB 64.0GB primary ntfs boot
4 80.3GB 320GB 240GB extended lba
7 80.3GB 98.2GB 18.0GB logical ext3
8 98.2GB 101GB 2994MB logical linux-swap
5 101GB 206GB 105GB logical ntfs
6 206GB 295GB 88.5GB logical ntfs
9 295GB 320GB 25.5GB logical ext3

but why does the windows vista disk manager shows the other way?
Plz help
It either is a crappy program or you are misinterpreting what it says. It's impossible to have more than 4 primary partitions, one of which might be an extended partition.

Inside an extended partition you can have as many logical drives as you need.

In linux, this means that the four first numbers are always reserved for primary/extended partitions, and the first logical drive is always 5, even if you only have a single primary partition. For example, if your disk is /dev/hda and you have only an extended partition into it, then it will be /dev/hda1, and if you make drives inside that extended partition, then they will be named from /dev/hda5, /dev/hda6.... /dev/hdaN. That's true even if there's no /dev/hda2, /dev/hda3 or /dev/hda4.
 
Old 05-28-2009, 01:27 PM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,561
Blog Entries: 1

Rep: Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023Reputation: 1023
As you can see, you've got 4 primary partitions. The last one forms an extended partition which consists of a number of logical partitions.
 
Old 05-29-2009, 05:25 AM   #9
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 94

Original Poster
Rep: Reputation: 21
Thanks for the reply.
still can't understand the problem with vista disk manager
thanks again.
 
Old 05-29-2009, 05:44 AM   #10
contusion
Member
 
Registered: Mar 2005
Posts: 310

Rep: Reputation: 34
What fdisk or cfdisk or vista shows is a MSDOS partition table.
In it you can either have four primary partitions or
three primary partitions with one extended partition and it's logical partitions.
 
  


Reply

Tags
general


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
Partitioning problem mahred Linux - Newbie 3 08-21-2006 10:44 AM
Partitioning problem! Dachy Linux - General 3 06-07-2005 05:40 PM
Partitioning Problem tehnewbie Ubuntu 1 06-06-2005 08:10 PM
partitioning problem jgmyshko Slackware 12 12-19-2004 07:46 PM
partitioning problem linux_guy2003 Linux - Newbie 2 06-30-2003 03:23 PM


All times are GMT -5. The time now is 07:15 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