grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Remove root drive support


From: Pavel Roskin
Subject: Re: [PATCH] Remove root drive support
Date: Tue, 16 Jun 2009 14:09:38 -0400

On Tue, 2009-06-16 at 12:30 +0200, Vladimir 'phcoder' Serbinenko wrote:

>         I think we could implement partition addressing by a contained
>         filename.
>         As long as GRUB can read the filesystem at all, it should be
>         able to
>         read filenames.
> Otherwise the filesystem needs improvement 

The great thing is that we don't even need the ability to read
directories, so we can support PXE and other very limited filesystems.

>          Then we would specify grub_prefix as
>         
>         (FILE=/boot/grub/FSID)/boot/grub
>         
>         FSID could be a random string or is could be the filesystem
>         UUID as read
>         by the OS.  grub-setup would create such file and hardcode the
>         corresponding grub_prefix into core.img.
> Good idea. Do you want to implement it? 

The kernel side was easy.  The patch is attached.  Actually, I'm not
sure I got the disk ID right.  I copied it from fs_uuid.c, but I need to
recheck it.

We still need the userspace changes.

-- 
Regards,
Pavel Roskin

Attachment: 01-fs_file.patch
Description: Text Data


reply via email to

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