LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disk management in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/disk-management-in-linux-465083/)

Aadhid 07-18-2006 01:13 AM

Disk management in Linux
 
I am brand new to linux. can anybody say how the linux handles the disk. I heard some thing about hda1,hda2,...can you say the naming convention for these stuffs.

Is there any good links to learn linux for staters...

Thanx in Advance.

rickh 07-18-2006 01:18 AM

Probably, if you ran a google search on something like "Linux newbie," you'd find some things

AwesomeMachine 07-18-2006 01:23 AM

Quote:

Originally Posted by Aadhid
I am brand new to linux. can anybody say how the linux handles the disk. I heard some thing about hda1,hda2,...can you say the naming convention for these stuffs.

Is there any good links to learn linux for staters...

Thanx in Advance.

Log in as a user, and type:

nano /etc/fstab

at a terminal. If you don't know how to launch a terminal program:

CTRL+ALT+F1

will give you a great big one.

All the drives (or partitions), on your system are listed in /etc/fstab. Nano is an editor. Make sure you log in as a user, and not root. Hda1 stands for 'hard drive a partition 1'. Sda1 stands for scsi disk a partition 1.

CTRL+ALT+F7 for x server (gui desktop)

b0uncer 07-18-2006 01:24 AM

Hda is the primary harddisk, hdb is secondary etc...sometimes hdc means your cdrom drive (if you don't happen to have three hds).

Hda1 is the first partition on primary HD, hda2 the 2nd partition on primary HD etc..hdb1 is the first partition on secondary HD etc..that's the way it goes.

But "primary" and "extended" partition numbering might cause a little "jump", if you've got only one primary partition, then the first extended partition isn't probably hda2 (on the primary HD) for example..

EDIT: in Windows, hda1 would usually be C, hda2 be D (or if D was your 2nd harddisk's only partition, then hdb1 would be "D")


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