LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help on mounting my hardrives (https://www.linuxquestions.org/questions/linux-newbie-8/help-on-mounting-my-hardrives-70360/)

jaem 07-05-2003 05:57 PM

help on mounting my hardrives
 
hello. im pretty new to linux, hope you guys can help me with my problems.

im using RH 9 and Win XP.

i got 2 hard disks. i partioned them both. can anyone help me on how can i mount my windows partions?

i partioned the master into two. one is set to ntfs and the other is fat. and the slave, i partitioned into two too. i used the other hafl for linux and the other half is fat.

i can mount the fat system of the slave drive but i cant seem to mount the ntfs and the fat filesystem of the master harddisk. what should i do?

and when i tried to mount the fat FS of the master, it says

mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems


and also what should i do inorder for the system to automount the drives that i used for windows?? thanks

DrOzz 07-05-2003 06:02 PM

well are you sure that you have the right device that your trying to mount?
go into a terminal and log in as root and post the output of :
/sbin/sfdisk -l
and also the thing about automouting, you will have to edit the /etc/fstab..
we'll get to that once you properly mount your devices...

jaem 07-05-2003 06:09 PM

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 2294 2295- 18434556 7 HPFS/NTFS
/dev/hda2 2295 4864 2570 20643525 f Win95 Ext'd (LBA)
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 2295+ 4864 2570- 20643493+ b Win95 FAT32

Disk /dev/hdb: 2491 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdb1 0+ 1274 1275- 10241406 c Win95 FAT32 (LBA)
/dev/hdb2 * 1275 1287 13 104422+ 83 Linux
/dev/hdb3 1288 2393 1106 8883945 83 Linux
/dev/hdb4 2394 2490 97 779152+ f Win95 Ext'd (LBA)
/dev/hdb5 2394+ 2490 97- 779121 82 Linux swap


thats about it..

:)

now what shoudl i do? how do i mount my drives in such a way that i dont have to mount them everytime i log in.


jaem 07-05-2003 06:42 PM

ok i have mounted the two fat drives. how do i mount the ntfs?? and what should i do so that i wont have to mount them everytime i log in?

:)

fancypiper 07-05-2003 07:06 PM

The filesystem config file is /etc/fstab

# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

DrOzz 07-05-2003 07:09 PM

well your going to have to download a package to get support for the ntfs support...and just edit your /etc/fstab file to automount the drives...
you will get the idea by looking at the others how to do it
/dev/hdb1 /mnt/whereUmounted vfat defaults 0 0
just for an example....where i have defaults written you can put various options...but just to get you started that is an idea how it is done.
p.s. go to the sourceforge site to get the ntfs package...almost positive that it'll be there..


All times are GMT -5. The time now is 03:38 PM.