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

Notices


Reply
  Search this Thread
Old 09-19-2004, 02:02 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
problems with fstab


I want to be able to mount my cdrom without being root, and also I am still having trouble reading my ntfs volume as non root. Here is what my fstab is

/dev/hda2 swap swap defaults 0 0
/dev/hdb1 / ext3 defaults 1 1
/dev/hdb2 /NTFS-D ntfs ro 1 0

/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 1 0
/dev/fd0 /mnt/floppy auto noauto,user 1 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


what exactly do i change?
 
Old 09-19-2004, 02:09 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
/dev/hdb2 /NTFS-D ntfs users,ro,umask=0000 1 0

Any doubt type: man fstab
 
Old 09-19-2004, 02:24 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
great, I can now get into the NTFS-D folder, but no files are showing! There are files there, and nothing is set as being hidden, but when I open the folder, there is nothing there, ! what now?
 
Old 09-19-2004, 04:32 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Post your fstab with the changes done.
 
Old 09-19-2004, 06:54 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
ok, well i quickly figured out what was wrong, and fixed the NTFS issue, but im still wondering how i can mount my cdroms without having to be root. here is what i have. ps, sorry about the formatting, mozilla doesn't seem to like to format the results correctly when i post

/dev/hda2 swap swap defaults 0 0
/dev/hdb1 / ext3 defaults 1 1
/dev/hdb2 /NTFS-D ntfs users,ro,umask=0000 1 0
/dev/hdc /mnt/cdrom iso9660 noauto,users,ro,umask=0000 0 0
/dev/hdd /mnt/cdrom iso9660 noauto,users,ro,umask=0000 0 0
/dev/fd0 /mnt/floppy auto noauto,users,ro,umask=0000 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 09-19-2004, 08:03 PM   #6
Joker_cn
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
that's right
 
Old 09-19-2004, 09:35 PM   #7
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
On your cdrom. Do you have scsi simulation set in your lilo? If not I like your original fstab for the cdrom better than this last one. But I don't have the s on users... only user. Do you have /mnt/cdrom as a created directory. You still have to type mount /mnt/cdrom.

Last edited by ringwraith; 09-19-2004 at 09:37 PM.
 
Old 09-19-2004, 09:55 PM   #8
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
no, i don't have scsi emulation set in lilo , plus i wouldn't need it, all i have are ide drivers. no scsi
 
Old 09-19-2004, 10:10 PM   #9
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
oh, and yes i do have /mnt/cdrom

root@yoritomo:/# cd ..
root@yoritomo:/# cd mnt
root@yoritomo:/mnt# cd cdrom
root@yoritomo:/mnt/cdrom#
root@yoritomo:/mnt/cdrom# mount -r /dev/hdd /mnt/cdrom
root@yoritomo:/mnt/cdrom# ls
Chrono TriggerOST Chrono TriggerOST - Disc II.m3u Doom Music Gackt - Moon Ikaruga
Chrono TriggerOST - Disc I.m3u Chrono TriggerOST - Disc III.m3u Elemental Gearbolt Gackt - Moon.m3u

see, i can do that as su, but i want to do the same exact thing, without having to su all the time
 
Old 09-19-2004, 10:13 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well, everything seems fine, you should be able to mount as user, the other thing i could suggest but it shouldn't be necessary is to add your users to the group called "cdrom".
Try to double-check your fstab for any error, it should work as you pasted here.

Also try putting user instead of users i know it's better to use users but user always worked fine for me, just in case :P

Last edited by gbonvehi; 09-19-2004 at 10:20 PM.
 
Old 09-21-2004, 05:58 AM   #11
vignan_vsv
LQ Newbie
 
Registered: Sep 2004
Location: new delhi
Posts: 1

Rep: Reputation: 0
Angry problem when booting

heloo this is vignan new to linux....

I have changed the etc/fstab file to mount automatically, the directory which i have shared with NFS Server.

but in the formate of the fstab file i have given 0 0 for last two options.

and thats all now the problem is the system is not booting and giving message that

Failed to check file system,do you want to reapair
 
  


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
Are there problems with my fstab cheetahman SUSE / openSUSE 3 03-26-2005 04:17 AM
Problems with fstab? SiLiCoN Debian 2 10-01-2004 04:21 AM
same fstab, new problems pe2338 Debian 16 08-30-2003 10:02 AM
fstab problems h8r Linux - General 6 03-09-2003 07:15 PM
Problems in fstab! marksstroud Linux - Newbie 2 10-27-2001 08:33 PM

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

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