All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Disable grub2 from writing to HDD
Date: Wed, 31 Mar 2010 15:36:39 +0200	[thread overview]
Message-ID: <4BB34FE7.3010807@gmail.com> (raw)
In-Reply-To: <j2yae3f58471003310606u65f12bb4sb3edc4a616e73c06@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3294 bytes --]

Casey McGinty wrote:
> Thanks, I looked at it. But making the change you suggest is not
> clear. I only see where timeout is set to -1. How do you specify a
> boot target in this case?
default="<title>"
timeout=<number>
> Anyway, I think i'm set with the first suggestion.
>
> 2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com
> <mailto:phcoder@gmail.com>>
>
>     Casey McGinty wrote:
>     > Allas, the data being written is "recordfail", which causes problems
>     > on a headless system.
>     >
>     recordfail main use is exactly the headless system. Just default
>     ubuntu
>     on boot failure shows the menu but on headless you should make it
>     point
>     to surely working kernel. Have a look at  /etc/grub.d/00_header
>     > 2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko
>     <phcoder@gmail.com <mailto:phcoder@gmail.com>
>     > <mailto:phcoder@gmail.com <mailto:phcoder@gmail.com>>>
>     >
>     >     Casey McGinty wrote:
>     >     > Hi,
>     >     >
>     >     > I'm running a flash-based system w/ grub2. I do not want grub2
>     >     writing
>     >     > to my boot partition? How can I prevent the grubenv file
>     from being
>     >     > written in any (and all) cases?
>     >     Just remove grubenv file. But I doubt a single (at most)
>     write per
>     >     boot
>     >     would wear your flash in its lifetime even if you reboot
>     every 10
>     >     minutes
>     >     > Thank you.
>     >     > Casey McGinty
>     >     >
>     >    
>     ------------------------------------------------------------------------
>     >     >
>     >     > _______________________________________________
>     >     > Grub-devel mailing list
>     >     > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
>     <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>>
>     >     > http://lists.gnu.org/mailman/listinfo/grub-devel
>     >     >
>     >
>     >
>     >     --
>     >     Regards
>     >     Vladimir 'φ-coder/phcoder' Serbinenko
>     >
>     >
>     >
>     >     _______________________________________________
>     >     Grub-devel mailing list
>     >     Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
>     <mailto:Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>>
>     >     http://lists.gnu.org/mailman/listinfo/grub-devel
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Grub-devel mailing list
>     > Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
>     > http://lists.gnu.org/mailman/listinfo/grub-devel
>     >
>
>
>     --
>     Regards
>     Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>
>     _______________________________________________
>     Grub-devel mailing list
>     Grub-devel@gnu.org <mailto:Grub-devel@gnu.org>
>     http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]

      reply	other threads:[~2010-03-31 13:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 12:27 Disable grub2 from writing to HDD Casey McGinty
2010-03-31 12:35 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-03-31 12:38   ` Casey McGinty
2010-03-31 12:46     ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-03-31 13:06       ` Casey McGinty
2010-03-31 13:36         ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BB34FE7.3010807@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.