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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-27-2009, 08:22 AM
|
#1
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Rep:
|
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 .
|
|
|
05-27-2009, 08:34 AM
|
#2
|
Member
Registered: Sep 2003
Distribution: Slackware
Posts: 626
Rep:
|
From your description, you only had 3 primary partitions. If you installed Ubuntu as primary, that would be your 4th and final allowable primary.
|
|
|
05-27-2009, 05:25 PM
|
#3
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
but isn't swap also a primary partition.
plz help
|
|
|
05-27-2009, 05:28 PM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
What's the output of cfdisk?
|
|
|
05-27-2009, 06:02 PM
|
#5
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
#sudo parted
>p
post output
|
|
|
05-28-2009, 01:16 PM
|
#6
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
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
|
|
|
05-28-2009, 01:26 PM
|
#7
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by r_s
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.
|
|
|
05-28-2009, 01:27 PM
|
#8
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
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.
|
|
|
05-29-2009, 05:25 AM
|
#9
|
Member
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101
Original Poster
Rep:
|
Thanks for the reply.
still can't understand the problem with vista disk manager
thanks again.
|
|
|
05-29-2009, 05:44 AM
|
#10
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
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.
|
|
|
All times are GMT -5. The time now is 02:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|