grub-devel
[Top][All Lists]
Advanced

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

Re: Boot sector for ext2


From: Grégoire Sutre
Subject: Re: Boot sector for ext2
Date: Mon, 23 May 2011 13:05:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110402 Iceowl/1.0b2 Icedove/3.1.9

On 05/21/2011 09:31 AM, Martin Rosenau wrote:

Background: In a multi-OS-environment it is sometimes not possible
installing GRUB on the MBR (Windows Vista has problems then!)
Installing GRUB on an ext2 partition (instead of on the MBR) often requires
"block lists" which often do not work.

I wrote a boot sector that is capable to search a file on the ext2 partition
by file name (not by inode or block number etc...) and load it. Because the
entire code is quite small it fits into the boot sector and "block lists"
are not required.

I find this very interesting.  The two alternatives that exist currently
(or, at least, that I know of), namely (a) installing in the MBR (+ the
following sectors), or (b) using block-lists, have well-known shortcomings.

With your solution, one could simply write the boot sector in an ext2
partition's boot record, and put GRUB files in the ext2 filesystem.
Whatever is in the MBR would then simply chainload the ext2 partition.
Is this correct?

Grégoire



reply via email to

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