LinuxQuestions.org
Help answer threads with 0 replies.
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 09-15-2004, 07:22 PM   #1
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Rep: Reputation: 15
Angry how do I rebuild my /etc/fstab file?


Hi, I was trying to get my CD-RW drive working on my Debian box and now both of my CD drives won't work, is there a utility that lets me rebuild my /etc/fstab file?
 
Old 09-15-2004, 08:19 PM   #2
Cake
LQ Newbie
 
Registered: Jan 2004
Location: UK
Distribution: Fedora Core 3
Posts: 27

Rep: Reputation: 15
Did you actually change your fstab file? What does it look like now?
 
Old 09-16-2004, 05:05 PM   #3
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
yeah, I directly edited my /etc/fstab file, here it is.

Code:
auto# /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   iso9660	ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660	ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sda1	/mnt/sda1	auto	rw,user,auto	0	1
/dev/hdc is my regular CD-ROM drive.
/dev/hdd is my CR-RW drive.
/dev/sda1 is my USB JumpDrive.
 
Old 09-16-2004, 07:19 PM   #4
Cake
LQ Newbie
 
Registered: Jan 2004
Location: UK
Distribution: Fedora Core 3
Posts: 27

Rep: Reputation: 15
What are the symptoms of it not working? Are there errors during startup? What happens if you try a command like 'mount /dev/hdc' ?

Also, that 'auto' before the first hash character in your fstab file looks suspicious - it may be causing errors when the file is parsed during startup. Try getting rid of it.
 
Old 10-10-2004, 09:58 AM   #5
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
I agree with cake, the very first "auto" is read as if it were a command to the mounter !!! Delete that word, quit & save and all should work fine.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help regarding fstab file thinker1 Linux - Security 1 11-01-2005 09:02 PM
changes to fstab file joanduan Linux - Newbie 3 03-10-2005 01:32 PM
fstab file Haroon Linux - General 12 09-08-2004 06:09 AM
fstab file gmg Linux - Newbie 5 09-03-2003 03:21 AM
rpm --rebuild: No such file or directory Halz Linux - Software 8 10-25-2001 05:32 AM


All times are GMT -5. The time now is 12:10 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 Google+: linuxquestions
Open Source Consulting | Domain Registration