How do I get Debian to read my USB external HDD?
I am loving learning Linux. Apt-Get, to me, is the greatest command ever.
But I installed Debian on a spare HDD, and I'm using an external HDD for storage. I'm currently using the current businesscard image of Debian, installed. How do I get Debian to recognize the drive? Thanks! |
Have you installed a desktop? If not, you might want to mount the drive on the commandline. You can either mount it as root or make an entry in the file /etc/fstab.
Before you can do that, please post the output of: Quote:
|
Code:
/dev/hda /dev/hda2 /dev/hdc /dev/sda1 /dev/sda5 |
First, open a terminal and enter
Code:
sudo tail -f /var/log/messages then Code:
sudo mkdir /mnt/externalHDD I think ;) |
I usually just install ntfs-3g and ntfsprogs and all is good.And if you have gnome and have gnome-volume-manager installed it will detect it when plugged in and automount it and create a icon on desktop..
|
Quote:
|
To elsheepo:
I get; Code:
mount: you must specify the filesystem type I'm not sure how to get gnome-volume-manager installed. Would it be Code:
apt-get install gnome-volume-manager Thanks to all so far. |
hardcore: when it tells you to specify the fs type, it usually means that you didn't choose a valid partition (e.g. a whole drive like /dev/sda or an extended partition etc.). I suggest you try to mount the different /dev/sd* devices. mount usually autodetects the fs type. "apt-get install gnome-volume-manager" isn't a bad idea, either, it will make things a lot easier.
|
if its a NTFS drive
Code:
sudo mount -t ntfs /dev/* /mnt/externalHDD/ Code:
sudo mount -t vfat /dev/* /mnt/externalHDD/ Code:
sudo mount -t ext3 /dev/* /mnt/externalHDD/ |
elsheepo: the -t switch is not really necesairy on these file system types. mount autodetects these (so are my experiences).
|
Indeed, thats right, mount dose auto detect as long as you leave out -t. Thanks :)
|
Quote:
Code:
strat@frostbite:~$ su |
oh BTW gnome-volume-manager is for gnome, other desktop environments should have other volume-managers....
|
Okay, after some research I think I've got it. If you could please run this command
Code:
sudo tail -f /var/log/messages Code:
sudo mount -a /dev/sd* /mnt/externalHDD/ most likely, assuming you have no other SCSI devices in your system it should be /dev/sda1 |
Code:
Mar 21 14:56:02 chloe kernel: [84483.503896] usb 2-1: Manufacturer: Western Digital |
All times are GMT -5. The time now is 04:12 AM. |