On Monday 03 May 2010 17:06:19 KH wrote:
> Am 03.05.2010 16:56, schrieb Alan McKinnon:
> > On Monday 03 May 2010 16:30:53 Colleen Beamer wrote:
> [...]
> 
> >> I don't understand what you mean by booting to a single user
> >> maintenance mode.  How do I do that?
> > 
> > At the grub menu, select the kernel you wish to boot.
> > Press "e"
> > Move cursor to the "kernel" line
> > Press "e"
> > Move cursor to the end of the line. Append " 1" or " single"
> > Press<enter>
> > Press "b"
> > 
> > This will load the kernel and run a modified start-up sequence (not the
> > regular init command). You get a root shell which is quite limited but
> > usually adequate for repairing broken system.
> > 
> > In a way, it's very similar to booting into a LiveCD without having to go
> > and find the CD first
> 
> Hi,
> 
> and again I learnd something I didn't know, jet.
> 
> Anyway I also would try to follow Dales advise with pressing "i" during
> boot.

There's all kinds of neat tricks you can do when booting or starting up. grub 
passes parameters and options to the kernel just like your shell passes 
parameters and options to a program you start. There's docs about it in 
/usr/src/linux/Documentation but be warned - they are written by kernel devs 
and most of them seem to assume the reader also knows as much as a kernel dev. 
So it can be hard going sometimes.

A neat trick I use often is to append "init=/bin/bash" to the grub line. This 
runs bash after the kernel is loaded, not the usual init. You can't logout as 
normal though - try it and see :-)



-- 
alan dot mckinnon at gmail dot com

Reply via email to