LinuxQuestions.org
Register a domain and help support LQ
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 12-03-2004, 06:48 PM   #1
alanbarnard
Member
 
Registered: Jan 2004
Location: Bradford UK
Distribution: Ubuntu Dapper Drake k7-kernel
Posts: 49

Rep: Reputation: 15
How many partitions on one disk?


I have been given a PC with a 120Gb HD. Unfortunately it was formatted as a single NTFS partition. I have used qtparted from the systemrescuecd bootable CD. I shrank the NTFS partion to 30Gb and created a 16Gb FAT32 partion and then used half the remainder as an ext3 partition. The problem came when I tried to partition and format the remaining space, qtparted would not allow me to do so. The disk now has the following partitions:
1. a small unusable one created during the original XP install
2. the shrunk NTSF partition
3. a new FAT32 partition
4. a new ext3 partition
5. a large empty space that I cannot do anything with
6. a small unusable bit created during the original XP install
Can anyone help please.
 
Old 12-03-2004, 07:07 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
i bet there all primary an you have no extended and logical partitions

go here http://www.pcguide.com/ref/hdd/file/...titions-c.html
 
Old 12-04-2004, 09:40 AM   #3
alanbarnard
Member
 
Registered: Jan 2004
Location: Bradford UK
Distribution: Ubuntu Dapper Drake k7-kernel
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks. Yes, I did make them all primary partitions. My old computer had multiple small HDs so this was not a problem. The link is very helpful but rather Microsoft orientated. I am however left with a new question.

The text refers to an Extended DOS Partition. This would of course contain my FAT32 partition. Can I put any Linux partitions in it as well? If I install a boot manager (GRUB or LILO) will this occupy a primary partition of its own and do XP and LINUX have to be in their own primary partitions?
 
Old 12-04-2004, 10:04 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
An extended partition in an nutshell is a container for logical partitions. linux can be installed to either a primary or logical paritition and is seperate from XP.. The boot loader is usually installed on the Master Boot Record which is not associated with a partition.

primary partitions have an ID 1-4
logical partitions have an ID >=5

A simple scheme
/dev/hda1 - c: (primary) NTFS for windows
/dev/hda2 - extended, size should be rest of disk
/dev/hda5 - d: FAT32 (logical)
/dev/hda6 - swap (512MB) logical
/dev/hda7 - /boot (100MB) logical
/dev/hda8 - / (remaining disk space)

And BTW an IDE drive can have 64 partitions.

Last edited by michaelk; 12-04-2004 at 10:05 AM.
 
  


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
Which partitions should go on which disk? TomX Linux - Newbie 3 10-23-2005 05:43 PM
removed disk partitions - disk is now too small jordanthompson Linux - Software 18 12-09-2004 04:07 PM
Help with disk partitions gagda1 Linux - Newbie 3 10-14-2004 09:05 PM
Only 4 primary partitions in one disk? zhanmei Linux - Software 9 09-16-2004 07:18 AM
Hard Disk Partitions bumsbunny Linux - Newbie 5 07-10-2001 09:10 PM


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