I tried the mount command listed at the bottom cause the other hard
drive should be hdc but it didn't come up. It said "mnt/ohd does not
exist"

How do I see if linux even see's the other harddrive?

Eric


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Dave Sherman
Sent: Friday, January 04, 2002 10:02 AM
To: Mandrake-newbie
Subject: Re: [newbie] lost drive?

On Fri, 2002-01-04 at 08:47, Eric Budinger wrote:
> Hi,
>  
>  I just re-installed Linux on my 4 gig hard drive. I have a 4 gig, My
> Cdrom and a 1.2 gig. On my 1.2gig is my OLD linux system with my old
> HOME directory. Well I don't see my old drive. My 4 gig is my Pri
> Master, My CDrom is my Pri Slave and my 1.2 gig is my Sec Master.
Help?
>  
> Eric

Linux is not like DOS -- you can't just access a drive by its letter or
anything like that. Instead, each drive must be mounted on your root
filesystem.

You can probably access the drive by mounting /dev/hdc (or maybe
/dev/hdb, depending upon how the cdrom was detected). The hard drive
devices are named 'hdx' (for hard drive x, where 'x' is a, b, c... in
order of primacy on the IDE channel). cdrom's sometimes appear as a hard
drive if they are ordinary ide drives, or will appear as scsi devices if
they are cd burners.

So, assuming your second hard drive is /dev/hdb, you can mount it on
your root filesystem as a directory, maybe call it /ohd (for 'old hard
drive'). Once it is mounted as a directory, you can access it and do
whatever copying or transferring of data you need to do. Then, just
unmount it and you are ready to go.

The mount command might be something like this (must be done as root):
        mount -t ext2 /dev/hdc /ohd

There are lots of other options to the mount command, 'man mount' for
more info on it.

Dave
-- 
Do not meddle in the affairs of dragons, for you are crunchy, and good
with ketchup.




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to