Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-06-2005, 07:06 AM   #1
LQ Newbie
Registered: Mar 2004
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Question Changing Partition Id in fdisk

My current disk shows up something like this in fdisk:

/dev/hda1 * ntfs Primary
/dev/hda2 extended Pri
/dev/hda5 ext3 Logical
/dev/hda6 ext3 Log
/dev/hda7 swap L
/dev/hda8 reiserfs L
/dev/hda9 reiserfs L
/dev/hda10 fat32 L

(hda1 hda2(hda5 hda6 hda7 hda8 hda9 hda10) )

Is it possible to change the partition numbers to make it sequential via fdisk. Right now 3 & 4 are missing. I want to make it 1 to 8. I don't want to lose any partition or data. Just want to know if it can be done safely via fdisk and what are the possible risks. If there is specific order in which it has to be done, please let me know.

Old 09-06-2005, 07:31 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I wouldn't mess with it.
If you had /dev/hda2 and /dev/hda3 as Primary, then had /dev/hda4 as Extended it would have looked neater. But, if it is working, I would definitely leave it alone.
Old 09-06-2005, 07:43 AM   #3
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
1 2 3 and 4 are reserved for primary partitions. 5 and up are logical. So in your case you have a primary (1) and a primary extendended (2) which contains the logical drives (5 and up). You can't change this really.

You could set up a system with a three primaries and an extended, but it really makes no difference.
Old 09-06-2005, 08:45 AM   #4
LQ Newbie
Registered: Mar 2004
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 0
Thanx amosf and homey.

I think the part that 3 & 4 are reserved for primary partitions is the answer I was looking for. I get it now. Thanks.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition with fdisk fails!? nr5 Linux - Software 12 01-11-2005 02:03 PM
FDisk Partition for DSL totalshredder Linux - Newbie 1 01-03-2005 05:03 PM
How do I partition on fdisk? Sa3atsky Slackware 4 09-10-2004 06:47 PM
fdisk partition blackzone Linux - Newbie 6 08-22-2004 07:47 AM
FDisk partition types Odin_of_Asgard Linux - Software 1 05-12-2004 03:04 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration