FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG

Edward.D.Kramer at wellsfargo.com Edward.D.Kramer at wellsfargo.com
Tue Sep 27 00:28:44 UTC 2005


Thanks Rick I will give the e2label command a shot, I have never seen or
heard of it before, so Im looking forward to using it.  Im fairly
comfortable with the mtab file and fstab, I guess that's why I was so
shocked when things weren't working.

I even had no problem adding a 250GB(with 130 GB of music on it) HD from
my previous RH9 environment, created the mtab entry and fstab, it
mounted perfectly fine.   

The error message I get is during boot, and it literally says something
like:

Error on Invalid Line #X where X is the line number that sets the
partition label for /home or /opt. Then is prompts for Control-D or
Maintenance mode.  No more no less. I have never had any problems like
this installing Redhat before.  I have been using it since RH 5.2 back
when you had to compile your own tulip.c just to get Ethernet running :)
Anyway, I will see what the actual label is. 

I spoke with a bunch of my collegues and they all recommended going to
FC3 instead.  Thoughts on that statement?

DK

-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
Stevens
Sent: Monday, September 26, 2005 04:51 PM
To: Getting started with Red Hat Linux
Subject: Re: FC4 Install breaking FSTAB File - NOT SWAP GARBAGE BUG

On Mon, 2005-09-26 at 18:09 -0500, Edward.D.Kramer at wellsfargo.com wrote:
> I have been using RH9 for years and decided to make the jump to FC4
> and so far Im very disappointed.  I ran into the SWAP garbage bug and
> was able to get into resucue mode and clean up this line within the
> fstab file.  However, during my install I had created several
> partions, /, /boot, /home, /opt.  The / and /boot lines seem fine to
> be fine but the /home and /opt partitions were throwing invalid line
> errors.  I removed the lines and boom it started right up.  Now the
> problem is that, Im missing the disk space that I partitioned for, and
> I have attempted to remap the partitions in the mtab file and made the
> corresponding updates in the fstab file.  Boom Im still getting
> invalid line errors on in my fstab.  I can see the HAD partions have
> been created, I have tried mapping these in mtab file labeling it
> to /home, then using the following line FSTAB.   
> 
>  
> 
> Fstab entry
> 
> LABEL=/home            /home                   ext3    defaults 1 2
> 
>  
> 
>  
> 
> Any thoughts on what Im doing wrong?  Or is there some funky bug with
> the installer on partitions other than root and boot with FC4?

I should first recommend that you NEVER futz with /etc/mtab manually
unless you're really, really certain of what you're doing.  /etc/mtab is
the primary way the filesystem utilities know what's where.

I'd like to see exactly what errors you're getting with the lines in
fstab.  My initial guess is that there really aren't labels on the
filesystem as you think there are.  If you know what the partitions are,
try running "e2label <devicename>" (e.g. "e2label /dev/hda7") and verify
that the labels are what you think they are.  There may be an extra
space or something tacked on them that's not obvious.  You may even want
to do something like "e2label /dev/hda7 | od -c".  You should see
something like this:

	[root at nprophead Utilities]# e2label /dev/hda7 | od -c
	0000000   /   u   s   r  \n
	0000005

showing that there's no embedded spaces or anything in there.  Another
quick check is if you can mount them by device name instead of by
labels:

	mount /dev/hda7 /usr

If that works, then there's definitely something rotten in the labels.
You can use e2label to change them:

	[root at nprophead Utilities]# umount /usr
	[root at nprophead Utilities]# e2label /dev/hda7 /usr

then you can try to mount via labels again:

	[root at nprophead Utilities]# mount -L /usr /usr
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   "Do you suffer from long-term memory loss?"  "I don't remember"  -
-                            -- Chumbawumba, "Amnesia" (TubThumping) -
----------------------------------------------------------------------



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe






More information about the Redhat-install-list mailing list