LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how do I rebuild my /etc/fstab file? (https://www.linuxquestions.org/questions/debian-26/how-do-i-rebuild-my-etc-fstab-file-231099/)

levicc00123 09-15-2004 07:22 PM

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?

Cake 09-15-2004 08:19 PM

Did you actually change your fstab file? What does it look like now?

levicc00123 09-16-2004 05:05 PM

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.

Cake 09-16-2004 07:19 PM

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.

bendeg 10-10-2004 09:58 AM

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.


All times are GMT -5. The time now is 03:14 AM.