🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.misc
3 messages
3 total messages Started by Sean Williams Fri, 01 Mar 1996 00:00
Linux v1.0 won't hangs on boot ... how to fix?
#1104
Author: Sean Williams
Date: Fri, 01 Mar 1996 00:00
16 lines
1931 bytes
I have successfully ran a Linux v1.0 server to manage a 24hr SLIP 
Internet connection for the past 2 years.  The other day I "somehow" 
removed the /etc/hosts file and now the system won't boot because it is 
continoudly trying to dial out to our ISP.  I have tried booting in 
single use rmode so that I can replace the hosts file but everytime I 
boot in single user mode the system mounts hda2 as READ ONLY!!! Tnhat 
does me no good.  Anyway how can I boot Linux v1.0 in single user mode 
and RW the file system OR bypass the rc.local file on boot up??  Any 
help is GREATLY appreciated ... I'm in a HUGE bind here.  Thanks for the 
advice!

-- 
* Sean Williams, CNE             | sean@umbc7.umbc.edu         *
* PC/Network Consulting Services | http://umbc7.umbc.edu/~sean *
* 7914 Allegri Ct                | Phone : (410) 360-6913      *
* Pasadena MD, 21122             | Fax   : (410) 360-6913      *
Re: Linux v1.0 won't hangs on boot ... how to fix?
#1105
Author: Nalin Dahyabhai
Date: Fri, 01 Mar 1996 00:00
22 lines
2212 bytes
On 1 Mar 1996 03:39:04 GMT, Sean Williams (sean@umbc7.umbc.edu) wrote:
: I have successfully ran a Linux v1.0 server to manage a 24hr SLIP 
: Internet connection for the past 2 years.  The other day I "somehow" 
: removed the /etc/hosts file and now the system won't boot because it is 
: continoudly trying to dial out to our ISP.  I have tried booting in 
: single use rmode so that I can replace the hosts file but everytime I 
: boot in single user mode the system mounts hda2 as READ ONLY!!! Tnhat 
: does me no good.  Anyway how can I boot Linux v1.0 in single user mode 
: and RW the file system OR bypass the rc.local file on boot up??  Any 
: help is GREATLY appreciated ... I'm in a HUGE bind here.  Thanks for the 
: advice!

Sure. Just issue a "mount -o remount -w <mountpoint>". The remount option
tells mount to change the mounting flags for a filesystem that's already
mounted; the -w tells it to mount read/write. Alternatively, if you're using
BSD init, /etc/rc.d/rc.S will probably take care of it.

Good luck.

-- 
Nalin Dahyabhai nalin@argus.rh.ncsu.edu
  http://www4.ncsu.edu/~nsdahya1/www/
Re: Linux v1.0 won't hangs on boot ... how to fix?
#1106
Author: Vadim Ponomarev
Date: Fri, 01 Mar 1996 00:00
26 lines
2300 bytes
Hi,

Sean Williams (sean@umbc7.umbc.edu) wrote:
: I have successfully ran a Linux v1.0 server to manage a 24hr SLIP 
: Internet connection for the past 2 years.  The other day I "somehow" 
: removed the /etc/hosts file and now the system won't boot because it is 
: continoudly trying to dial out to our ISP.  I have tried booting in 
: single use rmode so that I can replace the hosts file but everytime I 
: boot in single user mode the system mounts hda2 as READ ONLY!!! Tnhat 
: does me no good.  Anyway how can I boot Linux v1.0 in single user mode 
: and RW the file system OR bypass the rc.local file on boot up??  Any 
: help is GREATLY appreciated ... I'm in a HUGE bind here.  Thanks for the 
: advice!

from /etc/rc.d/rc.S:
 # Remount the root filesystem in read-write mode
 echo "Remounting root device with read-write enabled."
 /sbin/mount -w -n -o remount /


regards, Vadim.
--
/* ==================================================================== */
/* Vadim A. Ponomarev, Petrozavodsk State University, Karelia, Russia   */
/* vadim@kftt.karelia.ru, http://kftt.karelia.ru/~vadim                 */
/* ==================================================================== */
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads