LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-13-2006, 02:43 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
USB Help on New Debian Machine


I posted this under the Debian section as I feel that Debian config needs to be taken into consideration since many distros do their own thing.

OK - new install of Debian and I am trying to understand how I can use my 2 front USB ports on my Dell Demension PC. When I look under /media, I see:

Code:
workstation:/media# ls
cdrom  cdrom0  floppy  floppy0  usb  usb0
My /etc/fstab.conf looks like:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sda        /media/usb0     auto    rw,user,noauto  0       0
Can someone please tell me how I would be able to upload and download files to a USB keydrive or USB hardrive I plug in?
 
Old 03-13-2006, 02:51 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Manually:
Your usb drive probably has a partition. It should be /dev/sda1 in your fstab
Automatically:
If using gnome.
Install pmount and gnome-volume-manger.
Remove the last line from you fstab.
Your usb drives will be automatically mounted when inserted.
 
Old 03-13-2006, 02:58 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I don't use Gnome - I am using KDE 3.5.1.

Quote:
Originally Posted by dracae
Manually:
Your usb drive probably has a partition. It should be /dev/sda1 in your fstab
Automatically:

Remove the last line from you fstab.
Your usb drives will be automatically mounted when inserted.
I have not made any changes to my FSTAB as I was unsure if you were directing me to.

What am I doing wrong?

Code:
workstation:/# mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
 
Old 03-13-2006, 03:05 PM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
in /etc/fstab change
/dev/sda /media/usb0 auto rw,user,noauto 0 0
to
/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
 
Old 03-13-2006, 03:08 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Thanks!

Do I need to add a /dev/sda2 for my usb entry in /media?
 
Old 03-13-2006, 03:17 PM   #6
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Only if you have more than one partition on the device
 
  


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
Printing from Debian machine to Win machine, What I did wrong. sarajevo Debian 8 04-30-2008 11:08 PM
Telnet to debian machine dun_noe Debian 6 10-30-2004 06:17 AM
Setting up a gateway on Debian machine colabus Linux - Networking 0 05-22-2004 10:16 AM
debian and redhat in same machine ? abd_bela Debian 2 09-07-2003 07:31 PM
Debian router machine element Linux - Networking 0 08-15-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

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