LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2005, 01:33 AM   #1
dicou
Member
 
Registered: Apr 2004
Location: Paris
Posts: 44

Rep: Reputation: 15
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
 
Old 04-19-2005, 01:34 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Could you post your /etc/fstab here and tell us what you are exactly trying to mount and how?
 
Old 04-19-2005, 01:45 AM   #3
dicou
Member
 
Registered: Apr 2004
Location: Paris
Posts: 44

Original Poster
Rep: Reputation: 15
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 !!
 
Old 04-19-2005, 01:52 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hey thanks. Wow, you surely has a lot of HD's there . 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!
 
Old 04-19-2005, 01:55 AM   #5
dicou
Member
 
Registered: Apr 2004
Location: Paris
Posts: 44

Original Poster
Rep: Reputation: 15
Thx megaman
 
Old 04-19-2005, 07:03 AM   #6
eagle87
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
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.
 
Old 04-20-2005, 05:22 AM   #7
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
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
 
Old 04-20-2005, 08:31 AM   #8
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
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.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Unable to save fstab woodgf Linux - Newbie 6 01-06-2004 09:26 AM
where to save in VI DTre08 Linux - Software 3 07-15-2003 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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