LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-17-2006, 11:34 AM   #1
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Rep: Reputation: 0
install/mount external HD


Hey guys,
I've read topics on this but I'm THE TOTAL newcomer to Linux and do not know how to connect the pieces to make this work.
I am using Debian(at work-unknown version), and I have an old(not that old) HD from my laptop that still has useful files from my windows machine. I believe the HD is formatted as a NTFS file system (I'm not really sure-w/e XP formats it to-thats what it is). I used an external USB casing to plug my HD through the USB. On my home Ubuntu machine all I have to do is plug it in and it automatically installs and it works superb. But on my Debian machine it doesn't do anything. I have no idea if it even recognizes the new device or not.
If there is anyone kind enough to guide me into ABC/123 steps to get this thing to work I would greatly appreciate it.
mount device/sda/mnt/point -tvfat anything in that order does not work even though I don't even know what these commands do.
Please help.
 
Old 08-17-2006, 11:44 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
it should be this way
mount /dev/sda1 /mnt
so all your stuff on the usb device will be present at /mnt
cd /mnt
ls -l

if /dev/sda1 doesnt work, then paste your fdisk -l here.
 
Old 08-17-2006, 12:12 PM   #3
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
ok,
first of all - thanks for the quick response
when I try
mount /dev/sda1 /mnt it says: mount: you must specify the file system type
ok...how do I sepcify it, and how do I find out what my HD's file system is?
by "paste fdisk here", I didn't understand that command.
 
Old 08-17-2006, 12:14 PM   #4
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
oh and when I type only mount it gives me the following:
/dev/hde1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hde3 on /var type ext3 (rw)
/dev/hde4 on /usr type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)

what does this mean? and what does mount do anyways?
 
Old 08-17-2006, 12:40 PM   #5
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
mount /dev/sda1 /mnt -t usbfs

type in the command
fdisk -l

and paste the output here.
 
Old 08-17-2006, 12:52 PM   #6
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
mount /dev/sda1 /mnt -t usbfs
this gives me some output about mount etc. I assumed it worked because if I do the same command twice it says that device is already mounted
cd /mnt
ls -l gives the folowwing:
total 0
dr-xr-xr-x 1 root root 0 Aug 16 04:54 001
dr-xr-xr-x 1 root root 0 Aug 16 04:54 002
dr-xr-xr-x 1 root root 0 Aug 16 04:54 003
dr-xr-xr-x 1 root root 0 Aug 16 04:54 004
dr-xr-xr-x 1 root root 0 Aug 16 04:54 005
-r--r--r-- 1 root root 0 Aug 17 10:21 devices
-r--r--r-- 1 root root 0 Aug 17 10:21 drivers

not sure what to do next:

fdisk -l gives me no output
 
Old 08-17-2006, 01:08 PM   #7
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
try this
umount /mnt
mount /dev/sda1 /mnt -t ntfs or (mount /dev/sda1 /mnt -t vfat)
cd /mnt
ls -l
 
Old 08-17-2006, 01:26 PM   #8
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
I did umount /mnt with no output
second time I did again jus to make sure it said:
umount: /mnt: not mounted

in both cases
root@PC105549:/# mount /dev/sda1 /mnt -t ntfs
mount: /dev/sda1 is not a valid block device
root@PC105549:/# mount /dev/sda1 /mnt -t vfat
mount: /dev/sda1 is not a valid block device

also not sure if this is of any use, but I tried
root@PC105549:/# umount /dev/sda1 /mnt -t usbfs
umount: /dev/sda1: not mounted
umount: /dev/sda1: not mounted

I did mount /dev/sda1 /mnt -t usbfs and then did umount , with no output I assumme because it does indeed mount something
 
Old 08-17-2006, 01:32 PM   #9
soggycornflake
Member
 
Registered: May 2006
Location: England
Distribution: Slackware 10.2, Slamd64
Posts: 249

Rep: Reputation: 31
DUH! usbfs is a virtual filesystem which is usually mounted on /proc/bus/usb. It is NOT a filesystem you can put on a hard drive.

Ntfs support in Linux is incomplete. Reading is OK, but write support is currently flaky. You might want to have a look at ntfsprogs.
 
Old 08-17-2006, 01:44 PM   #10
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by soggycornflake
DUH! usbfs is a virtual filesystem which is usually mounted on /proc/bus/usb. It is NOT a filesystem you can put on a hard drive.

Ntfs support in Linux is incomplete. Reading is OK, but write support is currently flaky. You might want to have a look at ntfsprogs.
the first part doesn't help...
ok once it is mounted...where do I go to to get my files...thats all I want to know.
and the link you provided I can't open.
 
Old 08-17-2006, 01:45 PM   #11
tommy865
LQ Newbie
 
Registered: Aug 2006
Location: Dallas
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
oh wait..I opened it..sorry 'bout that
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount my linux external HD? Zmyrgel *BSD 3 07-21-2006 06:01 PM
NTFS external won't mount Neo_Chalchas Ubuntu 2 05-21-2006 04:35 PM
How to mount an external USB HD? Thakowbbery Linux - Hardware 1 05-18-2006 08:20 AM
Howto mount external CD to install debian packages tt2uang Debian 4 03-24-2005 01:39 AM
How to mount an external Harddrive Stargod Linux - Hardware 5 07-11-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:14 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