On 6/28/14, Brian <a...@cityscape.co.uk> wrote:
> On Fri 27 Jun 2014 at 23:14:26 -0400, slitt wrote:

>> that's simple: Boot the damn computer with a menu to choose predefined
>> kernel/initrd/disk combinations, and nothing else. And for gosh sakes,
>> keep it in one file. If a config option is about "pretty", leave that
>> feature out.
>
> The simplest possible grub.cfg would contain
>
>    menuentry "DescriptiveMenuItem {
>    linux (hd0,msdos1)/vmlinuz root=/dev/sda1
>    initrd (hd0,msdos1)/initrd.gz
>    }
>
> This assumes a machine with a single disk and the root file system
> (essentially where /sbin/init resides) on the first partition of the
> same disk.
>
> There we are, a predefined kernel/initrd/disk combination. Four lines in
> a single file. Problem solved.
>
> "No it's not!" will be the cry, "update-grub will overwite my grub.cfg."
> Correct; so use dpkg-divert on /usr/sbin/update-grub and those nasty,
> prettifying files in /etc/default/grub and /etc/grub.d will languish
> unused. The problem is now well and truly solved.

That was _awesome_!

Thank you so much Brian!
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOsGNSQd2M80mrEG=vqtckqvrq3vlb56bt5six+u2ejiwtk...@mail.gmail.com

Reply via email to