Results 1 to 3 of 3

Thread: BIG Problem with /etc/fstab

  1. #1
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Angry BIG Problem with /etc/fstab

    Hi evrybody.
    I have installed BT20 Final from CD to HardDisk.
    After installation I've seen /etc/fstab and found something like that:

    tmpfs / tmpfs defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /mnt/hda1 ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 /mnt/hda3 reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate



    I've tried to modify it with Gedit (nano, mc) because I think I should have something like this:
    #tmpfs / tmpfs nouato,defaults 0 0 # AutoUpdate
    devpts /dev/pts devpts gid=5,mode=620 0 0 # AutoUpdate
    proc /proc proc defaults 0 0 # AutoUpdate
    /dev/hdc /mnt/hdc_cdrom iso9660 noauto,users,exec 0 0 # AutoUpdate
    /dev/hda /mnt/hda ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda1 /boot ext2 auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/hda2 swap swap auto,defaults 0 0 # AutoUpdate
    /dev/hda3 / reiserfs auto,noatime,users,suid,dev,exec 0 0 # AutoUpdate
    /dev/fd0 /mnt/floppy vfat,msdos noauto,noatime,users,suid,dev,exec 0 0 # AutoUpdate


    but the problem is also the same.
    Before I reboot my laptop I can see all my change and the filesystem is ok, but after next bootstrap all my modification disappear and /etc/fstab return to be what it was at the begining.

    So,
    how can I modify /etc/fstab?
    It's correct my idea to change it or I have to let /etc/fstab unchanged?

    Thank you for your help!!!

  2. #2
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  3. #3
    Just burned his ISO
    Join Date
    Apr 2008
    Posts
    8

    Default

    I've looked in one thousand thread but at least I've found the response to my question.
    I put it in this thread also.

    After a while of more googling, I gave up on finding the answer there and set out using grep to search for fstab in various config places. After a little while, I found what I was looking for in /etc/rc.d/rc.slax In this directory, there are two references to the binary called fstab-update. There are two lines referring to this file in there. Both need to be commented out in order for it to work. After this is done, fstab can be fixed, the directory deleted, and it stays that way. HOORAY!


    Thank you everybody...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •