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. 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=3D2>> -----Original Message-----</FONT> <BR><FONT SIZE=3D2>> From: Matt Bettinger [<A = HREF=3D"mailto:mattb@finsyn.com">mailto:mattb@finsyn.com</A>]</FONT> <BR><FONT SIZE=3D2>> Sent: Tuesday, October 03, 2000 8:11 AM</FONT> <BR><FONT SIZE=3D2>> To: freebsd-questions@freebsd.org</FONT> <BR><FONT SIZE=3D2>> Subject: hosed fstab</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Hello,</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> While messing around with a handspring and = coldsync and </FONT> <BR><FONT SIZE=3D2>> editing my fstab (on</FONT> <BR><FONT SIZE=3D2>> a test type machine) i put something in fstab = that FreeBSD </FONT> <BR><FONT SIZE=3D2>> did not like upon</FONT> <BR><FONT SIZE=3D2>> a reboot. I don't have the dmesg or = bootup screen to show </FONT> <BR><FONT SIZE=3D2>> you but it says</FONT> <BR><FONT SIZE=3D2>> something about 16 bad blocks on usb0 and then = immediately </FONT> <BR><FONT SIZE=3D2>> starts fsck which</FONT> <BR><FONT SIZE=3D2>> gives me the error about some bad blocks and = the option to </FONT> <BR><FONT SIZE=3D2>> continue or no.</FONT> <BR><FONT SIZE=3D2>> When i continue i immediately get the # = prompt but cannot </FONT> <BR><FONT SIZE=3D2>> fix the fstab</FONT> <BR><FONT SIZE=3D2>> file. First of all i can't start an = editor but i can use </FONT> <BR><FONT SIZE=3D2>> cat. My thinking</FONT> <BR><FONT SIZE=3D2>> was to delete the ftab file and just cat = >> a new one. This was not</FONT> <BR><FONT SIZE=3D2>> possible because i get a message saying it is a = read only </FONT> <BR><FONT SIZE=3D2>> system. I am glad</FONT> <BR><FONT SIZE=3D2>> this is just a messing around sort of computer = but i started </FONT> <BR><FONT SIZE=3D2>> thinking what</FONT> <BR><FONT SIZE=3D2>> if this happened on one i REALLY use?</FONT> </P> <P><FONT SIZE=3D2>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=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>. </FONT></P> <P><FONT SIZE=3D2>HTH</FONT> </P> <P><FONT SIZE=3D2>Drew</FONT> </P> <P><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> How would one fix this problem-- i have the = live filesystem </FONT> <BR><FONT SIZE=3D2>> cd and tried</FONT> <BR><FONT SIZE=3D2>> that but i still couldn't write to = anything. Are theer any </FONT> <BR><FONT SIZE=3D2>> crash courses</FONT> <BR><FONT SIZE=3D2>> (no pun intended--seriously ;-> ) on how to = get in there and </FONT> <BR><FONT SIZE=3D2>> edit a file in</FONT> <BR><FONT SIZE=3D2>> /etc after a messup? I tried to boot the = old kernel for </FONT> <BR><FONT SIZE=3D2>> kicks and it still</FONT> <BR><FONT SIZE=3D2>> went into fsck.. Thanks for any = info here.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Matthew Bettinger</FONT> <BR><FONT SIZE=3D2>> Financial Synergies,Inc.</FONT> <BR><FONT SIZE=3D2>> 1177 West Loop South, Suite 1400</FONT> <BR><FONT SIZE=3D2>> Houston,Texas 77027-9086</FONT> <BR><FONT SIZE=3D2>> 713-623-6600</FONT> <BR><FONT SIZE=3D2>> 713-623-6771 FAX</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> To Unsubscribe: send mail to = majordomo@FreeBSD.org</FONT> <BR><FONT SIZE=3D2>> with "unsubscribe freebsd-questions" = in the body of the message</FONT> <BR><FONT SIZE=3D2>> </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>