ok
uname -a will tell you your kernel version
Boot the system but do not plug in the USB drive yet.. su to root
su -
password
*****
#
mkdir /media/usbdrive - create a directory somewhere to mount the drive - Debian typically mounts devices in the /media directory but you can choose another empty directory if you like..
tail -f /var/log/messages The last 10 lines of the log should appear on the screen
Plug in the USB Drive and watch the Screen for the designation of the drive. it will come up as a sd device so if it is the only USB or SATA drive in the system it will come up as
sda you should be able to see this designation in the messages that scroll onto the screen after pluggin in the drive.
Hit CTRL+C to exit the log listing
Is the drive formatted as Fat32 ? I hope so as that will make things easier.. if the drive is fomratted NTFS things get a bit more complex..
mount -t vfat /dev/sda1 /media/usbdrive Mount the drive to the directory you created
you will then be able to acces the drive through the /media/usbdrive directory..
if that works then you can add an entry to your fstab file to simplify mounting and allow any user to mount and have read/write access to the drive.
Code:
default@debian:~$ more /etc/fstab
# /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/hda3 /home ext3 defaults 0 2
/dev/hda2 /usr ext3 defaults 0 2
/dev/hda4 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /media/usbdrive auto rw,users,noauto 0 0
It's always a good idea to backup your fstab before editing it .. just in case..
cp /etc/fstab /etc/fstab.bak