LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-03-2004, 02:19 PM   #1
stefane321
Member
 
Registered: May 2004
Location: Canada
Distribution: SUSE 9.3
Posts: 132

Rep: Reputation: 15
Browsing between 2 harddisk


I have two harddisk on my computer and I dont know how to access it to read it or to write on it.

Can you please explain me?
 
Old 09-03-2004, 02:40 PM   #2
crane
Member
 
Registered: Sep 2003
Location: Alabama
Distribution: Blag, Fedora core 1 and 2, Clarck Connect
Posts: 70

Rep: Reputation: 15
Have you looked in your /mnt file?
I i saw correctly your using redhat right?

I would think it would have mounted it for you and put it in /mnt file.

What exactly are you trying to do? is it a duel boot system or just 2 hard drives on a full linux system.?
 
Old 09-03-2004, 06:12 PM   #3
stefane321
Member
 
Registered: May 2004
Location: Canada
Distribution: SUSE 9.3
Posts: 132

Original Poster
Rep: Reputation: 15
Re about my 2 harddisk

I'm usind Redhat 8

In /mnt I only have my cd-r , my cr-rw and my floppy drive

Actualy I have one hard disk with windows and linux and Grub to choose it

And I have one hard disk with nothing on and I want to use it to do backups

Thanks for help
 
Old 09-03-2004, 07:29 PM   #4
NLR
Member
 
Registered: Jun 2004
Posts: 103

Rep: Reputation: 15
You need to mount the hard drive before you can access them.

With:
mount /dev/<harddrive> <mount point>

I'm not sure how much you know about linux so I am going to explain...

Linux sees your hard drives as /dev/hda and /dev/hdb (/dev/hdx, you replace x with a for the first drive, b for the second, c or the third ect...)

The mount point is where this hard drive will be accessible at. Most cases its in the /mnt dir.

Heres some commands that _should_ get you running (that is if the drive you want to mount is the second drive (/dev/hdb))

Code:
mkdir /mnt/backup_sys
mount /dev/hdb /mnt/backup_sys
Now when you go to /mnt/backup_sys you will be working on the second hard drive....

Do you want this to mount on boot up each time? if so ask I will so you how to do that too...

Andrew
 
Old 09-03-2004, 09:04 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
Furthermore assuming you have IDE drives.
/dev/hda = 1st IDE controller master
/dev/hdb = 1st IDE controller slave
/dev/hdc = 2nd IDE controller master
/dev/hdd = 2nd IDE controlle slave
etc. etc. etc...

What do you mean by nothing on it? Is it partitioned?
 
Old 09-03-2004, 09:39 PM   #6
NLR
Member
 
Registered: Jun 2004
Posts: 103

Rep: Reputation: 15
Thx michaelk... I didn't like my explanation but didn't have much time... was just coming back to fix it, but you got. Thanks again!
Andrew
 
Old 09-07-2004, 10:43 AM   #7
stefane321
Member
 
Registered: May 2004
Location: Canada
Distribution: SUSE 9.3
Posts: 132

Original Poster
Rep: Reputation: 15
I dont know if my second drive is partitionned.

By "nothing on it" I mean no data on.

I did what you said for /dev/hdb:

mount /dev/hdb /mnt/second_drive => that created a directory called lost+found

but I did the same ting for /dev/hda

mount /dev/hda /mnt/first_drive => that gave me this message "mount: you must specify the filesystem type "
 
  


Reply



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
browsing Ammad Linux - General 1 09-13-2004 04:59 AM
browsing noobtesting Linux - Networking 2 05-03-2004 08:22 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
browsing a cd evian Linux - Newbie 4 03-16-2003 05:46 PM
Harddisk. chuck77 Linux - General 3 12-13-2001 05:02 AM

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

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