Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting NTFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Wed Nov 19, 2003 4:29 am    Post subject: Mounting NTFS Reply with quote

I'm been trying to get linux to mount my NTFS on my primary hard drive, currently i have my system setup like so;
Code:
/dev/hda1   NTFS (System and Programs)
/dev/hda2      NTFS (Storage and Misc)
/dev/hdb1      Linux boot
/dev/hdb2      Linux Swap
/dev/hdb3      Linux Programs


The message I keep receiving when I try to mount hda2 is;
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       or too many mounted file systems
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)


here's my fstab;
Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:5$
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                 $

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1               /boot           reiserfs        notail,noauto,noatime  $
/dev/hdb3               /               reiserfs        noatime                $
/dev/hdb2               none            swap            sw                     $
/dev/cdroms/cdrom0              /mnt/cdrom0     iso9660         noauto,ro
/dev/hda2               /mnt/storage            ntfs            auto,ro,users,users,umask=000

Can someone tell me why it isn't working????
Back to top
View user's profile Send private message
jacob's ladder
n00b
n00b


Joined: 22 Oct 2003
Posts: 68
Location: underwater

PostPosted: Wed Nov 19, 2003 4:58 am    Post subject: Reply with quote

here's a few things for you:

what command are you typing, or are you seeing this on boot (hence the auto)

try to comment out the fstab entry and do it manually

show me the output of:

#fdisk -l /dev/hda
#fdisk -l /dev/hdb
_________________
Smith & Wesson: the original point-and-click interface.
Back to top
View user's profile Send private message
Visseroth
Apprentice
Apprentice


Joined: 13 Oct 2003
Posts: 291
Location: Idaho

PostPosted: Thu Nov 20, 2003 1:29 am    Post subject: Reply with quote

Well this in weird!!! Here is what I got!!
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      4864  39070048+   7  HPFS/NTFS
/dev/hda2          4865      9728  39070080    f  Win95 Ext'd (LBA)
/dev/hda5          4865      9728  39070048+   7  HPFS/NTFS


what the heck does this mean??
Back to top
View user's profile Send private message
RedBeard0531
Guru
Guru


Joined: 21 Sep 2002
Posts: 415
Location: maryland

PostPosted: Thu Nov 20, 2003 1:41 am    Post subject: Reply with quote

short answer, mount /dev/hda5

explination:
THe standard x86 (I think that is where it is defined, but i could be wrong) partition table can only hold 4 partitions. This was set in stone in the days when a copm had one os and under 10 MB HDD's. These are called your "primary" partitions and are assigned numbers from 1-4. The way we have overcome that is with so called extended and logical partitions. An extended partition is a primary disk acting like a virtual drive with its own sub-partitions called logical partitions. Logical partitions start at number 5 no matter how many primary partitions you have. There are newer ways including dynamic disks on windows NT/2000/XP, disklables(IIRC) on bsd, and lvm/evms on linux, but that setup is the classic and universal meathod, and is the most commen. The Itenium series uses a new system that supports like 128 partitions per disk.
_________________
OH MY GOD! Kenny just killed Kenny!
That Basterd!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum