Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Reindl Harald
Am 06.12.2015 um 21:22 schrieb Chris Murphy: So yeah it's possible, but it's also unintended. And the same problem could happen whether grubby modifies grub.cfg or grub-mkconfig replaces it that's wrong because grubby *clones* the last recent entry with all it's parameters and don't touch ot

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Chris Murphy
On Sun, Dec 6, 2015 at 12:11 PM, drago01 wrote: > On Sun, Dec 6, 2015 at 7:02 PM, Tomasz Torcz wrote: >> Can you list specific cases? It sounds awfully theoretical. > > I got bitten by it before so its not theoretical ... unfortunately I > do not remember the exact versions. I'm willing to b

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Reindl Harald
Am 06.12.2015 um 21:06 schrieb Chris Murphy: On Sun, Dec 6, 2015 at 8:05 AM, drago01 wrote: Hypothetically on BIOS systems, a GRUB core.img [1] could become stale over time, and an upgraded grub-mkconfig could introduce an incompatible format change, but that's really unlikely and wouldn't be

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Chris Murphy
On Sun, Dec 6, 2015 at 8:05 AM, drago01 wrote: > On Wed, Dec 2, 2015 at 4:30 AM, Andrew Lutomirski wrote: >> Since the old proposal to have the bootloader automatically enumerate >> boot options never went anywhere, can we do the next best thing? >> >> Specifically, these days grub2-mkconfig appe

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread drago01
On Sun, Dec 6, 2015 at 7:02 PM, Tomasz Torcz wrote: > On Sun, Dec 06, 2015 at 06:25:09PM +0100, drago01 wrote: >> >> Well mkconfig can produce a configuration that does not actually work >> >> when grub2 itself gets updated (in which case the bootloader does not >> >> get rewritten). >> >> Until t

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Tomasz Torcz
On Sun, Dec 06, 2015 at 06:25:09PM +0100, drago01 wrote: > >> Well mkconfig can produce a configuration that does not actually work > >> when grub2 itself gets updated (in which case the bootloader does not > >> get rewritten). > >> Until this is fixed grub2-mkconfig is dangerous and should not be

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread drago01
On Sun, Dec 6, 2015 at 6:20 PM, Andrew Lutomirski wrote: > On Sun, Dec 6, 2015 at 7:05 AM, drago01 wrote: >> On Wed, Dec 2, 2015 at 4:30 AM, Andrew Lutomirski wrote: >>> Since the old proposal to have the bootloader automatically enumerate >>> boot options never went anywhere, can we do the next

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread Andrew Lutomirski
On Sun, Dec 6, 2015 at 7:05 AM, drago01 wrote: > On Wed, Dec 2, 2015 at 4:30 AM, Andrew Lutomirski wrote: >> Since the old proposal to have the bootloader automatically enumerate >> boot options never went anywhere, can we do the next best thing? >> >> Specifically, these days grub2-mkconfig appe

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-06 Thread drago01
On Wed, Dec 2, 2015 at 4:30 AM, Andrew Lutomirski wrote: > Since the old proposal to have the bootloader automatically enumerate > boot options never went anywhere, can we do the next best thing? > > Specifically, these days grub2-mkconfig appears to produce output > that's functionally identical

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-05 Thread Kevin Kofler
Andrew Lutomirski wrote: > 2 .If I want to edit boot options, grubby makes it unnecessarily > painful, and the directions are simply wrong. For example, my > /etc/grub2-efi.cfg says: > > # > # DO NOT EDIT THIS FILE > # > # It is automatically generated by grub2-mkconfig using templates > # from /

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Chris Murphy
On Wed, Dec 2, 2015 at 10:46 AM, Colin Walters wrote: > On Tue, Dec 1, 2015, at 10:30 PM, Andrew Lutomirski wrote: >> Since the old proposal to have the bootloader automatically enumerate >> boot options never went anywhere, can we do the next best thing? >> >> Specifically, these days grub2-mkcon

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Chris Murphy
On Wed, Dec 2, 2015 at 10:54 AM, Neal Gompa wrote: > > On Wed, Dec 2, 2015 at 12:50 PM, Josh Boyer > wrote: >> Maybe you could start by listing the problems you have with grubby >> (and apparently grub2) instead of just saying get rid of it? >> >> josh > > > My big pain point right now is that w

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 1:44 PM, Tomasz Torcz wrote: > On Wed, Dec 02, 2015 at 12:54:43PM -0500, Neal Gompa wrote: >> > >> > > Frankly, I'd like to see Fedora move away from grub2 even on x86. But >> > I'd >> > > also like to see grubby go away. >> > >> > Maybe you could start by listing the probl

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 1:03 PM, Josh Boyer wrote: > On Wed, Dec 2, 2015 at 3:16 PM, Andrew Lutomirski wrote: >> On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer >> wrote: >>> On Wed, Dec 2, 2015 at 2:35 PM, Andrew Lutomirski wrote: On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer wrote: >

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Tomasz Torcz
On Wed, Dec 02, 2015 at 12:54:43PM -0500, Neal Gompa wrote: > > > > > Frankly, I'd like to see Fedora move away from grub2 even on x86. But > > I'd > > > also like to see grubby go away. > > > > Maybe you could start by listing the problems you have with grubby > > (and apparently grub2) instead o

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Josh Boyer
On Wed, Dec 2, 2015 at 3:16 PM, Andrew Lutomirski wrote: > On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer wrote: >> On Wed, Dec 2, 2015 at 2:35 PM, Andrew Lutomirski wrote: >>> On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer >>> wrote: And you would do that via a single command how? By wrapping

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 21:46 schrieb Andrew Lutomirski: The fact that you assert your absolute correctness on a frequent basis even when you're not correct makes me, and probably other people, likely to discount everything you say even in the cases when you are correct. If you want your opinion to b

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 12:37 PM, Reindl Harald wrote: > > > Am 02.12.2015 um 21:31 schrieb Andrew Lutomirski: >> >> On Wed, Dec 2, 2015 at 12:21 PM, Reindl Harald >> wrote: >>> >>> >>> >>> Am 02.12.2015 um 21:16 schrieb Andrew Lutomirski: On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 21:31 schrieb Andrew Lutomirski: On Wed, Dec 2, 2015 at 12:21 PM, Reindl Harald wrote: Am 02.12.2015 um 21:16 schrieb Andrew Lutomirski: On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer wrote: That's a matter of preference. If I have a newer kernel version installed that d

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 12:21 PM, Reindl Harald wrote: > > > Am 02.12.2015 um 21:16 schrieb Andrew Lutomirski: >> >> On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer >> wrote: >>> >>> That's a matter of preference. If I have a newer kernel version >>> installed that doesn't actually work, I want the o

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 21:16 schrieb Andrew Lutomirski: On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer wrote: That's a matter of preference. If I have a newer kernel version installed that doesn't actually work, I want the older kernel I _just_ installed to be the default and top entry so my machine

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 11:54 AM, Josh Boyer wrote: > On Wed, Dec 2, 2015 at 2:35 PM, Andrew Lutomirski wrote: >> On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer wrote: >>> And you would do that via a single command how? By wrapping it in an >>> architecture/bootloader agnostic wrapper. Which is wha

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 20:35 schrieb Andrew Lutomirski: 1. grubby puts the most recently-installed kernel on top. grub2-mkconfig puts the highest version on top. In the cases where they differ, I'd argue that the latter is better it's not better it's pure crap when you have to downgrade because t

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 20:35 schrieb Andrew Lutomirski: On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer wrote: And you would do that via a single command how? By wrapping it in an architecture/bootloader agnostic wrapper. Which is what grubby is. But it's not. grubby does things like adding kernels

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Josh Boyer
On Wed, Dec 2, 2015 at 2:35 PM, Andrew Lutomirski wrote: > On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer wrote: >> On Wed, Dec 2, 2015 at 12:09 PM, Andrew Lutomirski wrote: >>> >>> On Dec 2, 2015 8:38 AM, "Reindl Harald" wrote: Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski:

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Wed, Dec 2, 2015 at 9:50 AM, Josh Boyer wrote: > On Wed, Dec 2, 2015 at 12:09 PM, Andrew Lutomirski wrote: >> >> On Dec 2, 2015 8:38 AM, "Reindl Harald" wrote: >>> >>> >>> >>> Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski: On Dec 2, 2015 8:15 AM, "Josh Boyer" >>>

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Neal Gompa
On Wed, Dec 2, 2015 at 12:50 PM, Josh Boyer wrote: > On Wed, Dec 2, 2015 at 12:09 PM, Andrew Lutomirski wrote: > > > > On Dec 2, 2015 8:38 AM, "Reindl Harald" wrote: > >> > >> > >> > >> Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski: > >>> > >>> > >>> On Dec 2, 2015 8:15 AM, "Josh Boyer" >>>

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Josh Boyer
On Wed, Dec 2, 2015 at 12:09 PM, Andrew Lutomirski wrote: > > On Dec 2, 2015 8:38 AM, "Reindl Harald" wrote: >> >> >> >> Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski: >>> >>> >>> On Dec 2, 2015 8:15 AM, "Josh Boyer" >> > wrote: >>> > >>> > On Tue, Dec 1, 20

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Colin Walters
On Tue, Dec 1, 2015, at 10:30 PM, Andrew Lutomirski wrote: > Since the old proposal to have the bootloader automatically enumerate > boot options never went anywhere, can we do the next best thing? > > Specifically, these days grub2-mkconfig appears to produce output > that's functionally identica

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Dec 2, 2015 8:38 AM, "Reindl Harald" wrote: > > > > Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski: >> >> >> On Dec 2, 2015 8:15 AM, "Josh Boyer" > > wrote: >> > >> > On Tue, Dec 1, 2015 at 10:30 PM, Andrew Lutomirski > > wrote: >> > >

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Reindl Harald
Am 02.12.2015 um 17:23 schrieb Andrew Lutomirski: On Dec 2, 2015 8:15 AM, "Josh Boyer" mailto:jwbo...@fedoraproject.org>> wrote: > > On Tue, Dec 1, 2015 at 10:30 PM, Andrew Lutomirski mailto:l...@mit.edu>> wrote: > > Since the old proposal to have the bootloader automatically enumerate > >

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Peter Robinson
On Wed, Dec 2, 2015 at 4:14 PM, Josh Boyer wrote: > On Tue, Dec 1, 2015 at 10:30 PM, Andrew Lutomirski wrote: >> Since the old proposal to have the bootloader automatically enumerate >> boot options never went anywhere, can we do the next best thing? >> >> Specifically, these days grub2-mkconfig

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Andrew Lutomirski
On Dec 2, 2015 8:15 AM, "Josh Boyer" wrote: > > On Tue, Dec 1, 2015 at 10:30 PM, Andrew Lutomirski wrote: > > Since the old proposal to have the bootloader automatically enumerate > > boot options never went anywhere, can we do the next best thing? > > > > Specifically, these days grub2-mkconfig

Re: RFC: switching from grubby to grub2-mkconfig

2015-12-02 Thread Josh Boyer
On Tue, Dec 1, 2015 at 10:30 PM, Andrew Lutomirski wrote: > Since the old proposal to have the bootloader automatically enumerate > boot options never went anywhere, can we do the next best thing? > > Specifically, these days grub2-mkconfig appears to produce output > that's functionally identical

RFC: switching from grubby to grub2-mkconfig

2015-12-01 Thread Andrew Lutomirski
Since the old proposal to have the bootloader automatically enumerate boot options never went anywhere, can we do the next best thing? Specifically, these days grub2-mkconfig appears to produce output that's functionally identical to what grubby generates. Can we switch new-kernel-pkg to just reg