LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-22-2005, 10:58 AM   #1
Olle
Member
 
Registered: Nov 2003
Posts: 30

Rep: Reputation: 15
mounting hard disk


I've just installed Mdk 10.1. How do I mount my slave disk? There is a win_c2 folder in my /mnt directory which is empty. I don't know where it came from.
The disk has one fat32 partition. In diskdrake there is a mount option, but where do i mount it? I tried /mnt, but mdk told me that this directory should be left i the root file system(?). I don't know why, but I post my fstab file here:

/dev/hda6 / reiserfs notail,acl,user_xattr 1 1
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850,gid=users,users 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap pri=42 0 0
 
Old 01-22-2005, 11:02 AM   #2
jsutton
Member
 
Registered: Nov 2003
Location: Greenville, SC, USA
Distribution: (K)ubuntu 5.04 / Fedora 4
Posts: 113

Rep: Reputation: 15
According to your fstab file, it looks like it will attempt to mount the windows partition in '/mnt/windows' so you may want to make sure that the folder /mnt/windows exists, and then try to mount /dev/hda1. You can do this by opening a terminal and issuing these commands (as root):

Code:
mkdir /mnt/windows

mount /dev/hda1
Hope that helps.
 
Old 01-22-2005, 11:30 AM   #3
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
But there is alredy a windows directory in mnt. I have a windows system installed on my master disk. What is hda1?
 
Old 01-22-2005, 11:35 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
what's the output when you try to mount it ? ( #mount /dev/hda1 )

hda1 is your first hard-disk, ( and you have two of them ? )

egag
 
Old 01-22-2005, 11:41 AM   #5
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Hda1 is my windows partition where I have win 98 installed. This partition is mounted. On the same hard disk is mdk installed in another partition. But, on my other hard disk a FAT32 (windows) partition is unmounted. This is the only partition on this disk. I would like to mount this one.
 
Old 01-22-2005, 12:01 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
then try :

" #mkdir /mnt/disk2 "
" #mount -t vfat -o rw,users,umask=000 /dev/hdb1 /mnt/disk2 "

and see if it's there.

to mount it at boot, add a line like this in fstab :

/dev/hdb1 /mnt/disk2 vfat umask=0,iocharset=iso8859-1,codepage=850,gid=users,users 0 0

egag
 
Old 01-22-2005, 12:10 PM   #7
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
hdb1 doesn't exist.
 
Old 01-22-2005, 12:21 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
huh....
then maybe it's connected to the other ide-cable ?
i think then it'll be hdc or hdd.

egag
 
Old 01-22-2005, 12:31 PM   #9
Olle
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
hdb5! It worked! Thank you!
 
  


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
mounting hard disk with other OS nelo Linux - Hardware 1 10-12-2005 08:59 PM
Mounting a hard disk??? dsschanze Linux - Hardware 4 09-25-2004 11:46 PM
mounting hard disk LTF Linux - Newbie 5 08-31-2004 04:49 PM
Hard Disk mounting !! ShaanAli Solaris / OpenSolaris 14 08-07-2004 03:04 AM
Mounting another hard disk Bluebottle Linux - General 3 02-08-2003 06:06 PM


All times are GMT -5. The time now is 01:46 PM.

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