grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != ro


From: Pavel Roskin
Subject: Re: [PATCH] use UUIDs for cross-disk installs (Re: Issue with boot != root and chainloading)
Date: Fri, 25 Jul 2008 21:08:52 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]