LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2002, 07:43 PM   #1
Primesghost
LQ Newbie
 
Registered: Jun 2002
Location: Texas
Distribution: Red Hat 7.3
Posts: 4

Rep: Reputation: 0
Question about mounting drives...


Ok, so I figured out how to mount my fat32 drives under Linux (I'm running a dual boot system at the moment). The only real problem I had was in figuring out which partition was which. What I mean is this: my hard drive has 4 partitions on it now:
C:\ , D:\ , / , (swap)

When editing my fstab file I had to use trial and error to figure out which partition was which, for instance, the C drive is recognized as hda2 and the D drive is hda4 and (I still can't figure this one out) the swap space is hda7 (7???).

Before anyone asks, the partitions are created in ascending order on the drive (C,D,/,swap) so that in every other operation I've ever used to call on the drive partition order they were listed as:
C: partition 0
D: partition 1
(the logical conclusion would be):
/: partition 2
swap: partition 3

I hope I was able to make my situation clear, if not please let me know. What I'm wondering is if there's a way to retrieve how many partitions are DETECTED by Linux (which ones actually exist and their specification hda1, hda2, etc...).

Also, an explanation or a link to a site explaining how it came up with hda7 for swap would be greatly appreciated.

Thanx,
Prime
 
Old 06-10-2002, 08:32 PM   #2
Ryan_Sutton
Member
 
Registered: May 2002
Location: California
Distribution: Fedora 9
Posts: 101

Rep: Reputation: 15
Im a newbie as well but I believe that hda7 is reserved for swap space(virtual memory), the reason for this is prolly so you don't think hda7 is a physicall drive, (this would be an 8th physical drive if that were the case), Im just assuming this to be the case so don't qoute me
 
Old 06-10-2002, 08:32 PM   #3
Ryan_Sutton
Member
 
Registered: May 2002
Location: California
Distribution: Fedora 9
Posts: 101

Rep: Reputation: 15
Talking

woops - double post
 
Old 06-10-2002, 11:17 PM   #4
Psycho
Member
 
Registered: Feb 2002
Location: Carson City, Nevada
Distribution: Gentoo / SuSE 9.1 Pro (both A64)
Posts: 159

Rep: Reputation: 30
df -h from command line (terminal) will give you that, plus the usage for all mounted partitions. /etc/fstab will also give you the ones your install knows about. I think that's correct about swap being partition 7.

fdisk /dev/hda will show you partitions and fs type if you press p (q to quit), but not what's mounted as what.

Last edited by Psycho; 06-10-2002 at 11:23 PM.
 
  


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
Help in Mounting my cd drives coderasm SUSE / openSUSE 2 12-05-2004 12:40 PM
how do i know what drives are available for mounting joepesci Linux - Newbie 13 07-20-2004 02:41 PM
quick question - mounting/unmounting drives tw001_tw Linux - Software 2 05-13-2004 09:09 PM
Newbie Question (mounting drives/partitions) Abremelin Linux - Newbie 11 07-01-2002 11:13 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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