bugGNU GRUB - Bugs: bug #29556, Grub does not pass the first...

 
 

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

bug #29556: Grub does not pass the first argument to the linux kernel when using the module command.

Submitter:  Adam Delman <adamdelman>
Submitted:  Thu 15 Apr 2010 07:54:04 AM UTC
Votes: 100
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name:  Adam Delman
Open/Closed:  Closed Release:  1.97
Release:  Reproducibility:  Every Time
Planned Release:  None

Sat 17 Apr 2010 12:52:54 AM UTC, comment #2: 

As per Vladimir's comment, I am attaching the link that explains this issue:


[multiboot] command-line format:
================================
http://lists.gnu.org/archive/html/grub-devel/2010-01/msg00182.html

Adam Delman <adamdelman>
Fri 16 Apr 2010 10:09:25 PM UTC, comment #1: 

This was done on purpose. Please consult the mailing list

Vladimir Serbinenko <phcoder>
Group administrator
Thu 15 Apr 2010 07:54:04 AM UTC, original submission:  

When using the module command, for example when booting a Xen kernel, the first argument is not being passed to the kernel.

For example, the following configuration does not work:

menuentry "Xen 3.4 / 2.6.31.12 Xenified" {
insmod ext2
set root=(hd0,5)
multiboot(hd0,5)/boot/xen-3.4.gz
module (hd0,5)/boot/vmlinuz-2.6.31.12 root=/dev/cciss/c0d0p5
module (hd0,5)/boot/initrd-2.6.31.12.img

The root argument does get passed to the kernel, resulting in the system not booting. If a dummy argument is added before the root argument, everything works OK:

menuentry "Xen 3.4 / 2.6.31.12 Xenified" {
insmod ext2
set root=(hd0,5)
multiboot(hd0,5)/boot/xen-3.4.gz
module (hd0,5)/boot/vmlinuz-2.6.31.12 dummy=dummy root=/dev/cciss/c0d0p5
module (hd0,5)/boot/initrd-2.6.31.12.img

Adam Delman <adamdelman>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by adamdelman (Voted in favor of this item)
  • -email is unavailable- added by adamdelman (Submitted the item)
  •  

    There are 100 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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-16 phcoder StatusNone Invalid
        Open/ClosedOpen Closed
    2010-04-15 adamdelman Carbon-Copy- Added adamdelman

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code