LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-21-2007, 04:50 AM   #1
rrrssssss
Member
 
Registered: Mar 2005
Posts: 287

Rep: Reputation: 33
If hda1 is (0,0), What Are hda2, hda5, and hda6?


Hello forum,


I have four partitions on my first hard drive and they are named hda1, hda2, hda5, and hda6. But I need to know how to name them using the alternative naming convention, such as (0,0) (0,1) (0,2), etc.

In other words, I am in the process of editing a file that requires the first partition of the first hard drive to be (0,0) instead of hda1 (and so on). If hda1 is the same as (0,0), what would hda2, hda5, and hda6 be called using this same naming convention?


Thanks much in adance,
Roy
 
Old 01-21-2007, 05:07 AM   #2
varun_shrivastava
Member
 
Registered: Jun 2006
Distribution: Ubuntu 7.04 Feisty
Posts: 79

Rep: Reputation: 15
hda1 = (0,0) ie 0th harddisk , 1st partition
hda2 = (0,1) ie 0th harddisk , 2nd partition
hda3 = (0,2) ie 0th harddisk , 3rd partition
hda2 = (0,4) ie 0th harddisk , 4th partition
 
Old 01-21-2007, 05:51 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Think about this as a zero-based indexing: the first physical disk is the 0th, the second is 1st, and so on. The same for partitions.
 
  


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
Linux root moved from hda2 to hda1 dangerousdave Linux - Software 3 11-02-2005 07:18 PM
grub; hda1 == root(hd0,0) ; hda5 = ???? stupidloser Linux - General 6 12-05-2004 02:26 AM
Can mount hda1, but not hda2,3,4,5, or 6? Dobie Linux - Newbie 4 06-13-2004 05:37 PM
mount filesystems from hda1 and hda2 jhirshon Linux - Newbie 3 01-29-2004 01:05 PM
hda1, hda2 and hda3.. partitioning order concoran Linux - Software 4 10-16-2003 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration