LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-15-2003, 02:35 PM   #1
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
mounting ext3 harddisk


how can i mount an ext3 formatted harddisk? i've tried ...
mount /dev/hdb /mnt/hdb
mount -t ext3 /dev/hdb /mnt/hdb
 
Old 08-15-2003, 02:38 PM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
what error message do you get?

I suppose that you installed your Linux OS with ext3 file system right?, or is it ext2?

If your file system is ext3, then you should just have to mount it like you did on the first line, if those are the appropiate names for the drive and the folder in the /mnt folder.

let us know bro!

zLinuxz
 
Old 08-15-2003, 04:46 PM   #3
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Goatdemon

Quote:
how can i mount an ext3 formatted harddisk? i've tried ...
mount /dev/hdb /mnt/hdb
mount -t ext3 /dev/hdb /mnt/hdb
The problem youve got here is that you havent specified a partition to mount from /dev/hdb

Youve effectively said - mount my whole primary slave drive to a mount point called /mnt/hdb

What you need to do is specify a partition to mount from /dev/hdb

ie if theres a single partition then it would be

mount -t ext3 -o rw /dev/hdb1 /mnt/hdb

ie replace

/dev/hdb with /dev/hdbx

were x is the partition number you want to mount

Last edited by Skyline; 08-15-2003 at 04:53 PM.
 
Old 08-15-2003, 06:13 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Skyline is correct. Also make sure that the mountpoint '/mnt/hdb' actually exists, and is a directory.
 
Old 08-16-2003, 01:57 AM   #5
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
thanks. i did do a "mkdir /mnt/hdb" so that wasnt the problem. i had tried mounting /dev/hdb3, which was my root partition, this being a harddrive from a previous gentoo install but it didn't work. hd1 mounted fine and its got all of my crap on it. wierd because hdb1 was /boot, hdb2 swap and hd3 /. anyway thanks.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a scsi harddisk Problems colpe Linux - Newbie 17 09-11-2005 03:56 PM
Mounting a scsi harddisk Problems colpe Linux - Hardware 5 09-10-2005 07:51 PM
Mounting my second harddisk? amer_58 Linux - Newbie 10 08-20-2005 08:26 AM
Harddisk problem with mounting [ntfs] Enemyforce Linux - General 3 02-19-2004 02:02 PM
Mounting new harddisk Bodycount Linux - Newbie 1 10-26-2003 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration