[H-GEN] newbie-mounting a second hard drive.

Robert Brockway robert at timetraveller.org
Sat Aug 10 19:57:45 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Sat, 10 Aug 2002, Annerley Al wrote:

> Yo! OK, After a bit of fooling around, not knowing if it was already
> mounted or not....

Tyep "mount" with no options to see yout mounted filesystems.

> I ran fdisk -l /dev/hdb at Robert's suggestion, thank you.
>
> It said 255 heads, 63 sectors, 3649 cylinders
> Units = Cylinders of 16065 *512 bytes.
> device /dev/hdb1
> boot *
> start 1   End 3649
> Blocks 29310562
> Id C
> System Win95 Fat32 (LBA)
>
> Looks OK? That's a lot of heads!

Heads aren't really heads anymore :)  Disk geometry is now full of smoke &
mirror :)

> I can't seem to access any files on it with ls, but maybe I can't navigate
> to it correctly?

If it is not mounted then you would be cding into an empty directory.  You
might see this behaviour.

> ls just gives a blank line as if there are no files on it.  That's if I am
> referring to the correct "directory".
> I had navigated to /mnt/hda1

Is this what you mounted it as?  There is no need to tie the mount name to
the device name and infact it is usually avoided.  did you put /mnt/hda1
(or /mnt/hdb1) in the /etc/fstab?

> The way I stuffed it up was by using two drives on one machine, connecting
> only one drive at a time.
> I was running Linux off another drive, and closed it down.
> I was too quick to re-connect this drive (which I use only for Windows
> sessions) before the Linux session had completely finished.

Maybe I'm wrong but this sounds like you were hot swapping the IDE drives.
If so, all bets are off about the health of the drive in question I'm
afraid.

If you were hot swapping you're lucky you didn't lose both drives & the
controller.

> So I presume some Linux stuff was written to it, destroying the WIN xp
> formatting info.

Ouch.

This could have caused extensive damage to the filesystem on the recipient
drive.

Confirm that you have the drive mounted.

It might be worth posting your /etc/fstab file and the output of the mount
command so we can see if the filesystem is mounted.

Oh, and a reminder to everyone.  Backup Backup Backup.

Think of those important files of yours.  Now think about them being gone.
How much more difficult did life just get for you?  Backup.

Cheers,
	Rob

-- Robert Brockway B.Sc. email: robert at timetraveller.org  ICQ: 104781119
   Linux counter project ID #16440 (http://counter.li.org)
   "The earth is but one country and mankind its citizens" -Baha'u'llah


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list