LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2003, 05:57 PM   #1
jaem
Member
 
Registered: Jun 2003
Location: Philippines
Distribution: Red Hat Linux 9
Posts: 56

Rep: Reputation: 15
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
 
Old 07-05-2003, 06:02 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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...
 
Old 07-05-2003, 06:09 PM   #3
jaem
Member
 
Registered: Jun 2003
Location: Philippines
Distribution: Red Hat Linux 9
Posts: 56

Original Poster
Rep: Reputation: 15
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.


Last edited by jaem; 07-05-2003 at 06:38 PM.
 
Old 07-05-2003, 06:42 PM   #4
jaem
Member
 
Registered: Jun 2003
Location: Philippines
Distribution: Red Hat Linux 9
Posts: 56

Original Poster
Rep: Reputation: 15
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?

 
Old 07-05-2003, 07:06 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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

Last edited by fancypiper; 07-05-2003 at 07:09 PM.
 
Old 07-05-2003, 07:09 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple hardrives blitzX Linux - Hardware 5 01-02-2005 08:31 PM
2 hardrives how do I acces the second one? Hobbe Mandriva 5 10-08-2004 09:46 AM
hardrives Loco-Guzm Mandriva 7 09-01-2004 12:56 PM
Mounting Systems/Hardrives? drdroid Linux - Networking 1 12-11-2003 05:55 PM
Permissions To Other Hardrives?? shooter Linux - Newbie 1 10-21-2001 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration