LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't save my /etc/fstab :( (https://www.linuxquestions.org/questions/linux-newbie-8/cant-save-my-etc-fstab-314762/)

dicou 04-19-2005 01:33 AM

Can't save my /etc/fstab :(
 
Hello everybody :).
just a quick question,
does anybody know why i can't save the /etc/fstab file?
I'm under fluxbox, on a debian (knoppix live cd 3.7),
as root i edit this file, i modify it,
but when i reboot, my partition are not mounted as i want,
they are read-only whereas i specified read-write and so on...
I really donc understand :(
Thks a lot ;)

Mega Man X 04-19-2005 01:34 AM

Could you post your /etc/fstab here and tell us what you are exactly trying to mount and how?

dicou 04-19-2005 01:45 AM

Sure i can :).

Code:

Sure i can!

# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hdc4  /  ext3  defaults,errors=remount-ro  0

       
Quote:

       
       
               
       
       

                       

                       
                                # /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hdc4  /  ext3  defaults,errors=remount-ro  0  1

proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
usbdevfs  /proc/bus/usb  usbdevfs  defaults  0  0
sysfs  /sys  sysfs  defaults  0  0
/dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/dvd /dvd  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/cdaudio /cdaudio  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/sda1 /mnt/removable vfat defaults,rw,user,auto 0 0
# Added by KNOPPIX
/dev/hdc1 /mnt/hdc1 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdc5 /mnt/hdc5 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdc6 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdc7 /mnt/hdc7 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdd5 /mnt/hdd5 ntfs noauto,users,exec,ro,umask=000 0 0
                       
                       

               



I tried to mount the last one, hdd5,
i know that its an NTFS one, so it's not the same as the other, i tried that :
/dev/hdd5 /mnt/hdd5 ntfs auto,users,exec,rw,umask=000 0 0

but when i reboot,
the changes were not saved :'(,
Thx by advance Megaman and the other helper :)!!

Mega Man X 04-19-2005 01:52 AM

Hey thanks. Wow, you surely has a lot of HD's there :D. Ok, focus. Well, I don't think you can actually write into a NTFS partition, it can only be mounted ro (read only). To be able to write into NTFS, as far as I know, you need to recompile your kernel adding support for that...

There should be some kernel patches flying around the net, but as I have no experiences mounting NTFS with write support, I won't suggest anything and damage your system :). But somebody will probably (and hopefully) reply.

What I could suggest, however, is to create a partition of type FAT32 so both Linux and Windows can write into it right off the box ;)

Good luck mate!

dicou 04-19-2005 01:55 AM

Thx megaman ;)

eagle87 04-19-2005 07:03 AM

The only NTFS rw support i know of that's useable is Captive, which isn't supported by the linux kernel anymore. (not atleast when i tried it)
NTFS support in the kernel is very limited, and problably nothing you'd like to use.

basileus 04-20-2005 05:22 AM

I suppose Knoppix is re-creating the fstab during every boot. I can't recall what programs knoppix used to discover hardware, but uninstalling the service that "discovers" your harddisks should do the trick.

I suggest installing "aptitude" and checking the descriptions of the packages installed, and removing appropriate hardware discovery packages.

Check "apt-howto" on info about Debian package management. If you've already read it, my quickstart:

1. Edit /etc/apt/sources.list and add suitable servers to the list
2. Run "apt-get update"
3. Run "apt-get aptitude"
4. Check "man aptitude"
5. Run "aptitude"

Hope this helps :)

Kroenecker 04-20-2005 08:31 AM

You installed Knoppix to hard disk? I'm not sure why you would want to, but, ok, cool. You should go to a Knoppix specific forum on this website or at a Knoppix website and ask them what program you need to remove.


All times are GMT -5. The time now is 04:07 PM.