* Disable grub2 from writing to HDD
@ 2010-03-31 12:27 Casey McGinty
2010-03-31 12:35 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 6+ messages in thread
From: Casey McGinty @ 2010-03-31 12:27 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
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?
Thank you.
Casey McGinty
[-- Attachment #2: Type: text/html, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disable grub2 from writing to HDD
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
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-03-31 12:35 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
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
> 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 --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disable grub2 from writing to HDD
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
0 siblings, 1 reply; 6+ messages in thread
From: Casey McGinty @ 2010-03-31 12:38 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]
Allas, the data being written is "recordfail", which causes problems on a
headless system.
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <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
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
[-- Attachment #2: Type: text/html, Size: 1730 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disable grub2 from writing to HDD
2010-03-31 12:38 ` Casey McGinty
@ 2010-03-31 12:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-03-31 13:06 ` Casey McGinty
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-03-31 12:46 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]
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>>
>
> 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>
> > 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 --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disable grub2 from writing to HDD
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
0 siblings, 1 reply; 6+ messages in thread
From: Casey McGinty @ 2010-03-31 13:06 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]
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? Anyway, I think i'm set with the first suggestion.
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <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>>
> >
> > 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>
> > > 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
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
[-- Attachment #2: Type: text/html, Size: 3773 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disable grub2 from writing to HDD
2010-03-31 13:06 ` Casey McGinty
@ 2010-03-31 13:36 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-03-31 13:36 UTC (permalink / raw)
To: The development of GNU GRUB
[-- 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 --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-31 13:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.