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.

Submitted by:  Adam Delman <adamdelman>
Submitted on:  Thu 15 Apr 2010 07:54:04 AM UTC  
Votes:  100  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Adam Delman
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Apr 2010 10:09:25 PM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Thu 15 Apr 2010 07:55:27 AM UTCadamdelmanCarbon-Copy-=>Added adamdelman

    Back to the top


    Powered by Savane 3.1-cleanup1