LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-05-2005, 02:11 PM   #1
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Rep: Reputation: 15
how to mount a external hard drive in ext3 format?


what command shall I use?

thanks.
 
Old 09-05-2005, 02:19 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
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?
 
Old 09-05-2005, 02:26 PM   #3
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Original Poster
Rep: Reputation: 15
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.
 
Old 09-05-2005, 02:31 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
What happens when you type fdisk -l in the terminal?
 
Old 09-05-2005, 02:39 PM   #5
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Original Poster
Rep: Reputation: 15
nothing appears
 
Old 09-05-2005, 02:55 PM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally posted by kuertensun
nothing appears
Nothing at all, or just the external hard drive?
 
Old 09-05-2005, 02:58 PM   #7
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Original Poster
Rep: Reputation: 15
nothing at all just another command prompt
 
Old 09-05-2005, 03:48 PM   #8
tomj88
Member
 
Registered: Apr 2005
Location: Wolverhampton, England
Distribution: Ubuntu
Posts: 334

Rep: Reputation: 30
are you running the fdisk -l command as root?
 
Old 09-05-2005, 03:53 PM   #9
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Original Poster
Rep: Reputation: 15
yes exactly.
 
Old 09-05-2005, 07:02 PM   #10
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
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:
Code:
 sudo fdisk -l
Password:

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.
 
Old 09-06-2005, 02:09 AM   #11
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hi,
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.

here

regards
 
Old 09-06-2005, 08:36 AM   #12
kuertensun
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 76

Original Poster
Rep: Reputation: 15
thanks, i will read about it.
 
Old 09-06-2005, 06:51 PM   #13
nédée
LQ Newbie
 
Registered: Aug 2005
Location: Belgium
Distribution: Debian (sarge)
Posts: 13

Rep: Reputation: 0
the way i mounted was

first check the hard disk

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

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

so now it is called hdb1 and you can mount it

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


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
Mount ext3 hard drive with umask=0 trpn Linux - General 6 09-13-2008 07:41 PM
Can't mount external hard drive...HELP! Stevetgn Linux - Hardware 4 10-18-2005 07:38 PM
can't mount fs on external hard drive fatblueduck Linux - General 11 06-10-2005 03:03 PM
external hard drive mount omarbohsali Linux - Newbie 4 04-27-2005 09:24 PM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 10:51 PM


All times are GMT -5. The time now is 11:06 AM.

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