[NTLUG:Discuss] Mounting a Logical drive
MadHat
madhat at unspecific.com
Fri Apr 13 12:35:49 CDT 2001
At 12:12 PM 4/13/2001 -0500, you wrote:
>Yes, it is possible. ... Or should be.
>
>The first four drive partitions (hdX1-4) are ... My memory is failing
>me. Anyway, extended partitions are numbered 5 and up. My drive, for
>instance, is set up like this:
>hda1 is a DOS partition (with Win95)
>hda2 is Linux native (root file system)
>hda3 is Linux swap
>hda4 is the last partition where it would appear my extended
>partitions live.
>hda5 was formerly a dos partition (DOS drive d:) but is now Linux
>native
>hda6 is Linux native (/home)
>
>hda5 and hda6 are extended partitions.
>
>To get an idea of how your drive is set up, you can type
>fdisk /dev/hdb
>or /dev/hda as the case me be.
>
>You can then type p (folowed by enter) tp print your partition table
>to the screen. That should give you an idea of what partition Linux
>has your logical DOS drive labeled as. I would suspect it may be
>/dev/hda5
fdisk -l /dev/hd?
is usually safer for those not familiar with fdisk and if you don't specify
the drive, it will use the default (usually the one root is mounted on if I
remember properly)
[root at madhat ~/]# fdisk -l
Disk /dev/hda: 240 heads, 63 sectors, 1826 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 18 136048+ 83 Linux
/dev/hda2 19 1826 13668480 5 Extended
/dev/hda5 19 574 4203328+ 83 Linux
/dev/hda6 575 1129 4195768+ 83 Linux
/dev/hda7 1130 1407 2101648+ 83 Linux
/dev/hda8 1408 1477 529168+ 83 Linux
/dev/hda9 1478 1512 264568+ 82 Linux swap
>--
>Buddy Brannan, KB5ELV | I choose you to take up all of my time.
>Email: davros at ycardz.com | I choose you because you're funny and kind
>Phone: (972) 276-6360 | I want easy people from now on.
> | --the Nields
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss
--
MadHat at unspecific.com
More information about the Discuss
mailing list