Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-31-2003, 09:57 PM   #1
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!

Old 03-31-2003, 10:31 PM   #2
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, 07:24 AM   #3
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 (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 07:28 AM.
Old 04-01-2003, 09:28 AM   #4
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.

Old 05-21-2003, 09:52 PM   #5
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, 01:05 AM   #6
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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, 12:47 PM   #7
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

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


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

All times are GMT -5. The time now is 04:50 PM.

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