Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2000 11:41:34 -0700
From:      "Tomlinson, Drew" <Drew.Tomlinson@lc.ca.gov>
To:        "'mattb@finsyn.com'" <questions@freebsd.org>, "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   RE: hosed fstab
Message-ID:  <8C224DC088D8D111B67D0000F67AC17E029C5153@ldcmsx01.lc.ca.gov>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--Boundary_(ID_kGIUbBPoERgGVr1G9Zm0jw)
Content-type: text/plain; charset="iso-8859-1"

I apologize if this message makes it to the list in HTML.  My work uses M$
Exchange and being the "friendly" software it is, it converts my messages to
HTML for me.  But I keep trying to find another way.  Sooner or later I'll
get it right.

> -----Original Message-----
> From: Matt Bettinger [mailto:mattb@finsyn.com]
> Sent: Tuesday, October 03, 2000 8:11 AM
> To: freebsd-questions@freebsd.org
> Subject: hosed fstab
> 
> 
> Hello,
> 
> While messing around with a handspring and coldsync and 
> editing my fstab (on
> a test type machine) i put something in fstab that FreeBSD 
> did not like upon
> a reboot.  I don't have the dmesg or bootup screen to show 
> you but it says
> something about 16 bad blocks on usb0 and then immediately 
> starts fsck which
> gives me the error about some bad blocks and the option to 
> continue or no.
> When i continue i immediately get the #  prompt but cannot 
> fix the fstab
> file.  First of all i can't start an editor but i can use 
> cat.  My thinking
> was to delete the ftab file and just cat >> a new one.  This was not
> possible because i get a message saying it is a read only 
> system.  I am glad
> this is just a messing around sort of computer but i started 
> thinking what
> if this happened on one i REALLY use?

I had a similar "read-only" problem after upgrading my kernel.  Jason was
kind enough to resopnd.  His message is in the archives at
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1960243+1964156+/usr/local/www/d
b/text/2000/freebsd-questions/20000910.freebsd-questions.  

HTH

Drew

> 
> How would one fix this problem-- i have the live filesystem 
> cd and tried
> that but i still couldn't write to anything.  Are theer any 
> crash courses
> (no pun intended--seriously ;-> ) on how to get in there and 
> edit a file  in
> /etc after a messup?  I tried to boot the old kernel for 
> kicks and it still
> went into fsck..   Thanks for any info here.
> 
> 
> Matthew Bettinger
> Financial Synergies,Inc.
> 1177 West Loop South, Suite 1400
> Houston,Texas 77027-9086
> 713-623-6600
> 713-623-6771 FAX
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

--Boundary_(ID_kGIUbBPoERgGVr1G9Zm0jw)
Content-type: text/html; charset="iso-8859-1"
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: hosed fstab</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I apologize if this message makes it to the list in =
HTML.&nbsp; My work uses M$ Exchange and being the &quot;friendly&quot; =
software it is, it converts my messages to HTML for me.&nbsp; But I =
keep trying to find another way.&nbsp; Sooner or later I'll get it =
right.</FONT></P>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Matt Bettinger [<A =
HREF=3D"mailto:mattb@finsyn.com">mailto:mattb@finsyn.com</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Tuesday, October 03, 2000 8:11 AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: freebsd-questions@freebsd.org</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: hosed fstab</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hello,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; While messing around with a handspring and =
coldsync and </FONT>
<BR><FONT SIZE=3D2>&gt; editing my fstab (on</FONT>
<BR><FONT SIZE=3D2>&gt; a test type machine) i put something in fstab =
that FreeBSD </FONT>
<BR><FONT SIZE=3D2>&gt; did not like upon</FONT>
<BR><FONT SIZE=3D2>&gt; a reboot.&nbsp; I don't have the dmesg or =
bootup screen to show </FONT>
<BR><FONT SIZE=3D2>&gt; you but it says</FONT>
<BR><FONT SIZE=3D2>&gt; something about 16 bad blocks on usb0 and then =
immediately </FONT>
<BR><FONT SIZE=3D2>&gt; starts fsck which</FONT>
<BR><FONT SIZE=3D2>&gt; gives me the error about some bad blocks and =
the option to </FONT>
<BR><FONT SIZE=3D2>&gt; continue or no.</FONT>
<BR><FONT SIZE=3D2>&gt; When i continue i immediately get the #&nbsp; =
prompt but cannot </FONT>
<BR><FONT SIZE=3D2>&gt; fix the fstab</FONT>
<BR><FONT SIZE=3D2>&gt; file.&nbsp; First of all i can't start an =
editor but i can use </FONT>
<BR><FONT SIZE=3D2>&gt; cat.&nbsp; My thinking</FONT>
<BR><FONT SIZE=3D2>&gt; was to delete the ftab file and just cat =
&gt;&gt; a new one.&nbsp; This was not</FONT>
<BR><FONT SIZE=3D2>&gt; possible because i get a message saying it is a =
read only </FONT>
<BR><FONT SIZE=3D2>&gt; system.&nbsp; I am glad</FONT>
<BR><FONT SIZE=3D2>&gt; this is just a messing around sort of computer =
but i started </FONT>
<BR><FONT SIZE=3D2>&gt; thinking what</FONT>
<BR><FONT SIZE=3D2>&gt; if this happened on one i REALLY use?</FONT>
</P>

<P><FONT SIZE=3D2>I had a similar &quot;read-only&quot; problem after =
upgrading my kernel.&nbsp; Jason was kind enough to resopnd.&nbsp; His =
message is in the archives at <A =
HREF=3D"http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D1960243+1964156+/u=
sr/local/www/db/text/2000/freebsd-questions/20000910.freebsd-questions" =
TARGET=3D"_blank">http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D1960243+=
1964156+/usr/local/www/db/text/2000/freebsd-questions/20000910.freebsd-q=
uestions</A>.&nbsp; </FONT></P>

<P><FONT SIZE=3D2>HTH</FONT>
</P>

<P><FONT SIZE=3D2>Drew</FONT>
</P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; How would one fix this problem-- i have the =
live filesystem </FONT>
<BR><FONT SIZE=3D2>&gt; cd and tried</FONT>
<BR><FONT SIZE=3D2>&gt; that but i still couldn't write to =
anything.&nbsp; Are theer any </FONT>
<BR><FONT SIZE=3D2>&gt; crash courses</FONT>
<BR><FONT SIZE=3D2>&gt; (no pun intended--seriously ;-&gt; ) on how to =
get in there and </FONT>
<BR><FONT SIZE=3D2>&gt; edit a file&nbsp; in</FONT>
<BR><FONT SIZE=3D2>&gt; /etc after a messup?&nbsp; I tried to boot the =
old kernel for </FONT>
<BR><FONT SIZE=3D2>&gt; kicks and it still</FONT>
<BR><FONT SIZE=3D2>&gt; went into fsck..&nbsp;&nbsp; Thanks for any =
info here.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Matthew Bettinger</FONT>
<BR><FONT SIZE=3D2>&gt; Financial Synergies,Inc.</FONT>
<BR><FONT SIZE=3D2>&gt; 1177 West Loop South, Suite 1400</FONT>
<BR><FONT SIZE=3D2>&gt; Houston,Texas 77027-9086</FONT>
<BR><FONT SIZE=3D2>&gt; 713-623-6600</FONT>
<BR><FONT SIZE=3D2>&gt; 713-623-6771 FAX</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; To Unsubscribe: send mail to =
majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=3D2>&gt; with &quot;unsubscribe freebsd-questions&quot; =
in the body of the message</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>

--Boundary_(ID_kGIUbBPoERgGVr1G9Zm0jw)--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C224DC088D8D111B67D0000F67AC17E029C5153>