LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hoe to access second hard drive in linux (https://www.linuxquestions.org/questions/linux-hardware-18/hoe-to-access-second-hard-drive-in-linux-390407/)

srnerkar1 12-08-2005 02:18 AM

hoe to access second hard drive in linux
 
hello all,
I have redhat V9 on my pc so can one guide me How to access second hard drive on linux or make a second h/d visible in linux.........Thanks In Advance...........

Sargek 12-08-2005 05:24 AM

Quote:

Originally Posted by srnerkar1
hello all,
I have redhat V9 on my pc so can one guide me How to access second hard drive on linux or make a second h/d visible in linux.........Thanks In Advance...........

You will need to do a couple of things first: figure out if your system recognizes the drive, which it should, know what file system is on the drive, and know what drive designation Linux sees the drive as. You will then need to add an entry to your /etc/fstab file to get Linux to see the drive at boot. Is this drive IDE, SATA, or SCSI, and what is your existing drive?

Run
Code:

dmesg | less
to scroll through your kernel boot process, and see if Linux recognizes the drive - also see what your current drive is recognized as. Of course for your current drive, you can look at /etc/fstab for entries like this:
Code:

/dev/sda1                /boot                reiserfs        defaults                0 0
/dev/sda2                /                reiserfs        defaults                0 0
/dev/sda3                none                swap                sw                        0 0
/dev/sda4                /home                reiserfs        defaults                0 0

This is my main drive, but don't use this for your system, it's only an example because our systems are most assuredly different. Post back what the results of demsg are, and what interface your drive(s) are (IDE/SATA/SCSI), and we'll go from there.


All times are GMT -5. The time now is 03:37 PM.