LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-06-2005, 07:06 AM   #1
DaVenom
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.

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

Rep: Reputation: 56
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
amosf
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
DaVenom
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.
 
  


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 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


All times are GMT -5. The time now is 02:53 PM.

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