Re: booting single, writable?

1997-12-22 Thread Hamish Moffatt
On Sun, Dec 21, 1997 at 03:33:59PM -0800, Ken Gaugler wrote:
 I got a new motherboard and CPU (triton III with a Cyrix PR200MMX) and
 of course there are problems booting now. It looks to me like if I can
 disable XDM, I can get a handle on fixing things up.
 
 However, booting from a floppy using emergency root=/dev/hda4 I
 cannot move the XDM inits because the disk is mounted read-only. 
 
 What is the correct startup method to be able to write/change the hard
 drive?

Once you are logged in with emergency, run

mount -o remount,rw -n /

which will remount / as read-write, and not note this (-n)
in /etc/mtab, which isn't writable yet anyway. Then when you are done
you should

mount -o remount,ro -n /

before continuing with booting (which will expect a read-only 
root partition so it can run fsck) or rebooting. Maybe
run sync a few times for good measure too.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: booting single, writable?

1997-12-22 Thread Tim Sailer
George Bonser wrote:
 
 
 One trick is NOT to use emergency mode.

The better way is to do:

mount -n -o rw,remount /

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
You have not converted a man because you have silenced him.
   - John Morley
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: booting single, writable?

1997-12-22 Thread Nathan E Norman
On Sun, 21 Dec 1997, Ken Gaugler wrote:

: Hi Folks.
: 
: I got a new motherboard and CPU (triton III with a Cyrix PR200MMX) and
: of course there are problems booting now. It looks to me like if I can
: disable XDM, I can get a handle on fixing things up.
: 
: However, booting from a floppy using emergency root=/dev/hda4 I
: cannot move the XDM inits because the disk is mounted read-only. 
: 
: What is the correct startup method to be able to write/change the hard
: drive?

mount -n -o remount,rw /

The -n tells mount to avoid updated /etc/mtab, since it is (in this
case) currently read only.  I think you can guess what the other options
do.

: 
: Thank You
: -- 
: Ken Gaugler  N6OSK  URL: http://www.wco.com/~keng/
: The life of a Repo Man is ALWAYS INTENSE...
: 

--
Nathan Norman
MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD  57104
phone: (605) 334-4454 fax: (605) 335-1173
mailto://[EMAIL PROTECTED]   http://www.midco.net
PGP Key ID: 0xA33B86E9 - Public key available at keyservers
PGP Key fingerprint: CE03 10AF 3281 1858  9D32 C2AB 936D C472



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


booting single, writable?

1997-12-21 Thread Ken Gaugler
Hi Folks.

I got a new motherboard and CPU (triton III with a Cyrix PR200MMX) and
of course there are problems booting now. It looks to me like if I can
disable XDM, I can get a handle on fixing things up.

However, booting from a floppy using emergency root=/dev/hda4 I
cannot move the XDM inits because the disk is mounted read-only. 

What is the correct startup method to be able to write/change the hard
drive?

Thank You
-- 
Ken Gaugler  N6OSK  URL: http://www.wco.com/~keng/
The life of a Repo Man is ALWAYS INTENSE...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .