Unable to mount partition


Forum: HD Install
Topic: Unable to mount partition
started by: jesseakc

Posted by jesseakc on May 20 2005,04:20
I am having problems mounting hda3.


dsl@box:~$ sudo fdisk -l

Disk /dev/hda: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1      1244    626944+  82  Linux swap
/dev/hda2   *      1245      7057   2929752   83  Linux
/dev/hda3          7058     58168  25759944   83  Linux


The mount tool on the desktop gives me an error

Unable to mount this device at this time.  There are typically
three reasons why this might be.  
1) The device isn't quite ready yet (you just closed the cd door).
2) The media is unreadable
3) The mount point directory is in use by another program

So, I tried it manually and I got this...

dsl@box:~$ sudo mount /dev/hda3 /mnt/hda3
mount: you must specify the filesystem type

It all worked yesterday before I started messing with it.  Any ideas?

Thanks again,
Jesse

Posted by jesseakc on May 20 2005,21:13
Here is another hint...  
Code Sample
mkfs.ext2:  bad blocks count - /dev/hda3

Is there anyway to fix this?

Jesse

Posted by cbagger01 on May 21 2005,04:28
It is possible that you did not format the partition after creating it.

Or maybe the mount command needs to know the filesystem type that was formatted.

For example, type:

mount -t ext2 /dev/hda3 /mnt/hda3

or

mount -t ext3 /dev/hda3 /mnt/hda3

Or run an ext filesystem check on the partition:

e2fsck /dev/hda3

Posted by jesseakc on May 21 2005,05:40
I got it working.  I guess there are two types of mkfs and I used the one that checks for bad blocks.  Anyway, I just used the other one and it works.  Don't know if its a good fix or not, but it seems to be running fine.

mkfs.ext2 /dev/hda3 is the one I used.  Thanks for your help.

Jesse

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.