LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-16-2006, 07:40 AM   #1
Old Bill
LQ Newbie
 
Registered: Mar 2006
Location: Chesapeake Bay, USA
Distribution: Fedora 2
Posts: 1

Rep: Reputation: 0
Linux can't access my second hard drive


THE PROBLEM: My computer has two hard drives. Linux (Fedora 2) is installed on one. I have not been able to access the other even though the BIOS sees it and Disc Druid purported to partition it when I installed Linux.

HARDWARE:
450MHz Pentium 111 on 100MHz CC820 Motherboard
BIOS: CC82010A.86A.006.P04
128MB RAM
Primary IDE Master: 8GB Maxtor 90871U2 Hard Drive
Primary IDE Slave: 16GB Maxtor 91728D8 Hard Drive
Linux is installed on the Primary Master Drive - the small one

HISTORY: I originally installed Linux in a stripped down version (no system admin or programming stuff) on the small drive six or eight months ago. At that time the small drive was the slave. I ran the computer as a dual boot set up with Windows 98 on the large (master) drive, booting to the slave with a floppy. While working in Linux I was able to access and work with Windows files on the large drive.

A few weeks ago I decided I was ready. I migrated all the Windows stuff I needed to another computer and switched the jumpers on the hard drives so the smaller was the master. I then did a complete Linux reinstall, this time including a bunch of stuff I had previously left out. For this install I had Disc Druid work only with the existing Linux partitions, that is, the small drive.

When I couldn't find the second hard drive I did another complete reinstall, this time telling Disc Druid to set up everything as Linux partitions. Anaconda wanted to install Linux on the larger (hdb) drive, but I told it to go back to hda. I know it did this because there is only 4.3GB open space left on the home drive. I still cannot find the large drive.

If I log in as Root and click through Computer, file system, dev I find a whole bunch of stuff listed from hda1 through hdt. If I click on - say - hdb1 I get an error message saying "Nothing Attached." There was a whole bunch of stuff left on the large drive when I started the first reinstall but it is possible (and quite acceptable) that it was all blown away in the second reinstall. Still, there should be 16 Gigs of space for me to store files. WHERE IS IT?

PLEASE DON'T TELL ME to recheck the hard drive cables etc. I am confident of my art and, in any case, have triple checked this already. Besides, the BIOS locates it as the slave on the primary IDE.
 
Old 03-16-2006, 08:03 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
The drive needs to be mounted.

First, did you--at some point--create and format any partitions on this drive?

Open a terminal, switch to root (su) and type "fdisk -l" You should see listings for both of your drives. Here's a sample:
<<<<
Disk /dev/hdg: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdg1 * 1 4665 37471581 83 Linux
/dev/hdg2 4666 4866 1614532+ 5 Extended
/dev/hdg5 4666 4866 1614501 82 Linux swap / Solaris
>>>>>
This shows that hdg has a primary partition + an extended partition that is totally used by the swap logical partition. (Convoluted approach, but it works)

If your hdb drive shows no partitions, that is you first step. fdisk, cfdisk, and others can be used to create partitions.

If you have partitions, the next step is "mount". This is done automatically at bootup for anything that has an entry in /etc/fstab.

To mount manually, first create a mount point in the directory tree.

Here are all the steps--assuming the disk already has 1 partition, named hdb1:

Commands issues as root--or using sudo:
cd to directory where you want the mount point
enter "mkdir name" name = the name of the new mount point
"mount /dev/hdb1 name"
"cd name"
"ls"

You should now see the contents of the partition

Let me know if I lost you somewhere, and we'll back up
 
  


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
Grub in MBR no Linux installed can't access hard drive bookmonger Linux - Software 13 02-14-2006 07:06 AM
hoe to access second hard drive in linux srnerkar1 Linux - Hardware 1 12-08-2005 05:24 AM
access external hard drive linux partition on linux and vice versa garyozzy Linux - Newbie 2 08-03-2005 06:11 PM
access linux hard drive from windows pcandpc Linux - Newbie 12 05-14-2005 04:41 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM


All times are GMT -5. The time now is 07:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration