LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-22-2007, 12:49 AM   #1
Mclaren
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Secondary HDD in Linux


Hi,

how can i mount a secondary HDD in rhel 3.

The HDD contains win xp installed

Thanks,
Mclaren
 
Old 03-22-2007, 12:57 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You need to find out what the device file for the hard drive is, say /dev/hdb. To mount the first partition on /dev/hdb, you can mount it using:
Code:
mkdir /mnt/hdb1
mount /dev/hdb1 /mnt/hdb1
The contents of hdb1 will then be in the /mnt/hdb1 directory.
You will most likely need to do this as root, and you may need to add a switch like "-t ntfs".

If you want this done automatically, you can create a line in /etc/fstab. Use the existing lines in that file as templates.

I hope this helps
--Ian
 
Old 03-23-2007, 12:05 AM   #3
Mclaren
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks IBall,

It worked as you said.

Thanks for your help.

Thanks,
Mclaren
 
  


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
i connect secondary hdd & mount in linux ptlchetan Linux - Hardware 1 09-09-2006 01:59 AM
[RAID1, GRUB] Secondary HDD can't boot up when primary HDD fails Akhran Linux - Newbie 2 05-04-2006 04:17 AM
Mount secondary HDD cdc5205 Linux - Newbie 11 01-25-2006 09:47 PM
mount secondary hdd martinez9049 Linux - Newbie 13 04-22-2005 09:59 PM
Mounting Secondary HDD nairnie Linux - Newbie 7 11-17-2003 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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