bug-grub
[Top][All Lists]
Advanced

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

[bug #33209] grub-mkconfig does not set root correctly with lvm partitio


From: René Mauricio Chávez Rodríguez
Subject: [bug #33209] grub-mkconfig does not set root correctly with lvm partitions
Date: Mon, 02 May 2011 16:11:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20110402 Firefox/4.0

URL:
  <http://savannah.gnu.org/bugs/?33209>

                 Summary: grub-mkconfig does not set root correctly with lvm
partitions
                 Project: GNU GRUB
            Submitted by: otamay
            Submitted on: lun 02 may 2011 16:11:36 GMT
                Category: Disk &amp; Partition
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

grub-mkconfig search for vmlinuz images in / and /boot directories to make the
entries in grub.cfg . 

When a vmlinuz kernel image is on / lvm partition, GRUB does not verify the
partition where the kernel image is on, and sets the root of /boot partition.

For example, an entry like:

 insmod part_msdos
 insmod ext2
 set root='(hd0,msdos1)'
 search --no-floppy --fs-uuid --set=root 8d488250-7be3-4db5-990d-5b7affdabb6f
 echo    'Loading Linux 2.6.38.4 ...'
 linux   /vmlinuz-2.6.38.4

Should be like:

 insmod lvm
 insmod part_msdos
 insmod ext2
 set root='(vgentoo-root)'
 search --no-floppy --fs-uuid --set=root 6a7250b9-e143-467b-95ba-5a05ec693335
 echo    'Loading Linux 2.6.38.4 ...'
 linux   /vmlinuz-2.6.38.4

Where module lvm should be inserted, and root var and partition UUID should be
changed.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33209>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

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