Help - Search - Members - Calendar
Full Version: Rh9 Basics 2
Linuxhelp > Support > Technical Support
I've got 3HD's in my computer, I use 2 for windows, and 1 for linux.

hda,hdb is windows [with aprox 6-7 partitions], hdc [4 partitions] is linux.

The question is, how can I mount hda or hdb, so that I could see it from linux?
[got a few mp3's there, would help relax while working smile.gif ]

Robert B
Since you are using RedHat 9, You can not mount NTFS partitions out of the box (see below) ... you can mount vfat (that is FAT32/FAT16) partitions.

To mount vfat, create a directory to mount into ... I use something under /mnt ... so :

mkdir /mnt/windows
(you need to make a seperate directory for each mount)

use the command (to mount /dev/hda2):

mount -t vfat -o umask 000 /dev/hda2 /mnt/windows
obviously this will only mount the partition if it is vfat ... for NTFS see below...
for NTFS mounts, see this site ... on the left, click RedHat 9 in the downloads section (download for your kernel), and following the directions here.
Good, it works with hda, but my first hard disc has a few partition, and when I mount hda2 the way you said it,
it comes back with an error 'are you trying to mount an extended or logical partition'.

What to do?

Robert B
Should work ... but you have to use:

/dev/hda1 or /dev/hda2 not /dev/hda (must have a partition number)

also after installing the ntfs stuff (if mounting an ntfs partition) the command would be

mount /dev/hda1 /mnt/windows -t ntfs -r -o umask=0222
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?)

hda1,2,3,4 is FAT32. I've created them with FDISK.
1.Created primary partition
2.Created extended partition
3.Created logical drives in extended partition

mount -t vfat -o umask 000 /dev/hda2 /mnt/windows2 this is how I tryied mounting it, but it drops out the help file for mount, perhaps I did something wrong? if I skip -o umask 000, then the above mentioned message comes out.

Robert B
I know this sounds crazy ... but when you do the command:

fdisk -l /dev/hda

what does it say the partitions are.....
I don't know where to hide myself smile.gif)) please don't look at this smile.gif

[root@robi2kv12 root]# fdisk -l /dev/hda

Disk /dev/hda: 61.4 GB, 61489659392 bytes
255 heads, 63 sectors/track, 7475 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b Win95 FAT32
/dev/hda2 639 7475 54918202+ f Win95 Ext'd (LBA)
/dev/hda5 639 4927 34451361 b Win95 FAT32
/dev/hda6 4928 7475 20466778+ b Win95 FAT32
[root@robi2kv12 root]#

hda5 and hda6 then it is smile.gif

Thanx for the idea! smile.gif

Robert B
Hey ... that's should see some of the things I do biggrin.gif

Are hda1, hda5 and hda6 mounting OK?

I'm listening music from them right now smile.gif , ahhhhh the comfort of this .... mmmmm smile.gif

Robert B
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.