Disable grub2 from writing to HDD

2010-03-31 Thread 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? Thank you. Casey McGinty ___ Grub-devel mailing list Grub-devel@gnu.org

Re: Disable grub2 from writing to HDD

2010-03-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
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

Re: Disable grub2 from writing to HDD

2010-03-31 Thread Casey McGinty
Allas, the data being written is recordfail, which causes problems on a headless system. 2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko phco...@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

Re: Disable grub2 from writing to HDD

2010-03-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
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

Re: Disable grub2 from writing to HDD

2010-03-31 Thread 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? Anyway, I think i'm set with the first suggestion. 2010/3/31 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com Casey McGinty wrote:

Re: Disable grub2 from writing to HDD

2010-03-31 Thread Vladimir 'φ-coder/phcoder' Serbinenko
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