LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-02-2006, 01:06 AM   #1
VampireL0rd
Member
 
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
mount storage harddrive


I had a windows machine and installed slackware 10.2 on it, but kept my storage harddrive for my stuff.
I have it in my fstab, but only root has permisions to use it. How do I change that and how do I mount it
by console. Its reffered to in my dmesg as hdb1, ok so this should work, but it dosn't.

mount -t vfat /dev/hdb1 /mnt/storage

Here is my fstab
dev/hda1 swap swap defaults 0 0
/dev/hda2 / ext2 defaults 1 1
/dev/hda3 /home ext2 defaults 1 2
/dev/hdb1 /mnt/storage vfat defaults 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/hdd /mnt/dvd auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
~
~
 
Old 03-02-2006, 01:33 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Oh it doesn't work hey? That's a bummer, I hate it when stuff doesn't work. Fortunatly, when something doesn't work on my computer, I have an error message in front of me that makes diagnosing the problem significantly easier. Stop me if I'm going to fast for you...

Code:
mount -t vfat -o umask=000,rw /dev/hdb1 /mnt/storage
 
Old 03-02-2006, 01:38 AM   #3
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 152

Rep: Reputation: 20
Hi

I will assume that you know nothing and try to be thorough in my answer. No offence intended.

The mount command is correct but you need to be root. To do this, enter the command su then your root password to operate as root.

myname $ su
Password:
myname #

The password does not show as you type it.
You know you are root (or superuser, which is what the su stands for) when the prompt changes from $ to #

To edit fstab as root, find the command for your favourite text editor (eg gedit kedit kate gxedit nano vim etc ...) then run the command (I use gedit in this example)as root

# gedit /etc/fstab

You will find many examples of a fstab entry for a shared fat32 partition if you search through linuxquestions.

check also the manual pages for mount and fstab

$ man fstab

$ man mount

Note - to exit a manual page type q

hope this helps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot mount usb storage under 2.6.9 stelmed Slackware 6 12-12-2004 08:34 AM
mount storage drive Sc0pE Linux - Hardware 4 08-13-2004 04:09 PM
mount another harddrive Longinus Linux - Newbie 3 05-23-2004 01:36 AM
how to mount a second Harddrive Mikecore Linux - Hardware 5 12-29-2003 01:17 PM
How to mount my other harddrive ? Mikecore Linux - Hardware 4 12-17-2003 12:28 PM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration