[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub kernel flavours (feature proposal)

From: martin f krafft
Subject: grub kernel flavours (feature proposal)
Date: Tue, 1 Jul 2008 18:55:37 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Dear grub developers,

Debian's grub1 had a nice feature where its update-grub script would
create additional stanzas with different arguments for each kernel
it found. You configured it like this:

  ## altoption boot targets option
  ## multiple altoptions lines are allowed
  ## e.g. altoptions=(extra menu suffix) extra boot options
  ##      altoptions=(single-user) single
  # altoptions=(single-user) single
  # altoptions=(rootdelay) rootdelay=10

and this would cause three stanzas for each kernel version to be
created, each with a different kernel line.

With grub2, I note how /etc/grub.d/10_linux hardcodes that there
should be a plain and a single-user stanza for each kernel. Someone
has recently requested for this to be optional[0].


Instead, I propose to handle single-user mode via functionality
similar to what Debian had for grub1[1].


I'd be willing to have a go at this, but I can't quite decide/figure
out where to configure these altoptions/flavours. Any ideas?

martin | |
a woman is an occasional pleasure
but a cigar is always a smoke.
                                                       -- groucho marx
spamtraps: address@hidden

Attachment: digital_signature_gpg.asc
Description: Digital signature (see

reply via email to

[Prev in Thread] Current Thread [Next in Thread]