LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-30-2005, 11:09 AM   #1
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
How to make changes to fstab permanent on FC4?


Hi all, I'm using FC4 and I have a fat32 partition to save data. The problem is sometimes fedora seems to mount this partition on boot and sometimes it doesn't so I have to edit fstab, add the partition and mount it manually. My question is how to make fedora mount this partition automatically on boot?? also, how to make all the data inside this partition accesible/writeable by all users??
Thanks in advance.
 
Old 06-30-2005, 01:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Does the entry actually disappear from /etc/fstab on reboot?
 
Old 06-30-2005, 04:38 PM   #3
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Yes, it disappears on reboot, and when I'm shutting down the PC I see a message telling me something like: 'Attention: there is no final new line on /etc/fstab'. What might be wrong??
Thanks in advance.
 
Old 06-30-2005, 04:53 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That's really odd. That message just means that the last character in /etc/fstab should be a newline character... so press enter at the end of the last line.

Please do ls -al /etc/fstab.
 
Old 06-30-2005, 10:08 PM   #5
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
ok, I'll try adding the entry for the fat32 partition and pressing enter to see what happens. This is the result of 'ls -al fstab':
Code:
[vicente@localhost ~]$ ls -al /etc/fstab
-rw-r--r--  1 root root 785 jun 30 10:07 /etc/fstab
[vicente@localhost ~]$
 
Old 06-30-2005, 10:16 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, that certainly looks the way it should be. Let me know about the other part.
 
Old 07-01-2005, 08:52 AM   #7
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Done, I put the fat32 entry after /dev/hda8 (which is the swap partition) instead of putting it at the end of fstab, and it worked. Now the partition is automatically mounted on reboot. Thanks.
 
Old 07-01-2005, 09:52 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problem. Glad you got it working.
 
  


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
FSTAB and /mnt/windows permission problems. Changes are not permanent? Maxei Linux - General 7 11-05-2005 09:42 PM
How to make firewire setup permanent yotamk Linux - Newbie 1 04-28-2005 03:40 PM
How to put a permanent entry in fstab for usb pen drive zulfilee Linux - General 4 09-01-2004 12:36 AM
how do i make network setting permanent? taoweijia Linux - Newbie 3 02-23-2004 12:02 AM
debian - make routes permanent codeape Debian 2 02-14-2004 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:15 PM.

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