All of lore.kernel.org
 help / color / mirror / Atom feed
From: axel@pearbough.net
To: Chris <smarta55@comcast.net>
Cc: linux-newbie@vger.kernel.org
Subject: Re: How do I see all my partitions?
Date: Wed, 18 Dec 2002 11:47:22 +0100	[thread overview]
Message-ID: <20021218104722.GA3850@neon.pearbough.net> (raw)
In-Reply-To: <5.1.0.14.0.20021217222210.00b5fdd8@mail.comcast.net>

Hi Chris!

On Tue, 17 Dec 2002, Chris wrote:

> my winxp partition.  How do I display all the
> partitions, Win/Dos/Linux, in one place so I can
> give mount the correct partition name?

You might already have heard of fdisk. It is a tool to partition your hard
disks and also in fact the easiest way to see what partition is of what
type and has what number/name.
To call fdisk for your primary IDE slave call "fdisk /dev/hda" and you
will get something like this:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1      9688   4882720+  83  Linux
/dev/hda2   *      9689     48440  19531008    7  HPFS/NTFS
/dev/hda3         48441    158816  55629504   83  Linux

(For example for your second SCSI disk it would be "fdisk /dev/sdb")

Here you can see that my windows partition is /dev/hda2 is of type NTFS.
To mount it you'll need an empty directory (e.g. /windows or /mnt/win) and
the necessary file system support for you kernel (in my case NTFS).

Then "mount <device>  <mount directory>". In my case this looks like:
     "mount /dev/hda2 /windows"


Have fun,
Axel
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2002-12-18 10:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-18  3:23 How do I see all my partitions? Chris
2002-12-18  6:21 ` Ray Olszewski
2002-12-18 10:47 ` axel [this message]
2002-12-18 12:27   ` Thank you (Re: How do I see all my partitions?) Chris
2002-12-18 17:18   ` How do I see all my partitions? Ray Olszewski
2002-12-18 21:43     ` axel
2002-12-23  2:26     ` Chris
2002-12-23  3:04       ` Ray Olszewski
2002-12-24  1:43         ` Chris
2002-12-23  3:11       ` whitnl73
2002-12-18 22:11 ` Chuck Gelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021218104722.GA3850@neon.pearbough.net \
    --to=axel@pearbough.net \
    --cc=linux-newbie@vger.kernel.org \
    --cc=smarta55@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.