[sclug] ubuntu runlevels from grub

Alex Butcher lug at assursys.co.uk
Fri Feb 1 21:00:39 UTC 2008

On Fri, 1 Feb 2008, Dickon Hood wrote:

> : I wrote some scripts I wanted to fire off from the grub menu by using
> : the old way of passing a runlevel number at the end of the line


> Umm.  I cannot for the life of me think why on earth you'd ever want to do
> such a thing.
> Can you enlighten me as to what you're doing this for?  It all seems
> horribly odd to me.

I've done something similar for a laptop, before DHCPCD starting timing out
if it couldn't find a DHCP server, and also if I wanted to boot a machine
with an alternate X config file using different modelines and driver (vesa,
for TV out). I did both by grepping /proc/cmdline, though, rather than
abusing runlevels.

Best Regards,
Alex Butcher, Bristol UK.                           PGP/GnuPG ID:0x5010dbff

"[T]he whole point about the reason why I think it is important we go for
identity cards and an identity database today is that identity fraud and
abuse is a major, major problem. Now the civil liberties aspect of it, look
it is a view, I don't personally think it matters very much."
  - Tony Blair, 6 June 2006 <http://www.number-10.gov.uk/output/Page9566.asp>

More information about the Sclug mailing list