LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-11-2005, 10:23 AM   #1
UsrnameThatsNotInUse
LQ Newbie
 
Registered: Aug 2005
Distribution: FC4
Posts: 4

Rep: Reputation: 0
fstab error in Core 4


I installed FC4 and everything went quite nice except for this. My swap partition doesnt work because fstab is not written correctly. Here is my fstab

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=\uffff\uffff\u0796He\uffff#\uffffH&\uffff      `   swap                    swap    defaults        0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,m
anaged 0 0
/dev/hdd                /media/cdrom            auto    pamconsole,exec,noauto,m
anaged 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,m
anaged 0 0
and here is $fdisk -l for that drive
Code:
/dev/hdb1   *           1          13      104391   83  Linux
/dev/hdb2              14        3837    30716280   83  Linux
/dev/hdb3            3838        3964     1020127+  82  Linux swap / Solaris
Any ideas what should be in that line 8 or is it safe to edit it manually.
 
Old 08-11-2005, 06:35 PM   #2
Simon_6162
Member
 
Registered: Jul 2004
Location: UK
Distribution: Fedora, Gentoo, Redhat Enterprise
Posts: 141

Rep: Reputation: 16
As the swap is not working anyway, editing it manually and messing up wont make any difference. I would comment that line out with a # and try the one below

/dev/hdb3 swap swap defaults 0 0
 
Old 08-11-2005, 07:25 PM   #3
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
This is a known bug. https://bugzilla.redhat.com/bugzilla....cgi?id=159087

Just edit fstab and replace the junked label with the correct /dev/hdb3 entry as Simon says. Then issue the following command to activate swap.

swapon -a
 
Old 08-12-2005, 02:27 AM   #4
UsrnameThatsNotInUse
LQ Newbie
 
Registered: Aug 2005
Distribution: FC4
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys! IŽll try it.
 
  


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-sync Fedora Core 3 doralsoral Linux - Software 3 02-02-2005 07:03 PM
fstab Error RJDavison Fedora 2 07-12-2004 04:03 AM
fstab error in line 11, what's wrong? EPa Linux - Networking 4 03-06-2004 10:46 AM
FSTAB / Permission Denied Error clearh20 Linux - Newbie 5 06-10-2003 12:43 AM
/etc/fstab error - RH9 blackx Linux - Newbie 1 05-26-2003 12:01 PM

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

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