[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Everything and the kitchen sink
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Everything and the kitchen sink |
Date: |
Thu, 14 Feb 2013 16:48:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
On 14.02.2013 16:05, Phillip Susi wrote:
> I recently had an incident that reminded me that while the grub rescue
> shell is better than nothing when there's a problem, it often isn't
> enough to troubleshoot and work around the error. These days most
> disks start the first partition at 1 MiB, so there is no need to keep
> the core.img slim and trim, so it would be really nice to throw all of
> the modules in there, so you can have a fully functional grub to help
> troubleshoot when things go wrong.
>
> Now I realize that I can manually build a ramdisk image to contain all
> modules, and pass that to grub-mkimage, but then as soon as grub is
> updated, and grub-install is re-run automatically, my changes would be
> wiped out.
>
> So I think what needs to happen is for grub-install to grow an
> --everything option where it would build the ramdisk and attach it
> automatically. Additionally there needs to be a conf file or
> something where this could be enabled so that it will be applied when
> grub is updated. It may also be nice to have this enabled by default
> when the embed area is detected to be large enough.
>
> Thoughts?
GRUB diskboot.S runs in real mode. No way it can load more than ~512K
signature.asc
Description: OpenPGP digital signature