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
[-- Attachment #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 > [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12"> <TITLE>RE: hosed fstab</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>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.</FONT></P> <P><FONT SIZE=2>> -----Original Message-----</FONT> <BR><FONT SIZE=2>> From: Matt Bettinger [<A HREF="mailto:mattb@finsyn.com">mailto:mattb@finsyn.com</A>]</FONT> <BR><FONT SIZE=2>> Sent: Tuesday, October 03, 2000 8:11 AM</FONT> <BR><FONT SIZE=2>> To: freebsd-questions@freebsd.org</FONT> <BR><FONT SIZE=2>> Subject: hosed fstab</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Hello,</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> While messing around with a handspring and coldsync and </FONT> <BR><FONT SIZE=2>> editing my fstab (on</FONT> <BR><FONT SIZE=2>> a test type machine) i put something in fstab that FreeBSD </FONT> <BR><FONT SIZE=2>> did not like upon</FONT> <BR><FONT SIZE=2>> a reboot. I don't have the dmesg or bootup screen to show </FONT> <BR><FONT SIZE=2>> you but it says</FONT> <BR><FONT SIZE=2>> something about 16 bad blocks on usb0 and then immediately </FONT> <BR><FONT SIZE=2>> starts fsck which</FONT> <BR><FONT SIZE=2>> gives me the error about some bad blocks and the option to </FONT> <BR><FONT SIZE=2>> continue or no.</FONT> <BR><FONT SIZE=2>> When i continue i immediately get the # prompt but cannot </FONT> <BR><FONT SIZE=2>> fix the fstab</FONT> <BR><FONT SIZE=2>> file. First of all i can't start an editor but i can use </FONT> <BR><FONT SIZE=2>> cat. My thinking</FONT> <BR><FONT SIZE=2>> was to delete the ftab file and just cat >> a new one. This was not</FONT> <BR><FONT SIZE=2>> possible because i get a message saying it is a read only </FONT> <BR><FONT SIZE=2>> system. I am glad</FONT> <BR><FONT SIZE=2>> this is just a messing around sort of computer but i started </FONT> <BR><FONT SIZE=2>> thinking what</FONT> <BR><FONT SIZE=2>> if this happened on one i REALLY use?</FONT> </P> <P><FONT SIZE=2>I had a similar "read-only" problem after upgrading my kernel. Jason was kind enough to resopnd. His message is in the archives at <A HREF="http://www.freebsd.org/cgi/getmsg.cgi?fetch=1960243+1964156+/usr/local/www/db/text/2000/freebsd-questions/20000910.freebsd-questions" TARGET="_blank">http://www.freebsd.org/cgi/getmsg.cgi?fetch=1960243+1964156+/usr/local/www/db/text/2000/freebsd-questions/20000910.freebsd-questions</A>. </FONT></P> <P><FONT SIZE=2>HTH</FONT> </P> <P><FONT SIZE=2>Drew</FONT> </P> <P><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> How would one fix this problem-- i have the live filesystem </FONT> <BR><FONT SIZE=2>> cd and tried</FONT> <BR><FONT SIZE=2>> that but i still couldn't write to anything. Are theer any </FONT> <BR><FONT SIZE=2>> crash courses</FONT> <BR><FONT SIZE=2>> (no pun intended--seriously ;-> ) on how to get in there and </FONT> <BR><FONT SIZE=2>> edit a file in</FONT> <BR><FONT SIZE=2>> /etc after a messup? I tried to boot the old kernel for </FONT> <BR><FONT SIZE=2>> kicks and it still</FONT> <BR><FONT SIZE=2>> went into fsck.. Thanks for any info here.</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> Matthew Bettinger</FONT> <BR><FONT SIZE=2>> Financial Synergies,Inc.</FONT> <BR><FONT SIZE=2>> 1177 West Loop South, Suite 1400</FONT> <BR><FONT SIZE=2>> Houston,Texas 77027-9086</FONT> <BR><FONT SIZE=2>> 713-623-6600</FONT> <BR><FONT SIZE=2>> 713-623-6771 FAX</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=2>> with "unsubscribe freebsd-questions" in the body of the message</FONT> <BR><FONT SIZE=2>> </FONT> </P> </BODY> </HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C224DC088D8D111B67D0000F67AC17E029C5153>
