LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-31-2003, 10:57 PM   #1
Tad
LQ Newbie
 
Registered: Mar 2003
Location: Everett, WA
Distribution: SuSE
Posts: 3

Rep: Reputation: 0
2nd Hard Drive


I'm a real newbie (install SuSE 8.0 2 days ago). I have added a second hard drive that has Fat 32 format and stuff I don't want to lose. It is listed on the hardware listings but I haven't been able to mount it. It is a Maxtor 60 GB. Help!

Tad
 
Old 03-31-2003, 11:31 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
I'm going to assume IDE, Primary Slave... As root:
Create a mount point: 'mkdir /mnt/hdb'
Mount the partition: 'mount /dev/hdb1 /mnt/hdb'

Do you get any errors while performing the mount?
 
Old 04-01-2003, 08:24 AM   #3
moinefou
LQ Newbie
 
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27

Rep: Reputation: 15
To find what driver file holds our disk, check http://www.tldp.org/LDP/sag/x822.html (4th paragraph, title /dev/hda).

Then, create the mount point, a directory where you will access the data. I use a special directory for all mount points, not in /mnt, to keep this latter free as a mount point (as in FHS). I created a /fs (stands for FileSystems). So you do, as root :

mkdir /fs && mkdir /fs/windows

Then you must include a line in /etc/fstab for your disk to be mounted every time you boot. Run this, as root :

echo "/dev/hdb /fs/windows vfat defaults 0 0" >> /etc/fstab

If you want many users to access your FAT32 data, don't inset that line, but create a group :

addgroup win-access

Then add the users meant to access the FAT32 disk to that group :

adduser tatania win-access
adduser nadia win-access
...

Beware, I'm not sure if there is an adduser/addgroup in Suse.

Then run this, as root :

echo "/dev/hdb /fs/windows vfat defaults,gid=`grep '^win-access' /etc/group | cut -d ":" -f 3` 0 0" >> /etc/fstab

Last edited by moinefou; 04-01-2003 at 08:28 AM.
 
Old 04-01-2003, 10:28 AM   #4
Tad
LQ Newbie
 
Registered: Mar 2003
Location: Everett, WA
Distribution: SuSE
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks bentz, it works well, no errors. Thank you too moinefou. while I didn't use your method, I'm glad to know more than one way of doing things.

Tad
 
Old 05-21-2003, 10:52 PM   #5
bentbike1
LQ Newbie
 
Registered: Feb 2001
Posts: 23

Rep: Reputation: 15
re hard drive with unknow os

i have a drive from a dishnet work receiver it has something on it i want to mount that drive as is to see what is on it how do i do this with out destroying the data
 
Old 05-22-2003, 02:05 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
bentbike1:
1) Log in as a user then type su at the console.
2) Make a directory. For example in /mnt
mkdir /mnt/dishnet-work-receiver
The directory can be anything you want. Most LINUX distributions put additional drives under /mnt
3) Go into /dev and find the drive.
4) Type mount -r /dev/hdb /mnt/dishnet-work-receiver
This will mount the drive as read only from the designated -r. Mount will try to mount it and try to find the right filesystem. If it doesn't then you need to remember what filesystem and type
mount -t filesystemtype -r /dev/hdb /mnt/dishnet-work-receiver
 
Old 05-22-2003, 01:47 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i too also have prob. with my second hard disk which also has redhat 9.0
now the prob. is that when i boot linux in the first hdd with redhat 9.0 which is primary master then it starts detecting devices of my another computer from my other hdd.
such was not the prob. with radhat 7.3,it started in 8.0 and 9.0
 
  


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
2nd hard Drive grabro Linux - Hardware 1 02-05-2005 06:49 AM
2nd Hard Drive snutz411 Linux - Hardware 3 03-24-2004 01:52 PM
2nd hard drive naflan Debian 4 02-22-2004 03:55 PM
2nd hard drive neo.sarcastic Linux - Hardware 4 09-23-2003 12:22 AM
2nd hard drive jarrodatt Linux - Hardware 1 11-12-2002 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:52 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
Open Source Consulting | Domain Registration