[Nottingham] Grub quickie help please

Martin martin at ml1.co.uk
Thu Mar 16 21:56:36 GMT 2006

sparkes wrote:
> On Thu, 16 Mar 2006 20:27:35 +0000
> "A. Devin Giddings" <ppxadg at nottingham.ac.uk> wrote:
>>On Thu, Mar 16, 2006 at 08:22:03PM +0000, Michael Erskine wrote:
>>>Roger Light wrote:
>>>>On 16/03/06, Martin <martin at ml1.co.uk> wrote:
>>>>>sudo vim /boot/grub/menu.lst
>>>>>to edit and finish with "ESC :w! :q" to write the read-only file.
>>>>How inefficient...
>>>>Use "ESC :wq!" and save yourself two key presses :)
>>>Surely that "!" is superfluous: <esc>:wq will suffice :)
>>Not if it is a read-only file!
> I concur with Michael, the sudo renders the ! unneeded at least my
> experience.

Well, it didn't on Ubuntu.

The actual sequence was:

"ESC :wq"

Clicks to restart to see if it worked ok.

All nicely done,

Thanks folks,

Martin Lomas
martin at ml1.co.uk

More information about the Nottingham mailing list