bug-grub
[Top][All Lists]
Advanced

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

Re: patching grub-0.92 with lvm-diff fails (ref. Bug report #977)


From: Jörg Walter
Subject: Re: patching grub-0.92 with lvm-diff fails (ref. Bug report #977)
Date: Wed, 6 Nov 2002 13:26:27 +0100
User-agent: KMail/1.4.3

On Wednesday 06 November 2002 12:59, you wrote:

> As others, too, I would like to have /boot reside in lvm as well.
> The order of lvols on disk (/boot, swap, / --- all contiguous)
> would be just fine with me. However, I prefer grub over lilo.

My grub patch does not need any alignment or layout of your lv's - the only 
requirement is that the blocks to be loaded must be accessible. (So part of 
your /boot lv may even be on a non-BIOS disk, above cyl. 1024 for old BIOSes, 
or above 128GB for current BIOSes)


> Unfortunately the posting does not mention the exact version
> of grub it was applied to. However, the diff mentions "grub-0.92"
> in the file names, e.g.:

Unfortunately, I don't know exactly either. I took the Gentoo ebuild which 
applies several of the patches floating around on the net. I can supply a 
readily patched source package, if you like - drop me a line.

Moreover, the patch has two bugs, one of which I fixed in my version at home. 
The first one is that it crashes with large disks - the patch on savannah 
uses too much memory for larger VGs (4GB works, 40GB doesn't, I have no 
figures in between). The other bug is that embedding in a filesystem header 
on a LV doesn't work, probably due to the Linux block device problem (writing 
to the disk device doesn't update the partition devices, or in this case, the 
lv devices). The only solution for now is to have track 1 free (usually the 
case when having DOS in parallel) or use a grub disk.

When I get around to fix the other bug, I will supply a new patch against 
stock CVS sources.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94





reply via email to

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