LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-26-2003, 04:10 PM   #1
Q12321
LQ Newbie
 
Registered: Nov 2003
Location: hampstead, md
Distribution: RedHat 9.0 and Knoppix
Posts: 2

Rep: Reputation: 0
Mounting Hard Drives


I have two hard drives, with a windows partition on the first one, and a linux and windows partition on the second. I need to mount both of the windows partitions, and make them visible from the Linux desktop. I have RedHat9.0 by the way.
 
Old 11-26-2003, 04:16 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
First, find out what your partitions are called in Linux, using the command 'fdisk -l' at a command-line.
Then mount them to a folder. First, make the folder:
mkdir /mnt/win_c
Then mount:
mount /dev/[disk] /mnt/win_c
Also a few questions. Can you post the output of 'fdisk -l'? What filesystem(s) are on the Win partitions (NTFS/FAT32)? What desktop enviroment are you using (GNOME/KDE)?
 
Old 11-26-2003, 04:29 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by aaa
mount /dev/[disk] /mnt/win_c
Little corrective side-note.

mount -t <appropriate FS type> /dev/[disk] /mnt/win_c
(FS: vfat, fatXX, ntfs)

Details in
man mount
man fstab


Cheers,
Tink
 
Old 11-26-2003, 06:13 PM   #4
Q12321
LQ Newbie
 
Registered: Nov 2003
Location: hampstead, md
Distribution: RedHat 9.0 and Knoppix
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aaa

Also a few questions. Can you post the output of 'fdisk -l'? What filesystem(s) are on the Win partitions (NTFS/FAT32)? What desktop enviroment are you using (GNOME/KDE)?
Disk /dev/hda: 18.4 GB, 18480365568 bytes
240 heads, 63 sectors/track, 2387 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2387 18045688+ c Win95 FAT32 (LBA)

Disk /dev/hdb: 33.8 GB, 33820286976 bytes
240 heads, 63 sectors/track, 4368 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 3388 25605720 f Win95 Ext'd (LBA)
/dev/hdb2 * 3389 3402 105840 83 Linux
/dev/hdb3 3403 4282 6652800 83 Linux
/dev/hdb4 4283 4368 650160 82 Linux swap
/dev/hdb5 2 3388 25605688+ b Win95 FAT32


Filesystems are Fat32. I'm using Gnome. I'm guessing that I mounted the hard drive, but how do I access it. Like, where is it?
 
Old 11-26-2003, 06:23 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Your Win disks are /dev/hda1 & /dev/hdb5. Try mounting them. Remeber that FAT32=vfat in Linux. Then add lines for them in fstab. Read up: man fstab .
 
Old 11-26-2003, 09:50 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Open a file browser and go to /mnt, the drives should be there. Type file:/mnt in the location bar if needed.

Later

 
  


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 Drives Greebo Linux - Hardware 14 11-29-2005 05:53 PM
Mounting Hard Drives AndrewZorn Linux - General 2 04-03-2005 05:45 PM
mounting hard drives sturgeonman Linux - Newbie 13 05-31-2004 10:13 AM
mounting 2 linux hard drives milesstandish Linux - Hardware 4 03-31-2004 07:31 AM
mounting hard drives deathl Linux - Hardware 3 01-16-2004 02:17 AM

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

All times are GMT -5. The time now is 10:35 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