On Sat, 2008-07-26 at 00:10 +0200, Robert Millan wrote: > See attached patch. I'm afraid it doesn't make kernel smaller as promised; > I expected to get rid of make_install_device() in kernel, but later noticed > that this is still needed for non-cross installs.
I like your patch. We should try to move more logic to scripts. As for single drive installs, we could also encode the prefix in the text form, like "(hd0,5)/boot/grub" and obsolete the numerical partition data. That would make make_install_device() unnecessary. The only problem is that we should avoid hardcoding the drive. We need a notation for partitions on the boot or the current drive, perhaps by removing the drive name e.g. "(,5)/boot/grub" We could also use UUID for single-drive installs and fallback to the partition prefix only if UUID is unsupported or the user requests not to use UUID. Then it won't be a big deal if we hardcode the drive. -- Regards, Pavel Roskin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel