LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2003, 03:58 PM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 472

Rep: Reputation: 30
Question hda1, hda2 and hda3.. partitioning order


I had 3 primary partitions, hda1, hda2 [both ext2] & hda3 [fat32], and several other (not important here).
|<-- hda1-->||<-- hda2-->|<-- hda3-->|
The partitions were created in the order specified above.

After a while, I had to delete hda1 and hda2. Therefore, hda3 now became hda1 as seen from fdisk /dev/hda.
|<-- empty -->|<--hda1-->|

Then I recreated those partitions in the empty space. The problem now I see from fdisk /dev/hda is, the first two partitiones are labelled hda2 and hda3, while the 3rd FAT32 partition remains hda1 only.
|<-- hda2-->||<-- hda3-->|<-- hda1-->|
Why is it so? This is causing a lot of problems while mounting, unmounting in other distros. Can someone explain to me why is it that way, and what can I do to fix the numbering.

Thanks in advance...

Last edited by concoran; 10-04-2003 at 03:59 PM.
 
Old 10-05-2003, 12:44 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I doubt you can change the numbering. They are numbered in the order they were created. So you'll have to edit the /etc/fstab to reflect the changes in the numbering.
 
Old 10-05-2003, 02:04 AM   #3
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 472

Original Poster
Rep: Reputation: 30
quatsch
changing fstab wont have any effects as there will be many fstab's for each distro.
If anything, it should be done at hardware level
 
Old 10-05-2003, 02:11 AM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I really doubt there's much you can do other than sit down and edit the fstab for each distro.
 
Old 10-15-2003, 11:26 PM   #5
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 472

Original Poster
Rep: Reputation: 30
Isn't there a way to change the partition numbers, at least in primary
partition space?
 
  


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
Linux root moved from hda2 to hda1 dangerousdave Linux - Software 3 11-02-2005 06:18 PM
create several partitions between hda1 and hda3 tcma Linux - General 7 09-15-2004 11:18 AM
Can mount hda1, but not hda2,3,4,5, or 6? Dobie Linux - Newbie 4 06-13-2004 04:37 PM
moving hda3>hda1 repartition rh9 wolfe2554 Linux - Software 0 05-13-2004 01:08 AM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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