Disable grub2 from writing to HDD
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
Quoted 5 lines · Casey McGinty
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
Quoted 9 lines
Thank you.
Casey McGinty
------------------------------------------------------------------------_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Allas, the data being written is "recordfail", which causes problems on a headless system.
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]>
Quoted 31 lines
Quoted 5 lines · Casey McGinty
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
Quoted 9 lines
Thank you.
Casey McGinty
------------------------------------------------------------------------_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 3 lines · Casey McGinty
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
Quoted 45 lines
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected] <mailto:[email protected]>>
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
> [email protected] <mailto:[email protected]>
> http://lists.gnu.org/mailman/listinfo/grub-devel
>--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko_______________________________________________
Grub-devel mailing list [email protected] <mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------------------------------------------------
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
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 <[email protected]>
Quoted 67 lines
Quoted 3 lines · Casey McGinty
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_headerQuoted 6 lines
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected] <mailto:[email protected]>>
Casey McGinty wrote:
> Hi,
>Quoted 12 lines
> 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
>------------------------------------------------------------------------
Quoted 20 lines
Quoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected] <mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/grub-devel--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko_______________________________________________
Grub-devel mailing list [email protected] <mailto:[email protected]>
http://lists.gnu.org/mailman/listinfo/grub-develQuoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Quoted 3 lines · Casey McGinty
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>
Quoted 88 lines
Anyway, I think i'm set with the first suggestion.
2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected] <mailto:[email protected]>>
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 <[email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>>> > > 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 > > [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> > > http://lists.gnu.org/mailman/listinfo/grub-devel > > > > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko > > > > _______________________________________________ > Grub-devel mailing list > [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> > http://lists.gnu.org/mailman/listinfo/grub-devel > > > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > [email protected] <mailto:[email protected]> > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko _______________________________________________ Grub-devel mailing list [email protected] <mailto:[email protected]> http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------------------------------------------------
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko