PDA

View Full Version : post-install fstab problem?


rjason
20th September 2005, 04:52 AM
FDC4 Install from DVD on generic laptop.
This is a listing of the default fstab file for my system after install.

LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 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=´<81>@v^K¿<81>²4^CX^M
<98>Á swap swap defaults 0 0

Look at the last 2 lines of my fstab. Its basicly garbage.
Tried ext3 fs with the same results.
Installed 2 times and this is replicated each time.
I can fix this but my real question is what the heck is going on during the install process or the hardware detection process that is causing this?

steve941
20th September 2005, 05:35 AM
it looks like it's swap.. not sure why installer is doing that but you should have a proper swap line
/dev/hda2 swap swap defaults 0 0 -- or something like
..
does fedora boot because it looks like it wouldn't for instance:
LABEL=/ / ext2 defaults 1 1
i would think should be something like
/dev/hda1 / ext2 defaults 1 1 (the LABEL= is optional
.. oh yeah, why is it ext2? did you select that?

rjason
20th September 2005, 01:47 PM

Your right about the swap I fixed it and here is my current fstab;
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 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
/dev/hdc /media/cdrom auto noauto 0 0
/dev/hdc /media/cdrecorder auto noauto 0 0
LABEL=/swap /swap swap defaults 0 0

I also had to add my cd player as the install did not create it.
As for the ext2 fs install I varied the fs selection at install to see if it would effect the fstab file.
Regardless of the fs type the corrupted swap line was the same.

Also the spacing on cut/paste is at fault for the strange looking fstab text in my first posting (tabs didnt make the trip)