bugGNU GRUB - Bugs: bug #977, [PATCH] full Linux-LVM support


You are not allowed to post comments on this tracker with your current authentication level.

bug #977: [PATCH] full Linux-LVM support

Submitter:  None
Submitted:  Sun 11 Aug 2002 06:04:31 PM UTC
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Release:  0.92
Reproducibility:  Every Time Planned Release:  None

( Jump to the original submission )

Sat 15 Dec 2007 11:38:29 AM UTC, comment #6: 

We've moved to GRUB 2 as a development platform.  Please can you check if this bug still applies there, and if it does, reopen it?


Robert Millan <robertmh>
Project Administrator
Mon 31 Oct 2005 02:25:31 PM UTC, comment #5: 

Perhaps this patch works: http://debian.jones.dk/hykrion/pool-etch/sid-jones/grub/debian/patches/nic-drivers_updated_to_eb5.3.15.diff

I'd be happy to know about succes or not on this. Drop me an email on the public mailinglist -email is unavailable-

 - Jonas

Jonas Smedegaard <djones>
Sun 24 Apr 2005 10:08:58 PM UTC, comment #4: 


The patch was usable with Suse 9.3 grub-0.95, with a few fairly elemental mods. LVM2 however, is not recognised, I am trying to see if it is simply a flag type thing - some expert help would be appreciated here...;-).

LVM1 Vg's , however, work likes a charm (recognised, listable directories , assignable files, so I assume it will work on boot)

Hope this helps.


Sun 25 Apr 2004 06:31:47 AM UTC, comment #3: 

Does this support lvm2?

Wed 02 Oct 2002 08:24:40 AM UTC, comment #2: 

I have done the (trivial) changes required to make this patch
apply cleanly to version 0.92. I have only tested it with
reiserfs, but that works perfectly.

Thanks for creating the original patch.

Mon 12 Aug 2002 12:00:11 PM UTC, comment #1: 

Nice to see that someone took over this task.
This should enable booting from an mirrored md device holding an lvm root partition (Raid 1).

Question: Did anyone check wether this is possible from an RAID 5 arranged software raid?

Sun 11 Aug 2002 06:04:31 PM UTC, original submission:  

Attached is a diff against grub (sorry, not latest release, I hope this is not a serious problem) which adds full Linux-LVM support to grub. It even supports loading of stage2 from stage1.5 (+4k) and any combination of Volume Groups and Logical Volumes. Snapshot volumes are untested, but should work. LVs are accessed like this:
"root <system:boot>", i.e. <vgname:lvname> - the corresponding block devices are sorted out by the LVM code. Autocompletion works, it is documented in grub.texi, selectable via configure, the ChangeLog was updated - I tried to make it as complete as possible.
One point remains: I copied linalloc_* from gunzip.c and adjusted the memory address, it seems to work but please someone else look at it to make sure it is correct.
(If my estimations are correct, it won't conflict with gunzip.c, but I don't know what lies below that memory area. 256GB total LV space uses ~512k memory currently)



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #71:  grub-lvm.diff added by None (39KiB - text/x-diff - patch for LVM support)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.9