 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

4th September 2005, 03:17 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Posts: 14

|
|
|
fstab
ok, i am continously receiving an error
"line 11 in /etc/fstab is bad"
i have no idea about anything in the linux system  (its a fair bit more "complex" to understand than windows but hey, i'll get it one day)
anyway, i opened the offendling file with vi and the offending line is
"LABEL=^[Eß%'5K¡x <9a>TQÅ swap swap defaults 0 0"
sooo, would anyone be able to help me out?
(on another note, is it possible to force an unmount of a cd?)
|

4th September 2005, 03:31 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Wheaton, IL
Age: 29
Posts: 21

|
|
|
Yeah, well it sure doesnt look right to me. It's the line for your swap space, so to fix the error, you'll want to find out which device holds your swap space. For example, mine looks like this
/dev/hdb1 swap swap defaults 0 0
The quickest way I can think of to find out which device is partitioned as swap, is to open a command line and type
fdisk -l
Look for the line that has "Linux swap" for it's System column. Then make your invalid line above look like the line I've got. Just replace my /dev/hdb1 with whatever your partition is.
See if that doesnt help
Tim
__________________
Lead developer for Flare, an open source web frontend for filesharing and group collaboration.
It's meant to replace proprietary solutions that colleges often invest in. Such as httpCommander and NetFiles.
|

4th September 2005, 03:33 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Posts: 415

|
|
That is bad for sure.
My swap partition is /dev/hdb3 and looks like this.....
Code:
LABEL=SWAP-hdb3 swap swap defaults 0 0
Change yours to whatever partition the swap is on. You can find that by running the command: ( as root user ) fdisk -l and look for the one with a type of 82
For my box, that looks like this .....
Code:
/dev/hdb3 9651 9729 634567+ 82 Linux swap / Solaris
|

4th September 2005, 03:51 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Posts: 14

|
|
wellll, i think that worked. i kinda thought it might be something to do with the swap file but i thought i better check first. thanks guys. btw, for some reason fdisk doesnt work...weird i had to use qtparted to check. which btw came up with a couple of error saying corrupt filesystem (guess it thought the fstab was bad to eh?) anyway, i edited fstab with vi (was that how i should have done it?) and alls good now  , and qtparted aint complaining
again, thanks for the help.
|

4th September 2005, 04:12 AM
|
|
Registered User
|
|
Join Date: Feb 2005
Age: 34
Posts: 1,281

|
|
Quote:
|
Originally Posted by frozenrage
wellll, i think that worked. i kinda thought it might be something to do with the swap file but i thought i better check first. thanks guys. btw, for some reason fdisk doesnt work...weird i had to use qtparted to check. which btw came up with a couple of error saying corrupt filesystem (guess it thought the fstab was bad to eh?) anyway, i edited fstab with vi (was that how i should have done it?) and alls good now  , and qtparted aint complaining
again, thanks for the help.
|
fdisk is in /sbin/fdisk, if you ran it a regular user (even with sudo rights) it might have said no command as the absolute path is what you needed there (if /sbin/ isn't in your path -- exho $PATH)
__________________
I read your e-mail
|

4th September 2005, 05:14 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Posts: 14

|
|
|
hmm, thanks. is it possible to add /sbin/ to the local path variable?
|

4th September 2005, 06:29 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 13

|
|
|
I have the same problem, I already checked and my swap partition is at /dev/hdb2,
so should I edit fstab like this:
1) LABEL=/dev/hdb2 swap swap defaults 0 0
2) /dev/hdb2 swap swap defaults 0 0
3) LABEL=SWAP-hdb2 swap swap defaults 0 0
I just want to know who it is supossed to be...
|

4th September 2005, 10:17 PM
|
|
Registered User
|
|
Join Date: Sep 2005
Posts: 14

|
|
i just did a google search. this is a bug in anaconda in FC4 that has been reported. seems a lot of people have this problem  .
anyway, yeah, i'm prettyt sure you should just edit it like that. also remember to turn it on with "/sbin/swapon /dev/hdb2"
then to make sure its working do "cat /proc/swaps"
anyway, thats how i did it and its working for me.
|

4th September 2005, 10:26 PM
|
 |
Registered User
|
|
Join Date: Aug 2005
Location: EU, Germany
Age: 39
Posts: 1,185

|
|
Quote:
|
Originally Posted by mencargo
I have the same problem, I already checked and my swap partition is at /dev/hdb2,
so should I edit fstab like this:
1) LABEL=/dev/hdb2 swap swap defaults 0 0
2) /dev/hdb2 swap swap defaults 0 0
3) LABEL=SWAP-hdb2 swap swap defaults 0 0
I just want to know who it is supossed to be...
|
The answer is
2) /dev/hdb2 swap swap defaults 0 0
__________________
Powered by Fedora & CentOS | Windows-free since 2002
|

4th September 2005, 11:52 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 13

|
|
|
Thank you tomcat, I'll try that.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
What's in a name? FC5 fstab
|
mmanders |
EOL (End Of Life) Versions |
3 |
29th March 2007 02:13 PM |
Current GMT-time: 07:03 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|