LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-09-2005, 11:35 PM   #1
TexasDevilDog
Member
 
Registered: Nov 2003
Posts: 54

Rep: Reputation: 15
/etc/fstab file has gabage in it


I have installed several times this weekend. I noticed that the /etc/fstab always has gabage in it. Always on the swap partition line, which cause the swapper to not work sometimes. Anyone else having that problem.

I already fixed it, but something like this.
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620  0 0
/dev/shm                /dev/shm                tmpfs   defaults        0 0
/dev/proc               /proc                   proc    defaults        0 0
/dev/sys                /sys                    sysfs   defaults        0 0
LABEL=#############################################swap                    swap    defaults        0 0
~
 
Old 10-10-2005, 12:50 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
This type of fstab problem is posted frequently (example: https://bugzilla.redhat.com/bugzilla....cgi?id=161780 ), but I haven't seen an explanation of why it happens.

But it's easy to fix by replacing the LABEL=... garbage with the actual device (e.g., /dev/hda1).

When in doubt as to the device to use, run:

fdisk -l

and identify the partition(s) labeled “swap”.
 
  


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
Need Help regarding fstab file thinker1 Linux - Security 1 11-01-2005 09:02 PM
changes to fstab file joanduan Linux - Newbie 3 03-10-2005 01:32 PM
fstab file Haroon Linux - General 12 09-08-2004 06:09 AM
fstab file being overwritten MacLin Fedora 3 07-26-2004 01:25 PM
fstab file gmg Linux - Newbie 5 09-03-2003 03:21 AM

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

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