-   Linux - Newbie (
-   -   how to mount a external hard drive in ext3 format? (

kuertensun 09-05-2005 02:11 PM

how to mount a external hard drive in ext3 format?
what command shall I use?


aysiu 09-05-2005 02:19 PM

So the external hard drive is already formatted as ext3?
I believe the command would be something like

mount -t ext3 /dev/sda1 /media/harddrive

That would be assuming, of course, that you'd already created a directory in media called "harddrive" and that the device was plugged in as "sda1" (it could be sda2 or sdb1 or sde1, etc.).

Debian doesn't automount it?

kuertensun 09-05-2005 02:26 PM

I have tried this but it didn't work there is a message says can't find ext3 filesystem on the device but I indeed formatted a ext3 filesystem on the hard drive.

aysiu 09-05-2005 02:31 PM

What happens when you type fdisk -l in the terminal?

kuertensun 09-05-2005 02:39 PM

nothing appears

aysiu 09-05-2005 02:55 PM


Originally posted by kuertensun
nothing appears
Nothing at all, or just the external hard drive?

kuertensun 09-05-2005 02:58 PM

nothing at all just another command prompt

tomj88 09-05-2005 03:48 PM

are you running the fdisk -l command as root?

kuertensun 09-05-2005 03:53 PM

yes exactly.

aysiu 09-05-2005 07:02 PM


Originally posted by kuertensun
nothing at all just another command prompt
Something's seriously wrong, then, not just with mounting your external hard drive. Your regular Linux partition should show up.

For example, when I type it in, I get this:

sudo fdisk -l

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/hda1  *          1        1911    15350076    7  HPFS/NTFS
/dev/hda2            1912      18494  133202947+  f  W95 Ext'd (LBA)
/dev/hda3          18495      19457    7735297+  83  Linux
/dev/hda5            1912      14763  103233658+  b  W95 FAT32
/dev/hda6  *      14764      16434    13422276  83  Linux
/dev/hda7          18363      18494    1060258+  82  Linux swap / Solaris
/dev/hda8          16435      18362    15486628+  83  Linux

Partition table entries are not in disk order

/dev/hda6 is the Linux partition I'm currently using. The fdisk -l command lists all the partitions and devices, mounted and unmounted.

b0nd 09-06-2005 02:09 AM

absolutely don't have any idea that why "fdisk -l" is not showing anything.
since you don't know the mounting procedure so i'm just forwarding a link for that..........its really a good one.



kuertensun 09-06-2005 08:36 AM

thanks, i will read about it.

nédée 09-06-2005 06:51 PM

the way i mounted was

first check the hard disk

fdisk /dev/hdb <-- if it is your second harddisk

mke2fs -j /dev/hdb1 or
mkfs.ext3 -j /dev/hdb1

so now it is called hdb1 and you can mount it

mount /dev/hdb1 /mnt/hdb <-- be sure that dir exists

All times are GMT -5. The time now is 09:26 AM.