Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!olivea!uunet!mcsun!uknet!stl!robobar!ibmpcug!adrian From: adrian@ibmpcug.co.uk (Adrian Hall) Newsgroups: comp.unix.bsd Subject: Re: HELP, my fs is read-only Message-ID: <BuxLEv.Jty@ibmpcug.co.uk> Date: 21 Sep 92 13:56:54 GMT References: <1992Sep20.204408.12847@Saigon.COM> Organization: The IBM PC User Group, UK. Lines: 33 In article <1992Sep20.204408.12847@Saigon.COM> David.Fox@Saigon.COM writes: >Help! I need some help rather quick here. I was doing some configuration >and I seemingly accidentally wiped out my /etc/rc file. As a result of this, >the thing now boots with 386bsd (Amnesiac) (console), shows the login: prompt, >and I login, and suddenly the whole filesystem is read-only. > >I thought about trying to mread the individual disks, and cpio'ing them until >I found one that had the /etc/rc file, but I cannot copy the files onto my >file system if it's read only. > >1) Should I get the fixit.fs? Would it help? You should always have a copy handy for those occasions when the system refuses to boot without an fsck, and fsck is on the hard disk. >2) I DO NOT want to reinstall. I've done some - a great deal, I suppose of >modifications to this fs and I haven't even figured out a good and reliable >backup scheme yet. > You can get the disk mounted writeable by typing :- mount -u /dev/wd0a / You can then write your own /etc/rc (or do a cpio -idalmvu /etc/rc < bindist). Adrian -- -------------------------------------------------------------------------- Adrian Hall Connect Systems Manager adrian@ibmpcug.co.uk The IBM PC User Group Tel: +44 81 863 1191 Harrow, London, UK